Skip to content

Commit dadceed

Browse files
committed
Improve documentation.
1 parent 374179f commit dadceed

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

td/generate/scheme/td_api.tl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9730,8 +9730,8 @@ getDirectMessagesChatTopic chat_id:int53 topic_id:int53 = DirectMessagesChatTopi
97309730
//@chat_id Chat identifier of the channel direct messages chat
97319731
//@topic_id Identifier of the topic which messages will be fetched
97329732
//@from_message_id Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message
9733-
//@offset Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages
9734-
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.
9733+
//@offset Specify 0 to get results from exactly the message from_message_id or a negative number from -99 to -1 to get additionally -offset newer messages
9734+
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, then the limit must be greater than or equal to -offset.
97359735
//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
97369736
getDirectMessagesChatTopicHistory chat_id:int53 topic_id:int53 from_message_id:int53 offset:int32 limit:int32 = Messages;
97379737

@@ -9795,8 +9795,8 @@ loadSavedMessagesTopics limit:int32 = Ok;
97959795
//@description Returns messages in a Saved Messages topic. The messages are returned in reverse chronological order (i.e., in order of decreasing message_id)
97969796
//@saved_messages_topic_id Identifier of Saved Messages topic which messages will be fetched
97979797
//@from_message_id Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message
9798-
//@offset Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages
9799-
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.
9798+
//@offset Specify 0 to get results from exactly the message from_message_id or a negative number from -99 to -1 to get additionally -offset newer messages
9799+
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, then the limit must be greater than or equal to -offset.
98009800
//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
98019801
getSavedMessagesTopicHistory saved_messages_topic_id:int53 from_message_id:int53 offset:int32 limit:int32 = Messages;
98029802

@@ -9834,8 +9834,8 @@ getGroupsInCommon user_id:int53 offset_chat_id:int53 limit:int32 = Chats;
98349834
//-For optimal performance, the number of returned messages is chosen by TDLib. This is an offline method if only_local is true
98359835
//@chat_id Chat identifier
98369836
//@from_message_id Identifier of the message starting from which history must be fetched; use 0 to get results from the last message
9837-
//@offset Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages
9838-
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.
9837+
//@offset Specify 0 to get results from exactly the message from_message_id or a negative number from -99 to -1 to get additionally -offset newer messages
9838+
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, then the limit must be greater than or equal to -offset.
98399839
//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
98409840
//@only_local Pass true to get only messages that are available without sending network requests
98419841
getChatHistory chat_id:int53 from_message_id:int53 offset:int32 limit:int32 only_local:Bool = Messages;
@@ -9845,8 +9845,8 @@ getChatHistory chat_id:int53 from_message_id:int53 offset:int32 limit:int32 only
98459845
//@chat_id Chat identifier
98469846
//@message_id Message identifier, which thread history needs to be returned
98479847
//@from_message_id Identifier of the message starting from which history must be fetched; use 0 to get results from the last message
9848-
//@offset Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages
9849-
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.
9848+
//@offset Specify 0 to get results from exactly the message from_message_id or a negative number from -99 to -1 to get additionally -offset newer messages
9849+
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, then the limit must be greater than or equal to -offset.
98509850
//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
98519851
getMessageThreadHistory chat_id:int53 message_id:int53 from_message_id:int53 offset:int32 limit:int32 = Messages;
98529852

@@ -9869,8 +9869,8 @@ deleteChat chat_id:int53 = Ok;
98699869
//@query Query to search for
98709870
//@sender_id Identifier of the sender of messages to search for; pass null to search for messages from any sender. Not supported in secret chats
98719871
//@from_message_id Identifier of the message starting from which history must be fetched; use 0 to get results from the last message
9872-
//@offset Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages
9873-
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.
9872+
//@offset Specify 0 to get results from exactly the message from_message_id or a negative number to get the specified message and some newer messages
9873+
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, then the limit must be greater than -offset.
98749874
//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
98759875
//@filter Additional filter for messages to search; pass null to search for all messages
98769876
searchChatMessages chat_id:int53 topic_id:MessageTopic query:string sender_id:MessageSender from_message_id:int53 offset:int32 limit:int32 filter:SearchMessagesFilter = FoundChatMessages;
@@ -9902,8 +9902,8 @@ searchSecretMessages chat_id:int53 query:string offset:string limit:int32 filter
99029902
//@tag Tag to search for; pass null to return all suitable messages
99039903
//@query Query to search for
99049904
//@from_message_id Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message
9905-
//@offset Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages
9906-
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.
9905+
//@offset Specify 0 to get results from exactly the message from_message_id or a negative number to get the specified message and some newer messages
9906+
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, then the limit must be greater than -offset.
99079907
//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
99089908
searchSavedMessages saved_messages_topic_id:int53 tag:ReactionType query:string from_message_id:int53 offset:int32 limit:int32 = FoundChatMessages;
99099909

0 commit comments

Comments
 (0)