Update API scheme on layer 158.

This commit is contained in:
John Preston 2023-04-06 14:32:38 +04:00
parent 2f261e6f7b
commit b4a588a676
3 changed files with 3 additions and 4 deletions

View File

@ -3580,7 +3580,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_filters_link_private_status" = "you can't share private chats";
"lng_filters_link_private_error" = "Private chats can't be shared.";
"lng_filters_link_noadmin_status" = "you can't invite others here";
"lng_filters_link_noadmin_group_error" = "You don't have the admin rights to share invite links to this private group chat.";
"lng_filters_link_noadmin_group_error" = "You don't have the admin rights to share invite links to this private group.";
"lng_filters_link_noadmin_channel_error" = "You don't have the admin rights to share invite links to this private channel.";
"lng_filters_link_already_group" = "you are already a member";
"lng_filters_link_already_channel" = "you are already subscribed";

View File

@ -617,7 +617,7 @@ keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
keyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton;
keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton;
keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton;
keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton;
keyboardButtonSwitchInline#93b9fbb5 flags:# same_peer:flags.0?true text:string query:string peer_types:flags.1?Vector<InlineQueryPeerType> = KeyboardButton;
keyboardButtonGame#50f41ccf text:string = KeyboardButton;
keyboardButtonBuy#afd93fbb text:string = KeyboardButton;
keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton;
@ -1301,6 +1301,7 @@ inlineQueryPeerTypePM#833c0fac = InlineQueryPeerType;
inlineQueryPeerTypeChat#d766c50a = InlineQueryPeerType;
inlineQueryPeerTypeMegagroup#5ec4be43 = InlineQueryPeerType;
inlineQueryPeerTypeBroadcast#6334ee9a = InlineQueryPeerType;
inlineQueryPeerTypeBotPM#e3b2d0c = InlineQueryPeerType;
messages.historyImport#1662af0b id:long = messages.HistoryImport;

View File

@ -1051,7 +1051,6 @@ public:
private:
const not_null<Window::SessionController*> _controller;
const FilterId _id = 0;
InviteLinkData _data;
};
@ -1061,7 +1060,6 @@ LinkChatsController::LinkChatsController(
FilterId id,
const InviteLinkData &data)
: _controller(controller)
, _id(id)
, _data(data) {
}