Skip to content

Commit f22e180

Browse files
committed
Improve documentation.
1 parent 6913c56 commit f22e180

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

td/generate/scheme/td_api.tl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11205,7 +11205,7 @@ setChatDirectMessagesGroup chat_id:int53 is_enabled:Bool paid_message_star_count
1120511205
//@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
1120611206
setChatLocation chat_id:int53 location:chatLocation = Ok;
1120711207

11208-
//@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
1120911209
setChatSlowModeDelay chat_id:int53 slow_mode_delay:int32 = Ok;
1121011210

1121111211
//@description Pins a message in a chat. A message can be pinned only if messageProperties.can_be_pinned
@@ -11344,11 +11344,11 @@ getStory story_poster_chat_id:int53 story_id:int32 only_local:Bool = Story;
1134411344
//@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
1134511345
getChatsToPostStories = Chats;
1134611346

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
1134811348
//@chat_id Chat identifier. Pass Saved Messages chat identifier when posting a story on behalf of the current user
1134911349
canPostStory chat_id:int53 = CanPostStoryResult;
1135011350

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
1135211352
//@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
1135311353
//@content Content of the story
1135411354
//@areas Clickable rectangle areas to be shown on the story media; pass null if none
@@ -11412,15 +11412,15 @@ getChatActiveStories chat_id:int53 = ChatActiveStories;
1141211412
//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit
1141311413
getChatPostedToChatPageStories chat_id:int53 from_story_id:int32 limit:int32 = Stories;
1141411414

11415-
//@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.
1141611416
//-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
1141711417
//@chat_id Chat identifier
1141811418
//@from_story_id Identifier of the story starting from which stories must be returned; use 0 to get results from the last story
1141911419
//@limit The maximum number of stories to be returned.
1142011420
//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit
1142111421
getChatArchivedStories chat_id:int53 from_story_id:int32 limit:int32 = Stories;
1142211422

11423-
//@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
1142411424
//@chat_id Identifier of the chat that posted the stories
1142511425
//@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
1142611426
setChatPinnedStories chat_id:int53 story_ids:vector<int32> = Ok;

0 commit comments

Comments
 (0)