From 7f3787dbaf48be8b273d1b47c85ee40af6da4cfb Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 13 Dec 2021 17:44:14 +0000 Subject: [PATCH] Update content of files --- .../tdlib/td/master/td/generate/scheme/td_api.tl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl index 050aca5348..762cd6e30f 100644 --- a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl +++ b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl @@ -1081,7 +1081,7 @@ inlineKeyboardButtonTypeSwitchInline query:string in_current_chat:Bool = InlineK //@description A button to buy something. This button must be in the first column and row of the keyboard and can be attached only to a message with content of the type messageInvoice inlineKeyboardButtonTypeBuy = InlineKeyboardButtonType; -//@description A button to open a chat with a user @user_id User identifier +//@description A button with a user reference to be handled in the same way as textEntityTypeMentionName entities @user_id User identifier inlineKeyboardButtonTypeUser user_id:int53 = InlineKeyboardButtonType; @@ -5565,11 +5565,11 @@ deleteAccount reason:string = Ok; //@description Removes a chat action bar without any other action @chat_id Chat identifier removeChatActionBar chat_id:int53 = Ok; -//@description Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if this is a private chat with a bot, a private chat with a user sharing their location, a supergroup, or a channel, since other chats can't be checked by moderators +//@description Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if chat.can_be_reported //@chat_id Chat identifier @message_ids Identifiers of reported messages, if any @reason The reason for reporting the chat @text Additional report details; 0-1024 characters reportChat chat_id:int53 message_ids:vector reason:ChatReportReason text:string = Ok; -//@description Reports a chat photo to the Telegram moderators. A chat photo can be reported only if this is a private chat with a bot, a private chat with a user sharing their location, a supergroup, or a channel, since other chats can't be checked by moderators +//@description Reports a chat photo to the Telegram moderators. A chat photo can be reported only if chat.can_be_reported //@chat_id Chat identifier @file_id Identifier of the photo to report. Only full photos from chatPhoto can be reported @reason The reason for reporting the chat photo @text Additional report details; 0-1024 characters reportChatPhoto chat_id:int53 file_id:int32 reason:ChatReportReason text:string = Ok;