TextModuleData
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পাঠ্য মডিউলের জন্য ডেটা। সব ক্ষেত্র ঐচ্ছিক. যদি উপলব্ধ থাকে শিরোলেখ প্রদর্শিত হবে, বিভিন্ন ধরনের দেহ সংজ্ঞায়িত করা হবে যদি সেগুলি সংজ্ঞায়িত করা হয়।
JSON প্রতিনিধিত্ব |
---|
{
"header": string,
"body": string,
"localizedHeader": {
object (LocalizedString )
},
"localizedBody": {
object (LocalizedString )
},
"id": string
} |
ক্ষেত্র |
---|
body | string টেক্সট মডিউলের মূল অংশ, যা একটি নিরবচ্ছিন্ন স্ট্রিং হিসাবে সংজ্ঞায়িত করা হয়। ছোট পর্দায় সম্পূর্ণ স্ট্রিং প্রদর্শিত হয় তা নিশ্চিত করতে প্রস্তাবিত সর্বাধিক দৈর্ঘ্য 500 অক্ষর। |
localizedBody | object ( LocalizedString ) শরীরের জন্য অনুবাদিত স্ট্রিং. ছোট পর্দায় সম্পূর্ণ স্ট্রিং প্রদর্শিত হয় তা নিশ্চিত করতে প্রস্তাবিত সর্বাধিক দৈর্ঘ্য 500 অক্ষর। |
id | string একটি পাঠ্য মডিউলের সাথে যুক্ত আইডি। এই ক্ষেত্রটি এখানে পাঠ্য মডিউলগুলির পরিচালনা এবং টেমপ্লেট ওভাররাইডগুলিতে তাদের উল্লেখ করার সহজে সক্ষম করতে। আইডিতে শুধুমাত্র আলফানিউমেরিক অক্ষর, '_' বা '-' অন্তর্ভুক্ত করা উচিত। এটি বিন্দু অন্তর্ভুক্ত করতে পারে না, কারণ টেমপ্লেট ওভাররাইডে FieldReference.fieldPaths-এর মধ্যে ক্ষেত্রগুলিকে আলাদা করতে বিন্দুগুলি ব্যবহার করা হয়। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eText modules consist of a header and body, with optional localized versions for each.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eheader\u003c/code\u003e and \u003ccode\u003ebody\u003c/code\u003e fields are strings with recommended maximum lengths for display purposes.\u003c/p\u003e\n"],["\u003cp\u003eLocalized content can be provided using the \u003ccode\u003elocalizedHeader\u003c/code\u003e and \u003ccode\u003elocalizedBody\u003c/code\u003e fields, which accept LocalizedString objects.\u003c/p\u003e\n"],["\u003cp\u003eEach text module can have a unique \u003ccode\u003eid\u003c/code\u003e for management and referencing within templates, using only alphanumeric characters, '_', or '-'.\u003c/p\u003e\n"]]],["The provided data defines the structure of a Text module using a JSON format. Key fields include `header`, `body`, `localizedHeader`, `localizedBody`, and `id`, all optional. Headers and bodies can be defined as strings or localized objects with recommended maximum lengths of 35 and 500 characters, respectively. The `id` field, for management, must be alphanumeric, using '_' or '-' and not '.'. Different body types will be combined, if provided.\n"],null,["# TextModuleData\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nData for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"header\": string, \"body\": string, \"localizedHeader\": { object (/wallet/reference/rest/v1/LocalizedString) }, \"localizedBody\": { object (/wallet/reference/rest/v1/LocalizedString) }, \"id\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `header` | `string` The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |\n| `body` | `string` The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |\n| `localizedHeader` | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens. |\n| `localizedBody` | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens. |\n| `id` | `string` The ID associated with a text module. This field is here to enable ease of management of text modules and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides. |"]]