You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//@description Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.can_set_location to check whether the method is allowed to use @chat_id Chat identifier @location New location for the chat; must be valid and not null
//@description Changes the slow mode delay of a chat. Available only for supergroups; requires can_restrict_members right @chat_id Chat identifier @slow_mode_delay New slow mode delay for the chat, in seconds; must be one of 0, 10, 30, 60, 300, 900, 3600
11208
+
//@description Changes the slow mode delay of a chat. Available only for supergroups; requires can_restrict_members administrator right @chat_id Chat identifier @slow_mode_delay New slow mode delay for the chat, in seconds; must be one of 0, 10, 30, 60, 300, 900, 3600
//@description Returns supergroup and channel chats in which the current user has the right to post stories. The chats must be rechecked with canPostStory before actually trying to post a story there
11345
11345
getChatsToPostStories = Chats;
11346
11346
11347
-
//@description Checks whether the current user can post a story on behalf of a chat; requires can_post_stories right for supergroup and channel chats
11347
+
//@description Checks whether the current user can post a story on behalf of a chat; requires can_post_stories administrator right for supergroup and channel chats
11348
11348
//@chat_id Chat identifier. Pass Saved Messages chat identifier when posting a story on behalf of the current user
11349
11349
canPostStory chat_id:int53 = CanPostStoryResult;
11350
11350
11351
-
//@description Posts a new story on behalf of a chat; requires can_post_stories right for supergroup and channel chats. Returns a temporary story
11351
+
//@description Posts a new story on behalf of a chat; requires can_post_stories administrator right for supergroup and channel chats. Returns a temporary story
11352
11352
//@chat_id Identifier of the chat that will post the story. Pass Saved Messages chat identifier when posting a story on behalf of the current user
11353
11353
//@content Content of the story
11354
11354
//@areas Clickable rectangle areas to be shown on the story media; pass null if none
//@description Returns the list of all stories posted by the given chat; requires can_edit_stories right in the chat.
11415
+
//@description Returns the list of all stories posted by the given chat; requires can_edit_stories administrator right in the chat.
11416
11416
//-The stories are returned in reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib
11417
11417
//@chat_id Chat identifier
11418
11418
//@from_story_id Identifier of the story starting from which stories must be returned; use 0 to get results from the last story
11419
11419
//@limit The maximum number of stories to be returned.
11420
11420
//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit
//@description Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat
11423
+
//@description Changes the list of pinned stories on a chat page; requires can_edit_stories administrator right in the chat
11424
11424
//@chat_id Identifier of the chat that posted the stories
11425
11425
//@story_ids New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page
0 commit comments