diff --git a/src/TL.MTProto.cs b/src/TL.MTProto.cs
index a44c017..47564bd 100644
--- a/src/TL.MTProto.cs
+++ b/src/TL.MTProto.cs
@@ -1,6 +1,4 @@
-// This file is generated automatically
-using System;
-using System.Collections.Generic;
+using System;
using System.Threading.Tasks;
namespace TL
diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs
index 055a346..47ed9f8 100644
--- a/src/TL.Schema.cs
+++ b/src/TL.Schema.cs
@@ -1,5 +1,4 @@
-// This file is generated automatically
-using System;
+using System;
using System.Collections.Generic;
using System.Threading.Tasks;
@@ -1809,7 +1808,7 @@ namespace TL
public string emoticon;
}
- /// Object describing actions connected to a service message. Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , See
+ /// Object describing actions connected to a service message. Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , See
/// a null value means messageActionEmpty
public abstract class MessageAction : IObject { }
/// Group created See
@@ -2954,7 +2953,7 @@ namespace TL
[TLDef(0x1BB00451)]
public class InputMessagesFilterPinned : MessagesFilter { }
- /// Object contains info on events occured. Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , See
+ /// Object contains info on events occured. Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , See
public abstract class Update : IObject { }
/// New message in a private chat or in a legacy group. See
[TLDef(0x1F2B0AFD)]
@@ -5937,7 +5936,7 @@ namespace TL
public BotCommand[] commands;
}
- /// Bot or inline keyboard buttons Derived classes: , , , , , , , , , , See
+ /// Bot or inline keyboard buttons Derived classes: , , , , , , , , , , , , See
public abstract class KeyboardButtonBase : IObject
{
/// Button text
@@ -6174,7 +6173,7 @@ namespace TL
public KeyboardButtonRow[] rows;
}
- /// Message entities, representing styled text in a message Derived classes: , , , , , , , , , , , , , , , , , , See
+ /// Message entities, representing styled text in a message Derived classes: , , , , , , , , , , , , , , , , , , , See
public abstract class MessageEntity : IObject
{
/// Offset of message entity within message (in UTF-8 codepoints)
@@ -6433,6 +6432,7 @@ namespace TL
[TLDef(0x35A8BFA7)]
public partial class ChannelParticipantSelf : ChannelParticipantBase
{
+ /// Flags, see TL conditional fields
public Flags flags;
/// User ID
public long user_id;
@@ -7278,7 +7278,7 @@ namespace TL
MissedCall = 0xD61AD6EE,
}
- /// Type of the verification code that was sent Derived classes: , , , See
+ /// Type of the verification code that was sent Derived classes: , , , , See
public abstract class Auth_SentCodeType : IObject { }
/// The code was sent through the telegram app See
[TLDef(0x3DBB5986)]
@@ -9098,7 +9098,7 @@ namespace TL
}
}
- /// Channel admin log event Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , See
+ /// Channel admin log event Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , See
public abstract class ChannelAdminLogEventAction : IObject { }
/// Channel/supergroup title was changed See
[TLDef(0xE6DFB825)]
@@ -11033,7 +11033,7 @@ namespace TL
has_settings = 0x8,
/// Field has a value
has_installs_count = 0x10,
- /// Whether this theme is meant to be used as a chat theme
+ /// Whether this theme is meant to be used as a chat theme
for_chat = 0x20,
/// Field has a value
has_emoticon = 0x40,
@@ -12081,6 +12081,7 @@ namespace TL
[TLDef(0x8C5ADFD9)]
public class ChatInviteImporter : IObject
{
+ /// Flags, see TL conditional fields
public Flags flags;
/// The user
public long user_id;
@@ -12369,6 +12370,7 @@ namespace TL
[TLDef(0x147EE23C)]
public class Messages_SearchResultsCalendar : IObject, IPeerResolver
{
+ /// Flags, see TL conditional fields
public Flags flags;
public int count;
public DateTime min_date;
@@ -12389,7 +12391,7 @@ namespace TL
public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats);
}
- /// See
+ /// Derived classes: See
public abstract class SearchResultsPosition : IObject { }
/// See
[TLDef(0x7F648B67)]
@@ -12445,6 +12447,7 @@ namespace TL
[TLDef(0xC3A2835F)]
public class Auth_LoggedOut : IObject
{
+ /// Flags, see TL conditional fields
public Flags flags;
[IfFlag(0)] public byte[] future_auth_token;
@@ -12497,6 +12500,7 @@ namespace TL
[TLDef(0x31BD492D)]
public class Messages_MessageReactionsList : IObject, IPeerResolver
{
+ /// Flags, see TL conditional fields
public Flags flags;
public int count;
public MessagePeerReaction[] reactions;
@@ -12517,6 +12521,7 @@ namespace TL
[TLDef(0xC077EC01)]
public class AvailableReaction : IObject
{
+ /// Flags, see TL conditional fields
public Flags flags;
public string reaction;
public string title;
@@ -12545,7 +12550,7 @@ namespace TL
public AvailableReaction[] reactions;
}
- /// See
+ /// Derived classes: , See
public abstract class Messages_TranslatedText : IObject { }
/// See
[TLDef(0x67CA4737)]
@@ -12561,6 +12566,7 @@ namespace TL
[TLDef(0x51B67EFF)]
public class MessagePeerReaction : IObject
{
+ /// Flags, see TL conditional fields
public Flags flags;
public Peer peer_id;
/// Reaction (UTF8 emoji)
@@ -12662,7 +12668,7 @@ namespace TL
query = query,
});
- /// Send the verification code for login See Possible codes: 303,400,401,406 (details)
+ /// Send the verification code for login See Possible codes: 400,406,500 (details)
/// Phone number in international format
/// Application identifier (see App configuration)
/// Application secret hash (see App configuration)
@@ -12676,7 +12682,7 @@ namespace TL
settings = settings,
});
- /// Registers a validated phone number in the system. See Possible codes: 400 (details)
+ /// Registers a validated phone number in the system. See Possible codes: 400,406 (details)
/// Phone number in the international format
/// SMS-message ID
/// New user first name
@@ -12690,7 +12696,7 @@ namespace TL
last_name = last_name,
});
- /// Signs in a user with a validated phone number. See Possible codes: 400 (details)
+ /// Signs in a user with a validated phone number. See Possible codes: 400,406,500 (details)
/// Phone number in the international format
/// SMS-message ID, obtained from auth.sendCode
/// Valid numerical code from the SMS-message
@@ -12746,7 +12752,7 @@ namespace TL
encrypted_message = encrypted_message,
});
- /// Login as a bot See [bots: ✓] Possible codes: 400,401 (details)
+ /// Login as a bot See [bots: ✓] Possible codes: 400 (details)
/// Application identifier (see. App configuration)
/// Application identifier hash (see. App configuration)
/// Bot token (see bots)
@@ -12794,7 +12800,7 @@ namespace TL
phone_code_hash = phone_code_hash,
});
- /// Cancel the login verification code See Possible codes: 400 (details)
+ /// Cancel the login verification code See Possible codes: 400,406 (details)
/// Phone number
/// Phone code hash from auth.sendCode
public static Task Auth_CancelCode(this Client client, string phone_number, string phone_code_hash)
@@ -12952,7 +12958,7 @@ namespace TL
username = username,
});
- /// Changes username for the current user. See Possible codes: 400,401 (details)
+ /// Changes username for the current user. See Possible codes: 400 (details)
/// username or empty string if username is to be removed
Accepted characters: a-z (case-insensitive), 0-9 and underscores.
Length: 5-32 characters.
public static Task Account_UpdateUsername(this Client client, string username)
=> client.Invoke(new Account_UpdateUsername
@@ -13010,7 +13016,7 @@ namespace TL
settings = settings,
});
- /// Change the phone number of the current account See Possible codes: 400 (details)
+ /// Change the phone number of the current account See Possible codes: 400,406 (details)
/// New phone number
/// Phone code hash received when calling account.sendChangePhoneCode
/// Phone code received when calling account.sendChangePhoneCode
@@ -13340,8 +13346,8 @@ namespace TL
});
/// Change media autodownload settings See
- /// Whether to save settings in the low data usage preset
- /// Whether to save settings in the high data usage preset
+ /// Whether to save media in the low data usage preset
+ /// Whether to save media in the high data usage preset
/// Media autodownload settings
public static Task Account_SaveAutoDownloadSettings(this Client client, AutoDownloadSettings settings, bool low = false, bool high = false)
=> client.Invoke(new Account_SaveAutoDownloadSettings
@@ -13411,8 +13417,8 @@ namespace TL
/// Install a theme See
/// Whether to install the dark version
- /// Theme format, a string that identifies the theming engines supported by the client
/// Theme to install
+ /// Theme format, a string that identifies the theming engines supported by the client
public static Task Account_InstallTheme(this Client client, bool dark = false, InputThemeBase theme = null, string format = null, BaseTheme base_theme = default)
=> client.Invoke(new Account_InstallTheme
{
@@ -13516,14 +13522,14 @@ namespace TL
hash = hash,
});
- /// See
+ /// See [bots: ✓] Possible codes: 406 (details)
public static Task Account_SetAuthorizationTTL(this Client client, int authorization_ttl_days)
=> client.Invoke(new Account_SetAuthorizationTTL
{
authorization_ttl_days = authorization_ttl_days,
});
- /// See
+ /// See [bots: ✓] Possible codes: 400 (details)
public static Task Account_ChangeAuthorizationSettings(this Client client, long hash, bool? encrypted_requests_disabled = default, bool? call_requests_disabled = default)
=> client.Invoke(new Account_ChangeAuthorizationSettings
{
@@ -13533,7 +13539,7 @@ namespace TL
call_requests_disabled = call_requests_disabled.GetValueOrDefault(),
});
- /// Returns basic user info according to their identifiers. See [bots: ✓] Possible codes: 400,401 (details)
+ /// Returns basic user info according to their identifiers. See [bots: ✓] Possible codes: 400 (details)
/// List of user identifiers
public static Task Users_GetUsers(this Client client, InputUserBase[] id)
=> client.Invoke(new Users_GetUsers
@@ -13642,7 +13648,7 @@ namespace TL
limit = limit,
});
- /// Resolve a @username to get peer info See [bots: ✓] Possible codes: 400,401 (details)
+ /// Resolve a @username to get peer info See [bots: ✓] Possible codes: 400 (details)
/// @username to resolve
public static Task Contacts_ResolveUsername(this Client client, string username)
=> client.Invoke(new Contacts_ResolveUsername
@@ -13778,7 +13784,7 @@ namespace TL
hash = hash,
});
- /// Gets back the conversation history with one interlocutor / within a chat See Possible codes: 400,401 (details)
+ /// Gets back the conversation history with one interlocutor / within a chat See Possible codes: 400 (details)
/// Target peer
/// Only return messages starting from the specified message ID
/// Only return messages sent before the specified date
@@ -13858,7 +13864,7 @@ namespace TL
max_date = max_date.GetValueOrDefault(),
});
- /// ⚠ This method is only for small private Chat. See Terminology to understand what this means
Search for a similar method name starting with Channels_ if you're dealing with a Deletes messages by their identifiers. See [bots: ✓] Possible codes: 403 (details)
+ /// ⚠ This method is only for small private Chat. See Terminology to understand what this means
Search for a similar method name starting with Channels_ if you're dealing with a Deletes messages by their identifiers. See [bots: ✓] Possible codes: 400,403 (details)
/// Whether to delete messages for all participants of the chat
/// Message ID list
public static Task Messages_DeleteMessages(this Client client, int[] id, bool revoke = false)
@@ -13889,7 +13895,7 @@ namespace TL
action = action,
});
- /// Sends a message to a chat See [bots: ✓] Possible codes: 400,401,403,420 (details)
+ /// Sends a message to a chat See [bots: ✓] Possible codes: 400,403,420,500 (details)
/// Set this flag to disable generation of the webpage preview
/// Send this message silently (no notifications for the receivers)
/// Send this message as background message
@@ -13915,7 +13921,7 @@ namespace TL
send_as = send_as,
});
- /// Send a media See [bots: ✓] Possible codes: 400,403,420 (details)
+ /// Send a media See [bots: ✓] Possible codes: 400,403,420,500 (details)
/// Send message silently (no notification should be triggered)
/// Send message in background
/// Clear the draft
@@ -13942,7 +13948,7 @@ namespace TL
send_as = send_as,
});
- /// Forwards messages by their IDs. See [bots: ✓] Possible codes: 400,403,420 (details)
+ /// Forwards messages by their IDs. See [bots: ✓] Possible codes: 400,403,406,420,500 (details)
/// Whether to send messages silently (no notification will be triggered on the destination clients)
/// Whether to send the message in background
/// When forwarding games, whether to include your score in the game
@@ -14055,7 +14061,7 @@ namespace TL
user_id = user_id,
});
- /// Creates a new chat. See Possible codes: 400,403 (details)
+ /// Creates a new chat. See Possible codes: 400,403,500 (details)
/// List of user IDs to be invited
/// Chat name
public static Task Messages_CreateChat(this Client client, InputUserBase[] users, string title)
@@ -14242,7 +14248,7 @@ namespace TL
title = title,
});
- /// Check the validity of a chat invite link and get basic info about it See Possible codes: 400 (details)
+ /// Check the validity of a chat invite link and get basic info about it See Possible codes: 400,406 (details)
/// Invite hash in t.me/joinchat/hash
public static Task Messages_CheckChatInvite(this Client client, string hash)
=> client.Invoke(new Messages_CheckChatInvite
@@ -14250,7 +14256,7 @@ namespace TL
hash = hash,
});
- /// Import a chat invite and join a private chat/supergroup/channel See Possible codes: 400 (details)
+ /// Import a chat invite and join a private chat/supergroup/channel See Possible codes: 400,406 (details)
/// hash from t.me/joinchat/hash
public static Task Messages_ImportChatInvite(this Client client, string hash)
=> client.Invoke(new Messages_ImportChatInvite
@@ -14258,7 +14264,7 @@ namespace TL
hash = hash,
});
- /// Get info about a stickerset See [bots: ✓] Possible codes: 400 (details)
+ /// Get info about a stickerset See [bots: ✓] Possible codes: 406 (details)
/// Stickerset
/// a null value means messages.stickerSetNotModified
public static Task Messages_GetStickerSet(this Client client, InputStickerSet stickerset, int hash = default)
@@ -14286,7 +14292,7 @@ namespace TL
stickerset = stickerset,
});
- /// Start a conversation with a bot using a deep linking parameter See Possible codes: 400 (details)
+ /// Start a conversation with a bot using a deep linking parameter See Possible codes: 400,500 (details)
/// The bot
/// The chat where to start the bot, can be the bot's private chat or a group
/// Random ID to avoid resending the same message
@@ -14398,7 +14404,7 @@ namespace TL
unsave = unsave,
});
- /// Query an inline bot See Possible codes: -503,400 (details)
+ /// Query an inline bot See Possible codes: 400,-503 (details)
/// The bot to query
/// The currently opened chat
/// The geolocation, if requested
@@ -14434,7 +14440,7 @@ namespace TL
switch_pm = switch_pm,
});
- /// Send a result obtained using messages.getInlineBotResults. See Possible codes: 400,403,420 (details)
+ /// Send a result obtained using messages.getInlineBotResults. See Possible codes: 400,403,420,500 (details)
/// Whether to send the message silently (no notification will be triggered on the other client)
/// Whether to send the message in background
/// Whether to clear the draft
@@ -14508,7 +14514,7 @@ namespace TL
entities = entities,
});
- /// Press an inline callback button and get a callback answer from the bot See Possible codes: -503,400 (details)
+ /// Press an inline callback button and get a callback answer from the bot See Possible codes: 400,-503 (details)
/// Whether this is a "play game" button
/// Where was the inline keyboard sent
/// ID of the Message with the inline keyboard
@@ -14865,7 +14871,7 @@ namespace TL
hash = hash,
});
- /// Send an album or grouped media See [bots: ✓] Possible codes: 400,420 (details)
+ /// Send an album or grouped media See [bots: ✓] Possible codes: 400,403,420,500 (details)
/// Whether to send the album silently (no notification triggered)
/// Send in background?
/// Whether to clear drafts
@@ -14914,7 +14920,7 @@ namespace TL
{
});
- /// Manually mark dialog as unread See
+ /// Manually mark dialog as unread See Possible codes: 400 (details)
/// Mark as unread/read
/// Dialog
public static Task Messages_MarkDialogUnread(this Client client, InputDialogPeerBase peer, bool unread = false)
@@ -15310,7 +15316,7 @@ namespace TL
import_id = import_id,
});
- /// Get info about the chat invites of a specific chat See
+ /// Get info about the chat invites of a specific chat See Possible codes: 400 (details)
/// Whether to fetch revoked chat invites
/// Chat
/// Whether to only fetch chat invites from this admin
@@ -15328,7 +15334,7 @@ namespace TL
limit = limit,
});
- /// Get info about a chat invite See
+ /// Get info about a chat invite See Possible codes: 400 (details)
/// Chat
/// Invite link
public static Task Messages_GetExportedChatInvite(this Client client, InputPeer peer, string link)
@@ -15366,7 +15372,7 @@ namespace TL
admin_id = admin_id,
});
- /// Delete a chat invite See
+ /// Delete a chat invite See Possible codes: (details)
/// Peer
/// Invite link
public static Task Messages_DeleteExportedChatInvite(this Client client, InputPeer peer, string link)
@@ -15376,7 +15382,7 @@ namespace TL
link = link,
});
- /// Get info about chat invites generated by admins. See
+ /// Get info about chat invites generated by admins. See Possible codes: 400,403 (details)
/// Chat
public static Task Messages_GetAdminsWithInvites(this Client client, InputPeer peer)
=> client.Invoke(new Messages_GetAdminsWithInvites
@@ -15384,7 +15390,7 @@ namespace TL
peer = peer,
});
- /// Get info about the users that joined the chat using a specific chat invite See
+ /// Get info about the users that joined the chat using a specific chat invite See Possible codes: 400 (details)
/// Chat
/// Invite link
/// Offsets for pagination, for more info click here
@@ -15440,7 +15446,7 @@ namespace TL
msg_id = msg_id,
});
- /// See
+ /// See [bots: ✓] Possible codes: (details)
public static Task Messages_GetSearchResultsCalendar(this Client client, InputPeer peer, MessagesFilter filter, int offset_id = default, DateTime offset_date = default)
=> client.Invoke(new Messages_GetSearchResultsCalendar
{
@@ -15450,7 +15456,7 @@ namespace TL
offset_date = offset_date,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_GetSearchResultsPositions(this Client client, InputPeer peer, MessagesFilter filter, int offset_id = default, int limit = int.MaxValue)
=> client.Invoke(new Messages_GetSearchResultsPositions
{
@@ -15460,7 +15466,7 @@ namespace TL
limit = limit,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_HideChatJoinRequest(this Client client, InputPeer peer, InputUserBase user_id, bool approved = false)
=> client.Invoke(new Messages_HideChatJoinRequest
{
@@ -15469,7 +15475,7 @@ namespace TL
user_id = user_id,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_HideAllChatJoinRequests(this Client client, InputPeer peer, bool approved = false, string link = null)
=> client.Invoke(new Messages_HideAllChatJoinRequests
{
@@ -15478,7 +15484,7 @@ namespace TL
link = link,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_ToggleNoForwards(this Client client, InputPeer peer, bool enabled)
=> client.Invoke(new Messages_ToggleNoForwards
{
@@ -15486,7 +15492,7 @@ namespace TL
enabled = enabled,
});
- /// See
+ /// See [bots: ✓] Possible codes: 400 (details)
public static Task Messages_SaveDefaultSendAs(this Client client, InputPeer peer, InputPeer send_as)
=> client.Invoke(new Messages_SaveDefaultSendAs
{
@@ -15521,7 +15527,7 @@ namespace TL
/// Peer
/// Message ID
/// Get only reactions of this type (UTF8 emoji)
- /// Offset (typically taken from the next_offset field of the returned )
+ /// Offset (typically taken from the next_offset field of the returned )
/// Maximum number of results to return, see pagination
public static Task Messages_GetMessageReactionsList(this Client client, InputPeer peer, int id, int limit = int.MaxValue, string reaction = null, string offset = null)
=> client.Invoke(new Messages_GetMessageReactionsList
@@ -15534,7 +15540,7 @@ namespace TL
limit = limit,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_SetChatAvailableReactions(this Client client, InputPeer peer, string[] available_reactions)
=> client.Invoke(new Messages_SetChatAvailableReactions
{
@@ -15542,7 +15548,7 @@ namespace TL
available_reactions = available_reactions,
});
- /// See
+ /// See [bots: ✓]
/// a null value means messages.availableReactionsNotModified
public static Task Messages_GetAvailableReactions(this Client client, int hash = default)
=> client.Invoke(new Messages_GetAvailableReactions
@@ -15550,14 +15556,14 @@ namespace TL
hash = hash,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_SetDefaultReaction(this Client client, string reaction)
=> client.Invoke(new Messages_SetDefaultReaction
{
reaction = reaction,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_TranslateText(this Client client, string to_lang, InputPeer peer = null, int? msg_id = null, string text = null, string from_lang = null)
=> client.Invoke(new Messages_TranslateText
{
@@ -15569,7 +15575,7 @@ namespace TL
to_lang = to_lang,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_GetUnreadReactions(this Client client, InputPeer peer, int offset_id = default, int add_offset = default, int limit = int.MaxValue, int max_id = default, int min_id = default)
=> client.Invoke(new Messages_GetUnreadReactions
{
@@ -15581,7 +15587,7 @@ namespace TL
min_id = min_id,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_ReadReactions(this Client client, InputPeer peer)
=> client.Invoke(new Messages_ReadReactions
{
@@ -15594,7 +15600,7 @@ namespace TL
{
});
- /// Get new updates. See [bots: ✓] Possible codes: 400,401,403 (details)
+ /// Get new updates. See [bots: ✓] Possible codes: 400,403 (details)
/// PTS, see updates.
/// For fast updating: if provided and pts + pts_total_limit < remote pts, will be returned.
Simply tells the server to not return the difference if it is bigger than pts_total_limit
If the remote pts is too big (> ~4000000), this field will default to 1000000
/// date, see updates.
@@ -15609,7 +15615,7 @@ namespace TL
qts = qts,
});
- /// Returns the difference between the current state of updates of a certain channel and transmitted. See [bots: ✓] Possible codes: 400,403 (details)
+ /// Returns the difference between the current state of updates of a certain channel and transmitted. See [bots: ✓] Possible codes: 400,403,500 (details)
/// Set to true to skip some possibly unneeded updates and reduce server-side load
/// The channel
/// Messsage filter
@@ -15680,7 +15686,7 @@ namespace TL
bytes = bytes,
});
- /// Returns content of a whole file or its part. See [bots: ✓] Possible codes: 400,401,406 (details)
+ /// Returns content of a whole file or its part. See [bots: ✓] Possible codes: 400,406 (details)
/// Disable some checks on limit and offset values, useful for example to stream videos by keyframes
/// Whether the current client supports CDN downloads
/// File location
@@ -15814,7 +15820,7 @@ namespace TL
message = message,
});
- /// Get configuration for CDN file downloads. See [bots: ✓] Possible codes: 401 (details)
+ /// Get configuration for CDN file downloads. See [bots: ✓]
public static Task Help_GetCdnConfig(this Client client)
=> client.Invoke(new Help_GetCdnConfig
{
@@ -16013,7 +16019,7 @@ namespace TL
id = id,
});
- /// Get full info about a channel See [bots: ✓] Possible codes: 400,403 (details)
+ /// Get full info about a channel See [bots: ✓] Possible codes: 400,403,406 (details)
/// The channel to get info about
public static Task Channels_GetFullChannel(this Client client, InputChannelBase channel)
=> client.Invoke(new Channels_GetFullChannel
@@ -16021,7 +16027,7 @@ namespace TL
channel = channel,
});
- /// Create a supergroup/channel. See Possible codes: 400,403 (details)
+ /// Create a supergroup/channel. See Possible codes: 400,406 (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
@@ -16093,7 +16099,7 @@ namespace TL
username = username,
});
- /// Join a channel/supergroup See Possible codes: 400 (details)
+ /// Join a channel/supergroup See Possible codes: 400,406 (details)
/// Channel/supergroup to join
public static Task Channels_JoinChannel(this Client client, InputChannelBase channel)
=> client.Invoke(new Channels_JoinChannel
@@ -16119,7 +16125,7 @@ namespace TL
users = users,
});
- /// Delete a channel/supergroup See Possible codes: 400,403 (details)
+ /// Delete a channel/supergroup See Possible codes: 400,403,406 (details)
/// Channel/supergroup to delete
public static Task Channels_DeleteChannel(this Client client, InputChannelBase channel)
=> client.Invoke(new Channels_DeleteChannel
@@ -16322,14 +16328,14 @@ namespace TL
channel = channel,
});
- /// See
+ /// See [bots: ✓] Possible codes: 400 (details)
public static Task Channels_GetSendAs(this Client client, InputPeer peer)
=> client.Invoke(new Channels_GetSendAs
{
peer = peer,
});
- /// See
+ /// See [bots: ✓] Possible codes: 400 (details)
public static Task Channels_DeleteParticipantHistory(this Client client, InputChannelBase channel, InputPeer participant)
=> client.Invoke(new Channels_DeleteParticipantHistory
{
@@ -16337,7 +16343,7 @@ namespace TL
participant = participant,
});
- /// Sends a custom request; for bots only See [bots: ✓] Possible codes: 400 (details)
+ /// Sends a custom request; for bots only See [bots: ✓] Possible codes: 400,403 (details)
/// The method name
/// JSON-serialized method parameters
public static Task Bots_SendCustomRequest(this Client client, string custom_method, DataJSON params_)
@@ -16347,7 +16353,7 @@ namespace TL
params_ = params_,
});
- /// Answers a custom query; for bots only See [bots: ✓] Possible codes: 400 (details)
+ /// Answers a custom query; for bots only See [bots: ✓] Possible codes: 400,403 (details)
/// Identifier of a custom query
/// JSON-serialized answer to the query
public static Task Bots_AnswerWebhookJSONQuery(this Client client, long query_id, DataJSON data)
@@ -16556,7 +16562,7 @@ namespace TL
{
});
- /// Start a telegram phone call See Possible codes: 400,403 (details)
+ /// Start a telegram phone call See Possible codes: 400,403,500 (details)
/// Whether to start a video call
/// Destination of the phone call
/// Random ID to avoid resending the same object
@@ -16572,7 +16578,7 @@ namespace TL
protocol = protocol,
});
- /// Accept incoming call See Possible codes: 400 (details)
+ /// Accept incoming call See Possible codes: 400,500 (details)
/// The call to accept
/// Parameter for E2E encryption key exchange »
/// Phone call settings
@@ -16728,7 +16734,7 @@ namespace TL
join_muted = join_muted.GetValueOrDefault(),
});
- /// Get info about a group call See
+ /// Get info about a group call See Possible codes: (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)
diff --git a/src/TL.Secret.cs b/src/TL.Secret.cs
index 4e657a6..34be440 100644
--- a/src/TL.Secret.cs
+++ b/src/TL.Secret.cs
@@ -1,6 +1,4 @@
-// This file is generated automatically
-using System;
-using System.Collections.Generic;
+using System;
namespace TL
{
diff --git a/src/TL.Table.cs b/src/TL.Table.cs
index 0b08d76..1edcbd6 100644
--- a/src/TL.Table.cs
+++ b/src/TL.Table.cs
@@ -1,5 +1,4 @@
-// This file is generated automatically
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel;