[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["Firebase.AI.ModelContent.TextPart\n\nA text part containing a string value.\n\nSummary\n\nInheritanceInherits from: [Firebase.AI.ModelContent.Part](/docs/reference/unity/interface/firebase/a-i/model-content/part)\n\n| Constructors and Destructors ||\n|---|---|\n| [TextPart](#struct_firebase_1_1_a_i_1_1_model_content_1_1_text_part_1a983d40e956cb7e579b241ed1f3b9d003)`(string text)` Creates a [TextPart](/docs/reference/unity/struct/firebase/a-i/model-content/text-part#struct_firebase_1_1_a_i_1_1_model_content_1_1_text_part) with the given text. ||\n\n| Properties ||\n|----------------------------------------------------------------------------------------------------------|----------------------|\n| [IsThought](#struct_firebase_1_1_a_i_1_1_model_content_1_1_text_part_1ac44382588379d7269386d34efe0864c0) | `bool` |\n| [Text](#struct_firebase_1_1_a_i_1_1_model_content_1_1_text_part_1a55ebcd8aba25c4c352db358eac1d7add) | `string` Text value. |\n\n| Public functions ||\n|-----------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [ToJson](#struct_firebase_1_1_a_i_1_1_model_content_1_1_text_part_1a08f6d39ab1eb93c9c4c295342b20de2c)`()` | `Dictionary\u003c string, object \u003e Part.` |\n\nProperties \n\nIsThought \n\n```c#\nbool Firebase::AI::ModelContent::TextPart::IsThought\n``` \n\nText \n\n```c#\nstring Firebase::AI::ModelContent::TextPart::Text\n``` \nText value.\n\nPublic functions \n\nTextPart \n\n```c#\n Firebase::AI::ModelContent::TextPart::TextPart(\n string text\n)\n``` \nCreates a [TextPart](/docs/reference/unity/struct/firebase/a-i/model-content/text-part#struct_firebase_1_1_a_i_1_1_model_content_1_1_text_part) with the given text.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------|\n| Parameters | |--------|------------------------| | `text` | The text value to use. | |\n\nToJson \n\n```c#\nDictionary\u003c string, object \u003e Part. Firebase::AI::ModelContent::TextPart::ToJson()\n```"]]