public static final class TdApi.AddApplicationChangelog
+extends TdApi.Function<TdApi.Ok>
+
Adds server-provided application
+ changelog as messages to the chat
+ 777000 (Telegram); for official
+ applications only. Returns a 404 error
+ if nothing changed.
+ Returns Ok
Adds server-provided application
+ changelog as messages to the chat
+ 777000 (Telegram); for official
+ applications only. Returns a 404 error
+ if nothing changed.
+ Returns Ok
Adds server-provided application
+ changelog as messages to the chat
+ 777000 (Telegram); for official
+ applications only. Returns a 404 error
+ if nothing changed.
+ Returns Ok
+
+
Parameters:
+
previousApplicationVersion - String The previous application version.
Adds server-provided application
+ changelog as messages to the chat
+ 777000 (Telegram); for official
+ applications only. Returns a 404 error
+ if nothing changed.
+ Returns Ok
The chosen icon name for short filter
- representation. If non-empty, must be
- one of "All", "Unread",
- "Unmuted", "Bots",
- "Channels", "Groups",
- "Private", "Custom",
- "Setup", "Cat",
- "Crown", "Favorite",
- "Flower", "Game",
- "Home", "Love",
- "Mask", "Party",
- "Sport", "Study",
- "Trade", "Travel",
- "Work", "Airplane",
- "Book", "Light",
- "Like", "Money",
- "Note", "Palette".
- If empty, use getChatFilterDefaultIconName
- to get default icon name for the filter.
The chat identifiers of pinned chats
- in the filtered chat list. There can
- be up to
- GetOption("chat_filter_chosen_chat_count_max")
+ in the folder. There can be up to
+ getOption("chat_folder_chosen_chat_count_max")
pinned and always included non-secret
chats and the same number of secret
chats, but the limit can be increased
@@ -313,9 +312,8 @@ loadScripts(document, 'script');
includedChatIds
publiclong[]includedChatIds
The chat identifiers of always included
- chats in the filtered chat list. There
- can be up to
- GetOption("chat_filter_chosen_chat_count_max")
+ chats in the folder. There can be up
+ to getOption("chat_folder_chosen_chat_count_max")
pinned and always included non-secret
chats and the same number of secret
chats, but the limit can be increased
@@ -327,9 +325,8 @@ loadScripts(document, 'script');
excludedChatIds
publiclong[]excludedChatIds
The chat identifiers of always excluded
- chats in the filtered chat list. There
- can be up to
- GetOption("chat_filter_chosen_chat_count_max")
+ chats in the folder. There can be up
+ to getOption("chat_folder_chosen_chat_count_max")
always excluded non-secret chats and
the same number of secret chats, but
the limit can be increased with Telegram Premium.
title - String The title of the filter; 1-12 characters
+
title - String The title of the folder; 1-12 characters
without line feeds.
-
iconName - String The chosen icon name for short filter
- representation. If non-empty, must be
- one of "All", "Unread",
- "Unmuted", "Bots",
- "Channels", "Groups",
- "Private", "Custom",
- "Setup", "Cat",
- "Crown", "Favorite",
- "Flower", "Game",
- "Home", "Love",
- "Mask", "Party",
- "Sport", "Study",
- "Trade", "Travel",
- "Work", "Airplane",
- "Book", "Light",
- "Like", "Money",
- "Note", "Palette".
- If empty, use getChatFilterDefaultIconName
- to get default icon name for the filter.
+
icon - ChatFolderIcon The chosen icon for the chat folder;
+ may be null. If null, use
+ getChatFolderDefaultIconName to get
+ default icon name for the folder.
+
isShareable - boolean True, if at least one link has been
+ created for the folder.
pinnedChatIds - long[] The chat identifiers of pinned chats
- in the filtered chat list. There can
- be up to
- GetOption("chat_filter_chosen_chat_count_max")
+ in the folder. There can be up to
+ getOption("chat_folder_chosen_chat_count_max")
pinned and always included non-secret
chats and the same number of secret
chats, but the limit can be increased
with Telegram Premium.
includedChatIds - long[] The chat identifiers of always included
- chats in the filtered chat list. There
- can be up to
- GetOption("chat_filter_chosen_chat_count_max")
+ chats in the folder. There can be up
+ to getOption("chat_folder_chosen_chat_count_max")
pinned and always included non-secret
chats and the same number of secret
chats, but the limit can be increased
with Telegram Premium.
excludedChatIds - long[] The chat identifiers of always excluded
- chats in the filtered chat list. There
- can be up to
- GetOption("chat_filter_chosen_chat_count_max")
+ chats in the folder. There can be up
+ to getOption("chat_folder_chosen_chat_count_max")
always excluded non-secret chats and
the same number of secret chats, but
the limit can be increased with Telegram Premium.
Contains information about an invite
+ link to a chat folder.
+
+
Parameters:
+
chatFolderInfo - ChatFolderInfo Basic information about the chat
+ folder; chat folder identifier will
+ be 0 if the user didn't have the
+ chat folder yet.
+
missingChatIds - long[] Identifiers of the chats from the
+ link, which aren't added to the folder yet.
+
addedChatIds - long[] Identifiers of the chats from the
+ link, which are added to the folder already.
public static final class TdApi.ChatPhotoSticker
+extends TdApi.Object
+
Information about the sticker, which
+ was used to create the chat photo.
+ The sticker is shown at the center of
+ the photo and occupies at most 67% of it.
Information about the sticker, which
+ was used to create the chat photo.
+ The sticker is shown at the center of
+ the photo and occupies at most 67% of it.
Information about the sticker, which
+ was used to create the chat photo.
+ The sticker is shown at the center of
+ the photo and occupies at most 67% of it.
+
+
Parameters:
+
type - ChatPhotoStickerType Type of the sticker.
+
backgroundFill - BackgroundFill The fill to be used as background for
+ the sticker; rotation angle in
+ backgroundFillGradient isn't supported.
Information about the sticker, which
+ was used to create the chat photo.
+ The sticker is shown at the center of
+ the photo and occupies at most 67% of it.
Checks the validity of an invite link
+ for a chat folder and returns information
+ about the corresponding chat folder.
+ Returns ChatFolderInviteLinkInfo
Checks the validity of an invite link
+ for a chat folder and returns information
+ about the corresponding chat folder.
+ Returns ChatFolderInviteLinkInfo
Checks the validity of an invite link
+ for a chat folder and returns information
+ about the corresponding chat folder.
+ Returns ChatFolderInviteLinkInfo
Checks the validity of an invite link
+ for a chat folder and returns information
+ about the corresponding chat folder.
+ Returns ChatFolderInviteLinkInfo
public static final class TdApi.ClearAutosaveSettingsExceptions
+extends TdApi.Function<TdApi.Ok>
+
Clears the list of all autosave settings
+ exceptions. The method is guaranteed
+ to work only after at least one call to getAutosaveSettings.
+ Returns Ok
Clears the list of all autosave settings
+ exceptions. The method is guaranteed
+ to work only after at least one call to getAutosaveSettings.
+ Returns Ok
Clears the list of all autosave settings
+ exceptions. The method is guaranteed
+ to work only after at least one call to getAutosaveSettings.
+ Returns Ok
Creates new chat folder. Returns
information about the created chat
- filter. There can be up to
- GetOption("chat_filter_count_max")
- chat filters, but the limit can be
+ folder. There can be up to
+ getOption("chat_folder_count_max")
+ chat folders, but the limit can be
increased with Telegram Premium.
- Returns ChatFilterInfo
Creates new chat folder. Returns
information about the created chat
- filter. There can be up to
- GetOption("chat_filter_count_max")
- chat filters, but the limit can be
+ folder. There can be up to
+ getOption("chat_folder_count_max")
+ chat folders, but the limit can be
increased with Telegram Premium.
- Returns ChatFilterInfo
Creates new chat folder. Returns
information about the created chat
- filter. There can be up to
- GetOption("chat_filter_count_max")
- chat filters, but the limit can be
+ folder. There can be up to
+ getOption("chat_folder_count_max")
+ chat folders, but the limit can be
increased with Telegram Premium.
- Returns ChatFilterInfo
Creates new chat folder. Returns
information about the created chat
- filter. There can be up to
- GetOption("chat_filter_count_max")
- chat filters, but the limit can be
+ folder. There can be up to
+ getOption("chat_folder_count_max")
+ chat folders, but the limit can be
increased with Telegram Premium.
- Returns ChatFilterInfo
Creates a new invite link for a chat
+ folder. A link can be created for a
+ chat folder if it has only pinned and included chats.
+ Returns ChatFolderInviteLink
Identifiers of chats to be accessible
+ by the invite link. Use
+ getChatsForChatFolderInviteLink to
+ get suitable chats. Basic groups will
+ be automatically converted to supergroups
+ before link creation.
Creates a new invite link for a chat
+ folder. A link can be created for a
+ chat folder if it has only pinned and included chats.
+ Returns ChatFolderInviteLink
Creates a new invite link for a chat
+ folder. A link can be created for a
+ chat folder if it has only pinned and included chats.
+ Returns ChatFolderInviteLink
+
+
Parameters:
+
chatFolderId - int Chat folder identifier.
+
name - String Name of the link; 0-32 characters.
+
chatIds - long[] Identifiers of chats to be accessible
+ by the invite link. Use
+ getChatsForChatFolderInviteLink to
+ get suitable chats. Basic groups will
+ be automatically converted to supergroups
+ before link creation.
Creates a new invite link for a chat
+ folder. A link can be created for a
+ chat folder if it has only pinned and included chats.
+ Returns ChatFolderInviteLink
New identifiers of chats to be accessible
+ by the invite link. Use
+ getChatsForChatFolderInviteLink to
+ get suitable chats. Basic groups will
+ be automatically converted to supergroups
+ before link editing.
name - String New name of the link; 0-32 characters.
+
chatIds - long[] New identifiers of chats to be accessible
+ by the invite link. Use
+ getChatsForChatFolderInviteLink to
+ get suitable chats. Basic groups will
+ be automatically converted to supergroups
+ before link editing.
Email address can be reset after the
+ given period. Call resetAuthenticationEmailAddress
+ to reset it and allow the user to
+ authorize with a code sent to the
+ user's phone number.
Email address can be reset after the
+ given period. Call resetAuthenticationEmailAddress
+ to reset it and allow the user to
+ authorize with a code sent to the
+ user's phone number.
Email address can be reset after the
+ given period. Call resetAuthenticationEmailAddress
+ to reset it and allow the user to
+ authorize with a code sent to the
+ user's phone number.
+
+
Parameters:
+
waitPeriod - int Time required to wait before the email
+ address can be reset; 0 if the user
+ is subscribed to Telegram Premium.
Email address can be reset after the
+ given period. Call resetAuthenticationEmailAddress
+ to reset it and allow the user to
+ authorize with a code sent to the
+ user's phone number.
True, if the user must be asked for
+ the permission to the bot to send them messages.
+
+
+
+
+
skipConfirmation
+
publicbooleanskipConfirmation
+
True, if there is no need to show an
+ ordinary open URL confirmation before
+ opening the Web App. The field must
+ be ignored and confirmation must be
+ shown anyway if the Web App link was hidden.
Contains information about a Web App
+ found by its short name.
+
+
Parameters:
+
webApp - WebApp The Web App.
+
requestWriteAccess - boolean True, if the user must be asked for
+ the permission to the bot to send them messages.
+
skipConfirmation - boolean True, if there is no need to show an
+ ordinary open URL confirmation before
+ opening the Web App. The field must
+ be ignored and confirmation must be
+ shown anyway if the Web App link was hidden.
Returns the text shown in the chat
+ with a bot if the chat is empty in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
Returns the text shown in the chat
+ with a bot if the chat is empty in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
Returns the text shown in the chat
+ with a bot if the chat is empty in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
+
+
Parameters:
+
botUserId - long Identifier of the target bot.
+
languageCode - String A two-letter ISO 639-1 language code
+ or an empty string.
Returns the text shown in the chat
+ with a bot if the chat is empty in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
Returns the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
Returns the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
Returns the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
+
+
Parameters:
+
botUserId - long Identifier of the target bot.
+
languageCode - String A two-letter ISO 639-1 language code
+ or an empty string.
Returns the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot in
+ the given language. Can be called only
+ if userTypeBot.canBeEdited == true.
+ Returns Text
Returns identifiers of pinned or always
+ included chats from a chat folder,
+ which are suggested to be left when
+ the chat folder is deleted.
+ Returns Chats
Returns identifiers of pinned or always
+ included chats from a chat folder,
+ which are suggested to be left when
+ the chat folder is deleted.
+ Returns Chats
+
+
+
+
+
GetChatFolderChatsToLeave
+
publicGetChatFolderChatsToLeave(int chatFolderId)
+
Returns identifiers of pinned or always
+ included chats from a chat folder,
+ which are suggested to be left when
+ the chat folder is deleted.
+ Returns Chats
Returns identifiers of pinned or always
+ included chats from a chat folder,
+ which are suggested to be left when
+ the chat folder is deleted.
+ Returns Chats
Returns new chats added to a shareable
+ chat folder by its owner. The method
+ must be called at most once in
+ getOption("chat_folder_new_chats_update_period")
+ for the given chat folder.
+ Returns Chats
Returns new chats added to a shareable
+ chat folder by its owner. The method
+ must be called at most once in
+ getOption("chat_folder_new_chats_update_period")
+ for the given chat folder.
+ Returns Chats
+
+
+
+
+
GetChatFolderNewChats
+
publicGetChatFolderNewChats(int chatFolderId)
+
Returns new chats added to a shareable
+ chat folder by its owner. The method
+ must be called at most once in
+ getOption("chat_folder_new_chats_update_period")
+ for the given chat folder.
+ Returns Chats
Returns new chats added to a shareable
+ chat folder by its owner. The method
+ must be called at most once in
+ getOption("chat_folder_new_chats_update_period")
+ for the given chat folder.
+ Returns Chats
Returns found forum topics in a forum
+ chat. This is a temporary method for
+ getting information about topic list
+ from the server.
+ Returns ForumTopics
The date starting from which the
+ results need to be fetched. Use 0 or
+ any date in the future to get results
+ from the last topic.
+
+
+
+
+
offsetMessageId
+
publiclongoffsetMessageId
+
The message identifier of the last
+ message in the last found topic, or
+ 0 for the first request.
+
+
+
+
+
offsetMessageThreadId
+
publiclongoffsetMessageThreadId
+
The message thread identifier of the
+ last found topic, or 0 for the first request.
+
+
+
+
+
limit
+
publicintlimit
+
The maximum number of forum topics to
+ be returned; up to 100. For optimal
+ performance, the number of returned
+ forum topics is chosen by TDLib and
+ can be smaller than the specified limit.
Returns found forum topics in a forum
+ chat. This is a temporary method for
+ getting information about topic list
+ from the server.
+ Returns ForumTopics
+
+
+
+
+
GetForumTopics
+
publicGetForumTopics(long chatId,
+ String query,
+ int offsetDate,
+ long offsetMessageId,
+ long offsetMessageThreadId,
+ int limit)
+
Returns found forum topics in a forum
+ chat. This is a temporary method for
+ getting information about topic list
+ from the server.
+ Returns ForumTopics
+
+
Parameters:
+
chatId - long Identifier of the forum chat.
+
query - String Query to search for in the forum topic's name.
+
offsetDate - int The date starting from which the
+ results need to be fetched. Use 0 or
+ any date in the future to get results
+ from the last topic.
+
offsetMessageId - long The message identifier of the last
+ message in the last found topic, or
+ 0 for the first request.
+
offsetMessageThreadId - long The message thread identifier of the
+ last found topic, or 0 for the first request.
+
limit - int The maximum number of forum topics to
+ be returned; up to 100. For optimal
+ performance, the number of returned
+ forum topics is chosen by TDLib and
+ can be smaller than the specified limit.
Returns found forum topics in a forum
+ chat. This is a temporary method for
+ getting information about topic list
+ from the server.
+ Returns ForumTopics
The link is a link to a Web App. Call
+ searchPublicChat with the given bot
+ username, check that the user is a
+ bot, then call searchWebApp with the
+ received bot and the given webAppShortName.
+ Process received foundWebApp by showing
+ a confirmation dialog if needed, then
+ calling getWebAppLinkUrl and opening
+ the returned URL.
The link is a link to a Web App. Call
+ searchPublicChat with the given bot
+ username, check that the user is a
+ bot, then call searchWebApp with the
+ received bot and the given webAppShortName.
+ Process received foundWebApp by showing
+ a confirmation dialog if needed, then
+ calling getWebAppLinkUrl and opening
+ the returned URL.
The link is a link to a Web App. Call
+ searchPublicChat with the given bot
+ username, check that the user is a
+ bot, then call searchWebApp with the
+ received bot and the given webAppShortName.
+ Process received foundWebApp by showing
+ a confirmation dialog if needed, then
+ calling getWebAppLinkUrl and opening
+ the returned URL.
+
+
Parameters:
+
botUsername - String Username of the bot that owns the Web App.
+
webAppShortName - String Short name of the Web App.
+
startParameter - String Start parameter to be passed to getWebAppLinkUrl.
The link is a link to a Web App. Call
+ searchPublicChat with the given bot
+ username, check that the user is a
+ bot, then call searchWebApp with the
+ received bot and the given webAppShortName.
+ Process received foundWebApp by showing
+ a confirmation dialog if needed, then
+ calling getWebAppLinkUrl and opening
+ the returned URL.
A button that requests a chat to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareChatWithBot to complete the request.
A button that requests a chat to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareChatWithBot to complete the request.
A button that requests a chat to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareChatWithBot to complete the request.
+
+
Parameters:
+
id - int Unique button identifier.
+
chatIsChannel - boolean True, if the chat must be a channel;
+ otherwise, a basic group or a supergroup
+ chat is shared.
+
restrictChatIsForum - boolean True, if the chat must or must not be
+ a forum supergroup.
+
chatIsForum - boolean True, if the chat must be a forum
+ supergroup; otherwise, the chat must
+ not be a forum supergroup. Ignored if
+ restrictChatIsForum is false.
+
restrictChatHasUsername - boolean True, if the chat must or must not
+ have a username.
+
chatHasUsername - boolean True, if the chat must have a username;
+ otherwise, the chat must not have a
+ username. Ignored if restrictChatHasUsername is false.
+
chatIsCreated - boolean True, if the chat must be created by
+ the current user.
+
userAdministratorRights - ChatAdministratorRights Expected user administrator rights in
+ the chat; may be null if they aren't restricted.
+
botAdministratorRights - ChatAdministratorRights Expected bot administrator rights in
+ the chat; may be null if they aren't restricted.
+
botIsMember - boolean True, if the bot must be a member of
+ the chat; for basic group and supergroup chats only.
A button that requests a chat to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareChatWithBot to complete the request.
A button that requests a user to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareUserWithBot to complete the request.
True, if the shared user must or must
+ not be a bot.
+
+
+
+
+
userIsBot
+
publicbooleanuserIsBot
+
True, if the shared user must be a
+ bot; otherwise, the shared user must
+ no be a bot. Ignored if restrictUserIsBot is false.
+
+
+
+
+
restrictUserIsPremium
+
publicbooleanrestrictUserIsPremium
+
True, if the shared user must or must
+ not be a Telegram Premium user.
+
+
+
+
+
userIsPremium
+
publicbooleanuserIsPremium
+
True, if the shared user must be a
+ Telegram Premium user; otherwise, the
+ shared user must no be a Telegram
+ Premium user. Ignored if restrictUserIsPremium is false.
A button that requests a user to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareUserWithBot to complete the request.
A button that requests a user to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareUserWithBot to complete the request.
+
+
Parameters:
+
id - int Unique button identifier.
+
restrictUserIsBot - boolean True, if the shared user must or must
+ not be a bot.
+
userIsBot - boolean True, if the shared user must be a
+ bot; otherwise, the shared user must
+ no be a bot. Ignored if restrictUserIsBot is false.
+
restrictUserIsPremium - boolean True, if the shared user must or must
+ not be a Telegram Premium user.
+
userIsPremium - boolean True, if the shared user must be a
+ Telegram Premium user; otherwise, the
+ shared user must no be a Telegram
+ Premium user. Ignored if restrictUserIsPremium is false.
A button that requests a user to be
+ shared by the current user; available
+ only in private chats. Use the method
+ shareUserWithBot to complete the request.
webApp - WebApp Information about the Web App, which
+ requested the access; may be null if
+ none or the Web App was opened from
+ the attachment menu.
oldBackgroundMessageId - long Identifier of the message with a
+ previously set same background; 0 if
+ none. Can be an identifier of a deleted message.
Process new chats added to a shareable
+ chat folder by its owner.
+ Returns Ok
+
+
Parameters:
+
chatFolderId - int Chat folder identifier.
+
addedChatIds - long[] Identifiers of the new chats, which
+ are added to the chat folder. The
+ chats are automatically joined if they
+ aren't joined yet.
chatFilterIds - int[] Identifiers of chat filters in the
+
chatFolderIds - int[] Identifiers of chat folders in the
new correct order.
mainChatListPosition - int Position of the main chat list among
- chat filters, 0-based. Can be non-zero
+ chat folders, 0-based. Can be non-zero
only for Premium users.
public static final class TdApi.ReportSupergroupAntiSpamFalsePositive
+extends TdApi.Function<TdApi.Ok>
+
Reports a false deletion of a message
+ by aggressive anti-spam checks; requires
+ administrator rights in the supergroup.
+ Can be called only for messages from
+ chatEventMessageDeleted with
+ canReportAntiSpamFalsePositive == true.
+ Returns Ok
Reports a false deletion of a message
+ by aggressive anti-spam checks; requires
+ administrator rights in the supergroup.
+ Can be called only for messages from
+ chatEventMessageDeleted with
+ canReportAntiSpamFalsePositive == true.
+ Returns Ok
+
+
+
+
+
ReportSupergroupAntiSpamFalsePositive
+
publicReportSupergroupAntiSpamFalsePositive(long supergroupId,
+ long messageId)
+
Reports a false deletion of a message
+ by aggressive anti-spam checks; requires
+ administrator rights in the supergroup.
+ Can be called only for messages from
+ chatEventMessageDeleted with
+ canReportAntiSpamFalsePositive == true.
+ Returns Ok
+
+
Parameters:
+
supergroupId - long Supergroup identifier.
+
messageId - long Identifier of the erroneously deleted message.
Reports a false deletion of a message
+ by aggressive anti-spam checks; requires
+ administrator rights in the supergroup.
+ Can be called only for messages from
+ chatEventMessageDeleted with
+ canReportAntiSpamFalsePositive == true.
+ Returns Ok
public static final class TdApi.ResetAuthenticationEmailAddress
+extends TdApi.Function<TdApi.Ok>
+
Resets the login email address. May
+ return an error with a message
+ "TASK_ALREADY_EXISTS" if
+ reset is still pending. Works only
+ when the current authorization state
+ is authorizationStateWaitEmailCode
+ and authorizationState.canResetEmailAddress == true.
+ Returns Ok
Resets the login email address. May
+ return an error with a message
+ "TASK_ALREADY_EXISTS" if
+ reset is still pending. Works only
+ when the current authorization state
+ is authorizationStateWaitEmailCode
+ and authorizationState.canResetEmailAddress == true.
+ Returns Ok
Resets the login email address. May
+ return an error with a message
+ "TASK_ALREADY_EXISTS" if
+ reset is still pending. Works only
+ when the current authorization state
+ is authorizationStateWaitEmailCode
+ and authorizationState.canResetEmailAddress == true.
+ Returns Ok
public static final class TdApi.SendAuthenticationFirebaseSms
+extends TdApi.Function<TdApi.Ok>
+
Sends Firebase Authentication SMS to
+ the phone number of the user. Works
+ only when the current authorization
+ state is authorizationStateWaitCode
+ and the server returned code of the
+ type authenticationCodeTypeFirebaseAndroid or authenticationCodeTypeFirebaseIos.
+ Returns Ok
Sends Firebase Authentication SMS to
+ the phone number of the user. Works
+ only when the current authorization
+ state is authorizationStateWaitCode
+ and the server returned code of the
+ type authenticationCodeTypeFirebaseAndroid or authenticationCodeTypeFirebaseIos.
+ Returns Ok
Sends Firebase Authentication SMS to
+ the phone number of the user. Works
+ only when the current authorization
+ state is authorizationStateWaitCode
+ and the server returned code of the
+ type authenticationCodeTypeFirebaseAndroid or authenticationCodeTypeFirebaseIos.
+ Returns Ok
+
+
Parameters:
+
token - String SafetyNet Attestation API token for
+ the Android application, or secret
+ from push notification for the iOS application.
Sends Firebase Authentication SMS to
+ the phone number of the user. Works
+ only when the current authorization
+ state is authorizationStateWaitCode
+ and the server returned code of the
+ type authenticationCodeTypeFirebaseAndroid or authenticationCodeTypeFirebaseIos.
+ Returns Ok
A two-letter ISO 639-1 language code.
+ If empty, the description will be
+ shown to all users for whose languages
+ there is no dedicated description.
Sets the text shown in the chat with
+ a bot if the chat is empty. Can be
+ called only if userTypeBot.canBeEdited == true.
+ Returns Ok
+
+
Parameters:
+
botUserId - long Identifier of the target bot.
+
languageCode - String A two-letter ISO 639-1 language code.
+ If empty, the description will be
+ shown to all users for whose languages
+ there is no dedicated description.
+
description - String New bot's description on the specified language.
public static final class TdApi.SetBotInfoShortDescription
+extends TdApi.Function<TdApi.Ok>
+
Sets the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot.
+ Can be called only if userTypeBot.canBeEdited == true.
+ Returns Ok
A two-letter ISO 639-1 language code.
+ If empty, the short description will
+ be shown to all users for whose
+ languages there is no dedicated description.
Sets the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot.
+ Can be called only if userTypeBot.canBeEdited == true.
+ Returns Ok
Sets the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot.
+ Can be called only if userTypeBot.canBeEdited == true.
+ Returns Ok
+
+
Parameters:
+
botUserId - long Identifier of the target bot.
+
languageCode - String A two-letter ISO 639-1 language code.
+ If empty, the short description will
+ be shown to all users for whose
+ languages there is no dedicated description.
+
shortDescription - String New bot's short description on
+ the specified language.
Sets the text shown on a bot's
+ profile page and sent together with
+ the link when users share the bot.
+ Can be called only if userTypeBot.canBeEdited == true.
+ Returns Ok
Sets the name of a bot. Can be called
+ only if userTypeBot.canBeEdited == true.
+ Returns Ok
+
+
Parameters:
+
botUserId - long Identifier of the target bot.
+
languageCode - String A two-letter ISO 639-1 language code.
+ If empty, the name will be shown to
+ all users for whose languages there
+ is no dedicated name.
+
name - String New bot's name on the specified
+ language; 0-64 characters; must be
+ non-empty if language code is empty.
public static final class TdApi.SetChatMessageAutoDeleteTime
+extends TdApi.Function<TdApi.Ok>
+
Changes the message auto-delete or
+ self-destruct (for secret chats) time
+ in a chat. Requires changeInfo
+ administrator right in basic groups,
+ supergroups and channels Message
+ auto-delete time can't be changed
+ in a chat with the current user (Saved
+ Messages) and the chat 777000 (Telegram).
+ Returns Ok
New time value, in seconds; unless
+ the chat is secret, it must be from
+ 0 up to 365 * 86400 and be divisible
+ by 86400. If 0, then messages aren't deleted automatically.
Changes the message auto-delete or
+ self-destruct (for secret chats) time
+ in a chat. Requires changeInfo
+ administrator right in basic groups,
+ supergroups and channels Message
+ auto-delete time can't be changed
+ in a chat with the current user (Saved
+ Messages) and the chat 777000 (Telegram).
+ Returns Ok
+
+
+
+
+
SetChatMessageAutoDeleteTime
+
publicSetChatMessageAutoDeleteTime(long chatId,
+ int messageAutoDeleteTime)
+
Changes the message auto-delete or
+ self-destruct (for secret chats) time
+ in a chat. Requires changeInfo
+ administrator right in basic groups,
+ supergroups and channels Message
+ auto-delete time can't be changed
+ in a chat with the current user (Saved
+ Messages) and the chat 777000 (Telegram).
+ Returns Ok
+
+
Parameters:
+
chatId - long Chat identifier.
+
messageAutoDeleteTime - int New time value, in seconds; unless
+ the chat is secret, it must be from
+ 0 up to 365 * 86400 and be divisible
+ by 86400. If 0, then messages aren't deleted automatically.
Changes the message auto-delete or
+ self-destruct (for secret chats) time
+ in a chat. Requires changeInfo
+ administrator right in basic groups,
+ supergroups and channels Message
+ auto-delete time can't be changed
+ in a chat with the current user (Saved
+ Messages) and the chat 777000 (Telegram).
+ Returns Ok
Sets a custom emoji sticker set
+ thumbnail; for bots only.
+ Returns Ok
+
+
+
+
+
SetCustomEmojiStickerSetThumbnail
+
publicSetCustomEmojiStickerSetThumbnail(String name,
+ long customEmojiId)
+
Sets a custom emoji sticker set
+ thumbnail; for bots only.
+ Returns Ok
+
+
Parameters:
+
name - String Sticker set name.
+
customEmojiId - long Identifier of the custom emoji from
+ the sticker set, which will be set as
+ sticker set thumbnail; pass 0 to remove
+ the sticker set thumbnail.
New default message auto-delete time;
+ must be from 0 up to 365 * 86400 and
+ be divisible by 86400. If 0, then
+ messages aren't deleted automatically.
Changes the default message auto-delete
+ time for new chats.
+ Returns Ok
+
+
Parameters:
+
messageAutoDeleteTime - MessageAutoDeleteTime New default message auto-delete time;
+ must be from 0 up to 365 * 86400 and
+ be divisible by 86400. If 0, then
+ messages aren't deleted automatically.
Changes the notification settings of
+ a forum topic.
+ Returns Ok
+
+
+
+
+
SetForumTopicNotificationSettings
+
publicSetForumTopicNotificationSettings(long chatId,
+ long messageThreadId,
+ TdApi.ChatNotificationSettings notificationSettings)
+
Changes the notification settings of
+ a forum topic.
+ Returns Ok
+
+
Parameters:
+
chatId - long Chat identifier.
+
messageThreadId - long Message thread identifier of the forum topic.
+
notificationSettings - ChatNotificationSettings New notification settings for the
+ forum topic. If the topic is muted
+ for more than 366 days, it is considered
+ to be muted forever.
Changes the list of emoji corresponding
+ to a sticker; for bots only. The
+ sticker must belong to a regular or
+ custom emoji sticker set created by the bot.
+ Returns Ok
Changes the list of emoji corresponding
+ to a sticker; for bots only. The
+ sticker must belong to a regular or
+ custom emoji sticker set created by the bot.
+ Returns Ok
Changes the list of emoji corresponding
+ to a sticker; for bots only. The
+ sticker must belong to a regular or
+ custom emoji sticker set created by the bot.
+ Returns Ok
+
+
Parameters:
+
sticker - InputFile Sticker.
+
emojis - String New string with 1-20 emoji corresponding
+ to the sticker.
Changes the list of emoji corresponding
+ to a sticker; for bots only. The
+ sticker must belong to a regular or
+ custom emoji sticker set created by the bot.
+ Returns Ok
Changes the list of keywords of a
+ sticker; for bots only. The sticker
+ must belong to a regular or custom
+ emoji sticker set created by the bot.
+ Returns Ok
Changes the list of keywords of a
+ sticker; for bots only. The sticker
+ must belong to a regular or custom
+ emoji sticker set created by the bot.
+ Returns Ok
Changes the list of keywords of a
+ sticker; for bots only. The sticker
+ must belong to a regular or custom
+ emoji sticker set created by the bot.
+ Returns Ok
+
+
Parameters:
+
sticker - InputFile Sticker.
+
keywords - String[] List of up to 20 keywords with total
+ length up to 64 characters, which can
+ be used to find the sticker.
Changes the list of keywords of a
+ sticker; for bots only. The sticker
+ must belong to a regular or custom
+ emoji sticker set created by the bot.
+ Returns Ok
Pass true to check that the chat can
+ be shared by the button instead of
+ actually sharing it. Doesn't
+ check botIsMember and botAdministratorRights
+ restrictions. If the bot must be a
+ member, then all chats from
+ getGroupsInCommon and all chats, where
+ the user can add the bot, are suitable.
+ In the latter case the bot will be
+ automatically added to the chat. If
+ the bot must be an administrator, then
+ all chats, where the bot already has
+ requested rights or can be added to
+ administrators by the user, are
+ suitable. In the latter case the bot
+ will be automatically granted requested rights.
Shares a chat after pressing a
+ keyboardButtonTypeRequestChat button
+ with the bot.
+ Returns Ok
+
+
+
+
+
ShareChatWithBot
+
publicShareChatWithBot(long chatId,
+ long messageId,
+ int buttonId,
+ long sharedChatId,
+ boolean onlyCheck)
+
Shares a chat after pressing a
+ keyboardButtonTypeRequestChat button
+ with the bot.
+ Returns Ok
+
+
Parameters:
+
chatId - long Identifier of the chat with the bot.
+
messageId - long Identifier of the message with the button.
+
buttonId - int Identifier of the button.
+
sharedChatId - long Identifier of the shared chat.
+
onlyCheck - boolean Pass true to check that the chat can
+ be shared by the button instead of
+ actually sharing it. Doesn't
+ check botIsMember and botAdministratorRights
+ restrictions. If the bot must be a
+ member, then all chats from
+ getGroupsInCommon and all chats, where
+ the user can add the bot, are suitable.
+ In the latter case the bot will be
+ automatically added to the chat. If
+ the bot must be an administrator, then
+ all chats, where the bot already has
+ requested rights or can be added to
+ administrators by the user, are
+ suitable. In the latter case the bot
+ will be automatically granted requested rights.
True, if the sticker must be repainted
+ to a text color in messages, the color
+ of the Telegram Premium badge in emoji
+ status, white color on chat photos,
+ or another appropriate color in other places.
True, if the sticker must be repainted
+ to a text color in messages, the color
+ of the Telegram Premium badge in emoji
+ status, white color on chat photos,
+ or another appropriate color in other places.
The sticker is a custom emoji to be
+ used inside message text and caption.
+ Currently, only Telegram Premium users
+ can use custom emoji.
+
+
Parameters:
+
customEmojiId - long Identifier of the custom emoji.
+
needsRepainting - boolean True, if the sticker must be repainted
+ to a text color in messages, the color
+ of the Telegram Premium badge in emoji
+ status, white color on chat photos,
+ or another appropriate color in other places.
public static final class TdApi.ToggleBotUsernameIsActive
+extends TdApi.Function<TdApi.Ok>
+
Changes active state for a username
+ of a bot. The editable username
+ can't be disabled. May return an
+ error with a message
+ "USERNAMES_ACTIVE_TOO_MUCH"
+ if the maximum number of active
+ usernames has been reached. Can be
+ called only if userTypeBot.canBeEdited == true.
+ Returns Ok
Changes active state for a username
+ of a bot. The editable username
+ can't be disabled. May return an
+ error with a message
+ "USERNAMES_ACTIVE_TOO_MUCH"
+ if the maximum number of active
+ usernames has been reached. Can be
+ called only if userTypeBot.canBeEdited == true.
+ Returns Ok
Changes active state for a username
+ of a bot. The editable username
+ can't be disabled. May return an
+ error with a message
+ "USERNAMES_ACTIVE_TOO_MUCH"
+ if the maximum number of active
+ usernames has been reached. Can be
+ called only if userTypeBot.canBeEdited == true.
+ Returns Ok
+
+
Parameters:
+
botUserId - long Identifier of the target bot.
+
username - String The username to change.
+
isActive - boolean Pass true to activate the username;
+ pass false to disable it.
Changes active state for a username
+ of a bot. The editable username
+ can't be disabled. May return an
+ error with a message
+ "USERNAMES_ACTIVE_TOO_MUCH"
+ if the maximum number of active
+ usernames has been reached. Can be
+ called only if userTypeBot.canBeEdited == true.
+ Returns Ok
public static final class TdApi.SetChatMessageTtl
+
public static final class TdApi.ToggleChatIsTranslatableextends TdApi.Function<TdApi.Ok>
-
Changes the message TTL in a chat.
- Requires canDeleteMessages administrator
- right in basic groups, supergroups
- and channels Message TTL can't
- be changed in a chat with the current
- user (Saved Messages) and the chat 777000 (Telegram).
+
Changes the translatable state of a
+ chat; for Telegram Premium users only.
Returns Ok
Changes the message TTL in a chat.
- Requires canDeleteMessages administrator
- right in basic groups, supergroups
- and channels Message TTL can't
- be changed in a chat with the current
- user (Saved Messages) and the chat 777000 (Telegram).
+
ToggleChatIsTranslatable
+
publicToggleChatIsTranslatable()
+
Changes the translatable state of a
+ chat; for Telegram Premium users only.
Returns Ok
-
-
SetChatMessageTtl
-
publicSetChatMessageTtl(long chatId,
- int ttl)
-
Changes the message TTL in a chat.
- Requires canDeleteMessages administrator
- right in basic groups, supergroups
- and channels Message TTL can't
- be changed in a chat with the current
- user (Saved Messages) and the chat 777000 (Telegram).
+
+
Changes the message TTL in a chat.
- Requires canDeleteMessages administrator
- right in basic groups, supergroups
- and channels Message TTL can't
- be changed in a chat with the current
- user (Saved Messages) and the chat 777000 (Telegram).
+
public static final class TdApi.ToggleForumTopicIsPinned
+extends TdApi.Function<TdApi.Ok>
+
Changes the pinned state of a forum
+ topic; requires canManageTopics
+ administrator right in the supergroup.
+ There can be up to
+ getOption("pinned_forum_topic_count_max")
+ pinned forum topics.
+ Returns Ok
Changes the pinned state of a forum
+ topic; requires canManageTopics
+ administrator right in the supergroup.
+ There can be up to
+ getOption("pinned_forum_topic_count_max")
+ pinned forum topics.
+ Returns Ok
+
+
+
+
+
ToggleForumTopicIsPinned
+
publicToggleForumTopicIsPinned(long chatId,
+ long messageThreadId,
+ boolean isPinned)
+
Changes the pinned state of a forum
+ topic; requires canManageTopics
+ administrator right in the supergroup.
+ There can be up to
+ getOption("pinned_forum_topic_count_max")
+ pinned forum topics.
+ Returns Ok
+
+
Parameters:
+
chatId - long Chat identifier.
+
messageThreadId - long Message thread identifier of the forum topic.
+
isPinned - boolean Pass true to pin the topic; pass false
+ to unpin it.
Changes the pinned state of a forum
+ topic; requires canManageTopics
+ administrator right in the supergroup.
+ There can be up to
+ getOption("pinned_forum_topic_count_max")
+ pinned forum topics.
+ Returns Ok
public static final class TdApi.ToggleGeneralForumTopicIsHidden
+extends TdApi.Function<TdApi.Ok>
+
Toggles whether a General topic is
+ hidden in a forum supergroup chat;
+ requires canManageTopics administrator
+ right in the supergroup.
+ Returns Ok
Toggles whether a General topic is
+ hidden in a forum supergroup chat;
+ requires canManageTopics administrator
+ right in the supergroup.
+ Returns Ok
Toggles whether a General topic is
+ hidden in a forum supergroup chat;
+ requires canManageTopics administrator
+ right in the supergroup.
+ Returns Ok
+
+
Parameters:
+
chatId - long Identifier of the chat.
+
isHidden - boolean Pass true to hide and close the General
+ topic; pass false to unhide it.
Toggles whether a General topic is
+ hidden in a forum supergroup chat;
+ requires canManageTopics administrator
+ right in the supergroup.
+ Returns Ok
public static final class TdApi.ToggleSupergroupHasAggressiveAntiSpamEnabled
+extends TdApi.Function<TdApi.Ok>
+
Toggles whether aggressive anti-spam
+ checks are enabled in the supergroup.
+ Can be called only if
+ supergroupFullInfo.canToggleAggressiveAntiSpam == true.
+ Returns Ok
Toggles whether aggressive anti-spam
+ checks are enabled in the supergroup.
+ Can be called only if
+ supergroupFullInfo.canToggleAggressiveAntiSpam == true.
+ Returns Ok
Toggles whether aggressive anti-spam
+ checks are enabled in the supergroup.
+ Can be called only if
+ supergroupFullInfo.canToggleAggressiveAntiSpam == true.
+ Returns Ok
+
+
Parameters:
+
supergroupId - long The identifier of the supergroup,
+ which isn't a broadcast group.
+
hasAggressiveAntiSpamEnabled - boolean The new value of hasAggressiveAntiSpamEnabled.
Toggles whether aggressive anti-spam
+ checks are enabled in the supergroup.
+ Can be called only if
+ supergroupFullInfo.canToggleAggressiveAntiSpam == true.
+ Returns Ok
public static final class TdApi.ToggleSupergroupHasHiddenMembers
+extends TdApi.Function<TdApi.Ok>
+
Toggles whether non-administrators
+ can receive only administrators and
+ bots using getSupergroupMembers or
+ searchChatMembers. Can be called only
+ if supergroupFullInfo.canHideMembers == true.
+ Returns Ok
Toggles whether non-administrators
+ can receive only administrators and
+ bots using getSupergroupMembers or
+ searchChatMembers. Can be called only
+ if supergroupFullInfo.canHideMembers == true.
+ Returns Ok
Toggles whether non-administrators
+ can receive only administrators and
+ bots using getSupergroupMembers or
+ searchChatMembers. Can be called only
+ if supergroupFullInfo.canHideMembers == true.
+ Returns Ok
+
+
Parameters:
+
supergroupId - long Identifier of the supergroup.
+
hasHiddenMembers - boolean New value of hasHiddenMembers.
Toggles whether non-administrators
+ can receive only administrators and
+ bots using getSupergroupMembers or
+ searchChatMembers. Can be called only
+ if supergroupFullInfo.canHideMembers == true.
+ Returns Ok
Extracts text or caption of the given
+ message and translates it to the given
+ language. If the current user is a
+ Telegram Premium user, then text
+ formatting is preserved.
+ Returns FormattedText
Extracts text or caption of the given
+ message and translates it to the given
+ language. If the current user is a
+ Telegram Premium user, then text
+ formatting is preserved.
+ Returns FormattedText
+
+
+
+
+
TranslateMessageText
+
publicTranslateMessageText(long chatId,
+ long messageId,
+ String toLanguageCode)
+
Extracts text or caption of the given
+ message and translates it to the given
+ language. If the current user is a
+ Telegram Premium user, then text
+ formatting is preserved.
+ Returns FormattedText
+
+
Parameters:
+
chatId - long Identifier of the chat to which the message belongs.
Extracts text or caption of the given
+ message and translates it to the given
+ language. If the current user is a
+ Telegram Premium user, then text
+ formatting is preserved.
+ Returns FormattedText
The list of chat folders or a chat
+ folder has changed.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatFilterInfo.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatFolderInviteLink.html
similarity index 69%
rename from tdlight.api/it/tdlight/jni/class-use/TdApi.ChatFilterInfo.html
rename to tdlight.api/it/tdlight/jni/class-use/TdApi.ChatFolderInviteLink.html
index 2911713c34e..a28eb08e6a5 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatFilterInfo.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatFolderInviteLink.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.ChatFilterInfo (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.ChatFolderInviteLink (tdlight API 4.0.301 API)
-
+
@@ -37,7 +37,7 @@ loadScripts(document, 'script');
Uses of Class it.tdlight.jni.TdApi.CheckChatUsernameResultPublicChatsTooMuch
+
Uses of Class it.tdlight.jni.TdApi.CheckChatUsernameResultPublicChatsTooMany
-No usage of it.tdlight.jni.TdApi.CheckChatUsernameResultPublicChatsTooMuch
+No usage of it.tdlight.jni.TdApi.CheckChatUsernameResultPublicChatsTooMany
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckChatUsernameResultPublicGroupsUnavailable.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckChatUsernameResultPublicGroupsUnavailable.html
index e9cfc3590eb..896f03a7729 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckChatUsernameResultPublicGroupsUnavailable.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckChatUsernameResultPublicGroupsUnavailable.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.CheckChatUsernameResultPublicGroupsUnavailable (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.CheckChatUsernameResultPublicGroupsUnavailable (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.CheckChatUsernameResultUsernamePurchasable
+
+No usage of it.tdlight.jni.TdApi.CheckChatUsernameResultUsernamePurchasable
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckCreatedPublicChatsLimit.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckCreatedPublicChatsLimit.html
index 78961796937..88216fbb0b4 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckCreatedPublicChatsLimit.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.CheckCreatedPublicChatsLimit.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.CheckCreatedPublicChatsLimit (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.CheckCreatedPublicChatsLimit (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.ClearAutosaveSettingsExceptions
+
+No usage of it.tdlight.jni.TdApi.ClearAutosaveSettingsExceptions
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.ClearImportedContacts.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.ClearImportedContacts.html
index ec374e31fe4..684a6b938d6 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.ClearImportedContacts.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.ClearImportedContacts.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.ClearImportedContacts (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.ClearImportedContacts (tdlight API 4.0.301 API)
-
+
@@ -37,7 +37,7 @@ loadScripts(document, 'script');
Uses of Class it.tdlight.jni.TdApi.DeleteChatFilter
+
Uses of Class it.tdlight.jni.TdApi.CreateChatFolder
-No usage of it.tdlight.jni.TdApi.DeleteChatFilter
+No usage of it.tdlight.jni.TdApi.CreateChatFolder
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatEventMessageTtlChanged.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.CreateChatFolderInviteLink.html
similarity index 84%
rename from tdlight.api/it/tdlight/jni/class-use/TdApi.ChatEventMessageTtlChanged.html
rename to tdlight.api/it/tdlight/jni/class-use/TdApi.CreateChatFolderInviteLink.html
index 54d09254f1e..8d55cdb5fe5 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatEventMessageTtlChanged.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.CreateChatFolderInviteLink.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.ChatEventMessageTtlChanged (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.CreateChatFolderInviteLink (tdlight API 4.0.301 API)
-
+
@@ -37,7 +37,7 @@ loadScripts(document, 'script');
-No usage of it.tdlight.jni.TdApi.GetChatFilter
+No usage of it.tdlight.jni.TdApi.GetChatFolder
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFolderChatsToLeave.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFolderChatsToLeave.html
new file mode 100644
index 00000000000..28b2dee8de5
--- /dev/null
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFolderChatsToLeave.html
@@ -0,0 +1,69 @@
+
+
+
+
+Uses of Class it.tdlight.jni.TdApi.GetChatFolderChatsToLeave (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.GetChatFolderChatsToLeave
+
+No usage of it.tdlight.jni.TdApi.GetChatFolderChatsToLeave
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFilterDefaultIconName.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFolderDefaultIconName.html
similarity index 86%
rename from tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFilterDefaultIconName.html
rename to tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFolderDefaultIconName.html
index f4e9cc39c9c..3fff26f104a 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFilterDefaultIconName.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.GetChatFolderDefaultIconName.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.GetChatFilterDefaultIconName (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.GetChatFolderDefaultIconName (tdlight API 4.0.301 API)
-
+
@@ -37,7 +37,7 @@ loadScripts(document, 'script');
Uses of Class it.tdlight.jni.TdApi.PremiumLimitTypeChatFilterChosenChatCount
+
Uses of Class it.tdlight.jni.TdApi.PremiumLimitTypeChatFolderChosenChatCount
-No usage of it.tdlight.jni.TdApi.PremiumLimitTypeChatFilterChosenChatCount
+No usage of it.tdlight.jni.TdApi.PremiumLimitTypeChatFolderChosenChatCount
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.PremiumLimitTypeChatFilterCount.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.PremiumLimitTypeChatFolderCount.html
similarity index 85%
rename from tdlight.api/it/tdlight/jni/class-use/TdApi.PremiumLimitTypeChatFilterCount.html
rename to tdlight.api/it/tdlight/jni/class-use/TdApi.PremiumLimitTypeChatFolderCount.html
index d3bb96546f9..a7ee011f6c4 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.PremiumLimitTypeChatFilterCount.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.PremiumLimitTypeChatFolderCount.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.PremiumLimitTypeChatFilterCount (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.PremiumLimitTypeChatFolderCount (tdlight API 4.0.301 API)
-
+
@@ -37,7 +37,7 @@ loadScripts(document, 'script');
Autosave settings for some type of
+ chats were updated.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.ScopeNotificationSettings.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.ScopeNotificationSettings.html
index 1a215b83ae9..b859a03a35d 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.ScopeNotificationSettings.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.ScopeNotificationSettings.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.ScopeNotificationSettings (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.ScopeNotificationSettings (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.SearchUserByToken
+
+No usage of it.tdlight.jni.TdApi.SearchUserByToken
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.SearchWebApp.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.SearchWebApp.html
new file mode 100644
index 00000000000..7e346810d52
--- /dev/null
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.SearchWebApp.html
@@ -0,0 +1,69 @@
+
+
+
+
+Uses of Class it.tdlight.jni.TdApi.SearchWebApp (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.SearchWebApp
+
+No usage of it.tdlight.jni.TdApi.SearchWebApp
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.Seconds.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.Seconds.html
index 2cea88a6b97..a9e83e80271 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.Seconds.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.Seconds.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.Seconds (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.Seconds (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.SendAuthenticationFirebaseSms
+
+No usage of it.tdlight.jni.TdApi.SendAuthenticationFirebaseSms
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.SendBotStartMessage.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.SendBotStartMessage.html
index 43b0f970127..6d16dcac5c4 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.SendBotStartMessage.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.SendBotStartMessage.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.SendBotStartMessage (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.SendBotStartMessage (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.SetAutosaveSettings
+
+No usage of it.tdlight.jni.TdApi.SetAutosaveSettings
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.SetBackground.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.SetBackground.html
index 2616acf7032..b585e17623a 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.SetBackground.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.SetBackground.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.SetBackground (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.SetBackground (tdlight API 4.0.301 API)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Uses of Class it.tdlight.jni.TdApi.SetBotInfoDescription
+
+No usage of it.tdlight.jni.TdApi.SetBotInfoDescription
+
+
+
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.InternalLinkTypeFilterSettings.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.SetBotInfoShortDescription.html
similarity index 84%
rename from tdlight.api/it/tdlight/jni/class-use/TdApi.InternalLinkTypeFilterSettings.html
rename to tdlight.api/it/tdlight/jni/class-use/TdApi.SetBotInfoShortDescription.html
index c27722f94ff..89021d86810 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.InternalLinkTypeFilterSettings.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.SetBotInfoShortDescription.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.InternalLinkTypeFilterSettings (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.SetBotInfoShortDescription (tdlight API 4.0.301 API)
-
+
@@ -37,7 +37,7 @@ loadScripts(document, 'script');
+
+
diff --git a/tdlight.api/it/tdlight/jni/class-use/TdApi.WebAppInfo.html b/tdlight.api/it/tdlight/jni/class-use/TdApi.WebAppInfo.html
index bba106447f9..44c4ee4de6f 100644
--- a/tdlight.api/it/tdlight/jni/class-use/TdApi.WebAppInfo.html
+++ b/tdlight.api/it/tdlight/jni/class-use/TdApi.WebAppInfo.html
@@ -2,7 +2,7 @@
-Uses of Class it.tdlight.jni.TdApi.WebAppInfo (tdlight API 4.0.282 API)
+Uses of Class it.tdlight.jni.TdApi.WebAppInfo (tdlight API 4.0.301 API)