Improve documentation spelling.
This commit is contained in:
parent
106afa050c
commit
6bcdaa57a6
@ -571,7 +571,7 @@ userTypeDeleted = UserType;
|
||||
//@can_be_edited True, if the bot is owned by the current user and can be edited using the methods toggleBotUsernameIsActive, reorderBotActiveUsernames, setBotProfilePhoto, setBotName, setBotInfoDescription, and setBotInfoShortDescription
|
||||
//@can_join_groups True, if the bot can be invited to basic group and supergroup chats
|
||||
//@can_read_all_group_messages True, if the bot can read all messages in basic group or supergroup chats and not just those addressed to the bot. In private and channel chats a bot can always read all messages
|
||||
//@has_main_web_app True, if the bot has main Web App
|
||||
//@has_main_web_app True, if the bot has the main Web App
|
||||
//@is_inline True, if the bot supports inline queries
|
||||
//@inline_query_placeholder Placeholder for inline queries (displayed on the application input field)
|
||||
//@need_location True, if the location of the user is expected to be sent with every inline query to this bot
|
||||
@ -10636,31 +10636,31 @@ sendWebAppCustomRequest bot_user_id:int53 method:string parameters:string = Cust
|
||||
|
||||
|
||||
//@description Returns the list of media previews of a bot
|
||||
//@bot_user_id Identifier of the target bot. The bot must have main Web App
|
||||
//@bot_user_id Identifier of the target bot. The bot must have the main Web App
|
||||
getBotMediaPreviews bot_user_id:int53 = BotMediaPreviews;
|
||||
|
||||
//@description Adds a new media preview to the beginning of the list of media previews of a bot. Returns the added preview after addition is completed server-side. The total number of previews must not exceed getOption("bot_media_preview_count_max") for the given language
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have main Web App
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have the main Web App
|
||||
//@language_code A two-letter ISO 639-1 language code for which preview is added. If empty, then the preview will be shown to all users for whose languages there are no dedicated previews.
|
||||
//-If non-empty, then there must be an official language pack with the same name as returned by getLocalizationTargetInfo
|
||||
//@content Content of the added preview
|
||||
addBotMediaPreview bot_user_id:int53 language_code:string content:InputStoryContent = StoryContent;
|
||||
|
||||
//@description Replaces media preview in the list of media previews of a bot. Returns the new preview after edit is completed server-side
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have main Web App
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have the main Web App
|
||||
//@language_code Language code of the media preview to edit
|
||||
//@file_id File identifier of the media to replace
|
||||
//@content Content of the new preview
|
||||
editBotMediaPreview bot_user_id:int53 language_code:string file_id:int32 content:InputStoryContent = StoryContent;
|
||||
|
||||
//@description Changes order of media previews in the list of media previews of a bot
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have main Web App
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have the main Web App
|
||||
//@language_code Language code of the media previews to reorder
|
||||
//@file_ids File identifiers of the media in the new order
|
||||
reorderBotMediaPreviews bot_user_id:int53 language_code:string file_ids:vector<int32> = Ok;
|
||||
|
||||
//@description Delete media previews from the list of media previews of a bot
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have main Web App
|
||||
//@bot_user_id Identifier of the target bot. The bot must be owned and must have the main Web App
|
||||
//@language_code Language code of the media previews to delete
|
||||
//@file_ids File identifiers of the media to delete
|
||||
deleteBotMediaPreviews bot_user_id:int53 language_code:string file_ids:vector<int32> = Ok;
|
||||
|
Loading…
Reference in New Issue
Block a user