Method: users.threads.untrash
ট্র্যাশ থেকে নির্দিষ্ট থ্রেড সরিয়ে দেয়। থ্রেডের সাথে সম্পর্কিত যেকোন বার্তাগুলিও ট্র্যাশ থেকে মুছে ফেলা হয়৷
HTTP অনুরোধ
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/threads/{id}/untrash
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
userId | string ব্যবহারকারীর ইমেইল ঠিকানা. বিশেষ মান me প্রমাণীকৃত ব্যবহারকারী নির্দেশ করতে ব্যবহার করা যেতে পারে। |
id | string ট্র্যাশ থেকে সরানোর জন্য থ্রেডের আইডি। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Thread
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://mail.google.com/
-
https://www.googleapis.com/auth/gmail.modify
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-09-05 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-09-05 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Removes a specified thread and its associated messages from the trash."],["Requires the user's email address (`userId`) and the thread ID (`id`) as path parameters."],["Uses an empty request body and returns a `Thread` object upon successful completion."],["Needs authorization with specific OAuth scopes like `https://mail.google.com/` or `https://www.googleapis.com/auth/gmail.modify`."]]],["This document outlines the process of removing a thread from the trash in Gmail. The core action is an HTTP POST request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/threads/{id}/untrash`. Key information includes: `userId` and `id` as path parameters, where `me` represents the authenticated user and `id` is the thread ID. The request body must be empty. A successful operation returns a `Thread` object in the response body. It requires specific OAuth scopes for authorization, such as `https://mail.google.com/`.\n"]]