REST Resource: users.messages.attachments
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: মেসেজপার্টবডি
একটি একক MIME বার্তা অংশের মূল অংশ৷
JSON প্রতিনিধিত্ব |
---|
{
"attachmentId": string,
"size": integer,
"data": string
} |
ক্ষেত্র |
---|
attachmentId | string উপস্থিত হলে, একটি বাহ্যিক সংযুক্তির আইডি রয়েছে যা একটি পৃথক messages.attachments.get অনুরোধে পুনরুদ্ধার করা যেতে পারে। উপস্থিত না হলে, বার্তার অংশের অংশের সম্পূর্ণ বিষয়বস্তু ডেটা ক্ষেত্রের মধ্যে থাকে। |
size | integer বার্তা অংশের ডেটার জন্য বাইটের সংখ্যা (এনকোডিং সত্ত্বেও)। |
data | string ( bytes format) বেস64url এনকোডেড স্ট্রিং হিসাবে একটি MIME বার্তা অংশের বডি ডেটা৷ MIME কন্টেইনার প্রকারের জন্য খালি হতে পারে যেগুলির কোনও বার্তার বডি নেই বা যখন বডি ডেটা আলাদা সংযুক্তি হিসাবে পাঠানো হয়৷ একটি সংযুক্তি আইডি উপস্থিত থাকে যদি শরীরের ডেটা একটি পৃথক সংযুক্তিতে থাকে৷ একটি base64-এনকোডেড স্ট্রিং। |
পদ্ধতি |
---|
| নির্দিষ্ট বার্তা সংযুক্তি পায়. |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# REST Resource: users.messages.attachments\n\n- [Resource: MessagePartBody](#MessagePartBody)\n - [JSON representation](#MessagePartBody.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: MessagePartBody\n-------------------------\n\nThe body of a single MIME message part.\n\n| JSON representation |\n|---------------------------------------------------------------------|\n| ``` { \"attachmentId\": string, \"size\": integer, \"data\": string } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `attachmentId` | `string` When present, contains the ID of an external attachment that can be retrieved in a separate `messages.attachments.get` request. When not present, the entire content of the message part body is contained in the data field. |\n| `size` | `integer` Number of bytes for the message part data (encoding notwithstanding). |\n| `data` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment. A base64-encoded string. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------|----------------------------------------|\n| ### [get](/workspace/gmail/api/reference/rest/v1/users.messages.attachments/get) | Gets the specified message attachment. |"]]