diff --git a/.github/dev.yml b/.github/dev.yml index 575c2b5..7e13821 100644 --- a/.github/dev.yml +++ b/.github/dev.yml @@ -2,7 +2,7 @@ trigger: - master -name: 3.5.2-dev.$(Rev:r) +name: 3.5.4-dev.$(Rev:r) pool: vmImage: ubuntu-latest diff --git a/.github/release.yml b/.github/release.yml index 352507d..b9e21be 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -8,6 +8,7 @@ pool: variables: buildConfiguration: 'Release' + releaseNotes: $[replace(variables['releaseNotes'], '"', '''''')] stages: - stage: publish diff --git a/Examples/ASPnet_webapp.zip b/Examples/ASPnet_webapp.zip index 3b1ee95..f1183ce 100644 Binary files a/Examples/ASPnet_webapp.zip and b/Examples/ASPnet_webapp.zip differ diff --git a/Examples/WinForms_app.zip b/Examples/WinForms_app.zip index e04d6b7..419b21b 100644 Binary files a/Examples/WinForms_app.zip and b/Examples/WinForms_app.zip differ diff --git a/src/TL.SchemaFuncs.cs b/src/TL.SchemaFuncs.cs index a8df2b4..6025b6a 100644 --- a/src/TL.SchemaFuncs.cs +++ b/src/TL.SchemaFuncs.cs @@ -1159,7 +1159,7 @@ namespace TL id = id, }); - /// Returns extended user info by ID. See [bots: ✓] Possible codes: 400 (details) + /// Returns extended user info by ID. See [bots: ✓] Possible codes: 400,500 (details) /// User ID public static Task Users_GetFullUser(this Client client, InputUserBase id) => client.Invoke(new Users_GetFullUser @@ -1834,7 +1834,7 @@ namespace TL file = file, }); - /// Sends a service message to a secret chat. See Possible codes: 400,403 (details) + /// Sends a service message to a secret chat. See Possible codes: 400,403,500 (details) /// Secret chat ID /// Unique client message ID required to prevent message resending You can use /// TL-serialization of type, encrypted with a key generated during chat initialization @@ -1846,7 +1846,7 @@ namespace TL data = data, }); - /// Confirms receipt of messages in a secret chat by client, cancels push notifications.
The method returns a list of random_ids of messages for which push notifications were cancelled. See Possible codes: 400 (details)
+ /// Confirms receipt of messages in a secret chat by client, cancels push notifications.
The method returns a list of random_ids of messages for which push notifications were cancelled. See Possible codes: 400,500 (details)
/// Maximum qts value available at the client public static Task Messages_ReceivedQueue(this Client client, int max_qts) => client.Invoke(new Messages_ReceivedQueue @@ -1919,7 +1919,7 @@ namespace TL title = title, }); - /// Check the validity of a chat invite link and get basic info about it See Possible codes: 400,406 (details) + /// Check the validity of a chat invite link and get basic info about it See Possible codes: 400,406,500 (details) /// Invite hash from chat invite deep link ». public static Task Messages_CheckChatInvite(this Client client, string hash) => client.Invoke(new Messages_CheckChatInvite @@ -2461,7 +2461,7 @@ namespace TL error = error, }); - /// Upload a file and associate it to a chat (without actually sending it to the chat) See [bots: ✓] Possible codes: 400,403 (details) + /// Upload a file and associate it to a chat (without actually sending it to the chat) See [bots: ✓] Possible codes: 400,403,500 (details) /// The chat, can be for bots and for users. /// File uploaded in chunks as described in files » /// a null value means messageMediaEmpty @@ -2976,7 +2976,7 @@ namespace TL media_count = media_count, }); - /// Upload a media file associated with an imported chat, click here for more info ». See + /// Upload a media file associated with an imported chat, click here for more info ». See Possible codes: 400 (details) /// The Telegram chat where the media will be imported /// Identifier of a history import session, returned by Messages_InitHistoryImport /// File name @@ -3494,7 +3494,7 @@ namespace TL hash = hash, }); - /// Report a message reaction See + /// Report a message reaction See Possible codes: 400 (details) /// Peer where the message was sent /// Message ID /// Peer that sent the reaction @@ -3620,7 +3620,7 @@ namespace TL peer = peer, }); - /// Obtain information about a named bot web app See [bots: ✓] Possible codes: 400 (details) + /// Obtain information about a named bot web app See Possible codes: 400 (details) /// Bot app information obtained from a named bot web app deep link ». /// Hash for pagination, for more info click here public static Task Messages_GetBotApp(this Client client, InputBotApp app, long hash = default) @@ -3630,7 +3630,7 @@ namespace TL hash = hash, }); - /// Open a bot web app from a named bot web app deep link, sending over user information after user confirmation. See [bots: ✓] + /// Open a bot web app from a named bot web app deep link, sending over user information after user confirmation. See /// Set this flag if the bot is asking permission to send messages to the user as specified in the named bot web app deep link docs, and the user agreed. /// If the client has clicked on the link in a Telegram chat, pass the chat's peer information; otherwise pass the bot's peer information, instead. /// The app obtained by invoking Messages_GetBotApp as specified in the named bot web app deep link docs. @@ -3702,7 +3702,7 @@ namespace TL limit = limit, }); - /// Installs a previously uploaded photo as a profile photo. See [bots: ✓] Possible codes: 400 (details) + /// Installs a previously uploaded photo as a profile photo. See [bots: ✓] Possible codes: 400,500 (details) /// If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings. /// Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user. /// Input photo @@ -4136,7 +4136,7 @@ namespace TL channel = channel, }); - /// Create a supergroup/channel. See Possible codes: 400,406 (details) + /// Create a supergroup/channel. See Possible codes: 400,406,500 (details) /// Whether to create a channel /// Whether to create a supergroup /// Whether the supergroup is being created to import messages from a foreign chat service using Messages_InitHistoryImport @@ -4211,7 +4211,7 @@ namespace TL username = username, }); - /// Join a channel/supergroup See Possible codes: 400,406 (details) + /// Join a channel/supergroup See Possible codes: 400,406,500 (details) /// Channel/supergroup to join public static Task Channels_JoinChannel(this Client client, InputChannelBase channel) => client.Invoke(new Channels_JoinChannel @@ -4521,7 +4521,7 @@ namespace TL enabled = enabled, }); - /// Create a forum topic; requires manage_topics rights. See [bots: ✓] Possible codes: 400 (details) + /// Create a forum topic; requires manage_topics rights. See [bots: ✓] Possible codes: 400,403 (details) /// The forum /// Topic title (maximum UTF-8 length: 128) /// If no custom emoji icon is specified, specifies the color of the fallback topic icon (RGB), one of 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, or 0xFB6F5F. @@ -4540,7 +4540,7 @@ namespace TL send_as = send_as, }); - /// Get topics of a forum See [bots: ✓] Possible codes: 400 (details) + /// Get topics of a forum See Possible codes: 400 (details) /// Supergroup /// Search query /// Offsets for pagination, for more info click here @@ -4559,7 +4559,7 @@ namespace TL limit = limit, }); - /// Get forum topics by their ID See [bots: ✓] + /// Get forum topics by their ID See [bots: ✓] Possible codes: 400 (details) /// Forum /// Topic IDs public static Task Channels_GetForumTopicsByID(this Client client, InputChannelBase channel, params int[] topics) @@ -4600,7 +4600,7 @@ namespace TL pinned = pinned, }); - /// Delete message history of a forum topic See [bots: ✓] + /// Delete message history of a forum topic See [bots: ✓] Possible codes: 400 (details) /// Forum /// Topic ID public static Task Channels_DeleteTopicHistory(this Client client, InputChannelBase channel, int top_msg_id) @@ -5156,7 +5156,7 @@ namespace TL /// If set, the user's video will be disabled by default upon joining. /// The group call /// Join the group call, presenting yourself as the specified user/channel - /// The invitation hash from the invite link », if provided allows speaking in a livestream or muted group chat. + /// The invitation hash from the invite link », if provided allows speaking in a livestream or muted group chat. /// WebRTC parameters public static Task Phone_JoinGroupCall(this Client client, InputGroupCall call, InputPeer join_as, DataJSON params_, string invite_hash = null, bool muted = false, bool video_stopped = false) => client.Invoke(new Phone_JoinGroupCall @@ -5208,7 +5208,7 @@ namespace TL join_muted = join_muted.GetValueOrDefault(), }); - /// Get info about a group call See Possible codes: 400 (details) + /// Get info about a group call See Possible codes: 400,403 (details) /// The group call /// Maximum number of results to return, see pagination public static Task Phone_GetGroupCall(this Client client, InputGroupCall call, int limit = int.MaxValue) @@ -5300,7 +5300,7 @@ namespace TL peer = peer, }); - /// Get an invite link for a group call or livestream See Possible codes: 403 (details) + /// Get an invite link for a group call or livestream See Possible codes: 403 (details) /// For livestreams or muted group chats, if set, users that join using this link will be able to speak without explicitly requesting permission by (for example by raising their hand). /// The group call public static Task Phone_ExportGroupCallInvite(this Client client, InputGroupCall call, bool can_self_unmute = false) @@ -5568,7 +5568,7 @@ namespace TL peers = peers, }); - /// Fetch new chats associated with an imported chat folder deep link ». Must be invoked at most every chatlist_update_period seconds (as per the related client configuration parameter »). See [bots: ✓] + /// Fetch new chats associated with an imported chat folder deep link ». Must be invoked at most every chatlist_update_period seconds (as per the related client configuration parameter »). See [bots: ✓] Possible codes: 400 (details) /// The folder public static Task Chatlists_GetChatlistUpdates(this Client client, InputChatlist chatlist) => client.Invoke(new Chatlists_GetChatlistUpdates