Method: users.spaces.threads.getThreadReadState
HTTP অনুরোধ
GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/threads/*/threadReadState}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। পুনরুদ্ধার করার জন্য থ্রেডের রিড স্টেট রিসোর্স নাম। শুধুমাত্র কলিং ব্যবহারকারীর জন্য রিড স্টেট পাওয়া সমর্থন করে। কলিং ব্যবহারকারীকে উল্লেখ করতে, নিম্নলিখিতগুলির মধ্যে একটি সেট করুন: me উপনাম. উদাহরণস্বরূপ, users/me/spaces/{space}/threads/{thread}/threadReadState তাদের ওয়ার্কস্পেস ইমেল ঠিকানা। উদাহরণস্বরূপ, users/user@example.com/spaces/{space}/threads/{thread}/threadReadState । তাদের ইউজার আইডি। উদাহরণস্বরূপ, users/123456789/spaces/{space}/threads/{thread}/threadReadState
বিন্যাস: ব্যবহারকারী/{ব্যবহারকারী}/স্পেস/{স্পেস}/থ্রেড/{thread}/threadReadState |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে ThreadReadState
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/chat.users.readstate
-
https://www.googleapis.com/auth/chat.users.readstate.readonly
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Retrieves a user's read state within a specific thread, indicating read and unread messages."],["Requires user authentication and uses a specific HTTP GET request format with path parameters."],["The request body should be empty, while a successful response includes a `ThreadReadState` object."],["Authorisation is necessary, using specific OAuth scopes related to read state permissions."]]],["This describes retrieving a user's read state within a specific thread. To do so, send a `GET` HTTP request to a URL constructed with user, space, and thread identifiers, using either the `me` alias, their email, or ID. The request body must be empty. Successful requests return a `ThreadReadState` object, and requests require authorization via OAuth scopes, such as `chat.users.readstate`. The user must be authenticated to access this resource.\n"]]