diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index e2d353ad4..c2ab227c4 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -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"; diff --git a/Telegram/Resources/tl/api.tl b/Telegram/Resources/tl/api.tl index 015391c6c..a0719f510 100644 --- a/Telegram/Resources/tl/api.tl +++ b/Telegram/Resources/tl/api.tl @@ -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 = 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; diff --git a/Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp b/Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp index cbd30e0ad..5c10aed50 100644 --- a/Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp +++ b/Telegram/SourceFiles/boxes/filters/edit_filter_links.cpp @@ -1051,7 +1051,6 @@ public: private: const not_null _controller; - const FilterId _id = 0; InviteLinkData _data; }; @@ -1061,7 +1060,6 @@ LinkChatsController::LinkChatsController( FilterId id, const InviteLinkData &data) : _controller(controller) -, _id(id) , _data(data) { }