From e7637011e1c1bb7f596c989f5a2812dc26385f62 Mon Sep 17 00:00:00 2001 From: Wizou Date: Wed, 3 Nov 2021 18:20:54 +0100 Subject: [PATCH] xmldoc for RpcException possible errors and missing type descriptions --- .github/dev.yml | 2 +- src/Client.cs | 2 +- src/Generator.cs | 12 +- src/TL.Schema.cs | 2924 +++++++++++++++++++++++++--------------------- src/TL.Secret.cs | 104 +- src/TL.cs | 1 + 6 files changed, 1654 insertions(+), 1391 deletions(-) diff --git a/.github/dev.yml b/.github/dev.yml index 62ad830..b777fa0 100644 --- a/.github/dev.yml +++ b/.github/dev.yml @@ -2,7 +2,7 @@ pr: none trigger: - master -name: 1.6.3-dev.$(Rev:r) +name: 1.6.4-dev.$(Rev:r) pool: vmImage: ubuntu-latest diff --git a/src/Client.cs b/src/Client.cs index 59448ac..5558316 100644 --- a/src/Client.cs +++ b/src/Client.cs @@ -521,7 +521,7 @@ namespace WTelegram { 404 => "Auth key not found", 429 => "Transport flood", - _ => ((HttpStatusCode)error_code).ToString(), + _ => Enum.GetName(typeof(HttpStatusCode), error_code) ?? "Transport error" }; } diff --git a/src/Generator.cs b/src/Generator.cs index 6fbb029..009be0d 100644 --- a/src/Generator.cs +++ b/src/Generator.cs @@ -475,11 +475,11 @@ namespace WTelegram if (currentJson == "TL.MTProto") return null; var url = ctor.id == null ? $"type/{ctor.type}" : $"constructor/{ctor.predicate}"; var webDoc = ParseWebDoc(url); - var summary = webDoc?.GetValueOrDefault(ctor.predicate).descr; + var summary = webDoc?.GetValueOrDefault(ctor.id == null ? ctor.type : ctor.predicate).descr; var derived = webDoc?.GetValueOrDefault("Constructors").table; if (derived != null && !typeInfo.AsEnum) - summary += $"\t\t
Derived classes: {string.Join(", ", derived.Keys.Where(k => k != ""))}"; - summary += $"\t\t
See "; + summary += $"\t\tDerived classes: {string.Join(", ", derived.Keys.Where(k => k != ""))}"; + summary += $"\t\tSee "; sw.WriteLine($"{tabIndent}/// {summary.Trim()}"); if (typeInfo.Nullable != null && ctor == typeInfo.MainClass) sw.WriteLine($"{tabIndent}/// a null value means {typeInfo.Nullable.predicate}"); @@ -493,7 +493,7 @@ namespace WTelegram var summary = webDoc?.GetValueOrDefault(method.method).descr; var paramDoc = webDoc?.GetValueOrDefault("Parameters").table; var excepDoc = webDoc?.GetValueOrDefault("Possible errors").table; - summary += $"\t\t
See "; + summary += $"\t\tSee "; sw.WriteLine($"{tabIndent}/// {summary.Trim()}"); if (paramDoc != null) foreach (var (name, doc) in paramDoc) @@ -501,9 +501,10 @@ namespace WTelegram sw.WriteLine($"{tabIndent}/// {doc}"); if (typeInfos.GetValueOrDefault(method.type)?.Nullable is Constructor nullable) sw.WriteLine($"{tabIndent}/// a null value means {nullable.predicate}"); + if (excepDoc != null) + sw.WriteLine($"{tabIndent}/// Possible errors: {string.Join(",", new SortedSet(excepDoc.Keys))} (details)"); } - /// private Dictionary table)> ParseWebDoc(string url) { var path = $@"{Environment.GetEnvironmentVariable("telegram-crawler")}\data\corefork.telegram.org\{url}"; @@ -545,6 +546,7 @@ namespace WTelegram index = row.IndexOf("= 0) { + //if (!value.StartsWith("<") && value != "!X") name = $"{name} {value}"; index = row.IndexOf('>', index) + 1; value = row[index..row.IndexOf("Boolean type.
See + /// Boolean type. See public enum Bool : uint { ///Constructor may be interpreted as a booleanfalse value. @@ -17,11 +17,11 @@ namespace TL True = 0x997275B5, } - /// See predefined identifiers.
See
+ /// See predefined identifiers. See [TLDef(0x3FEDD339)] public partial class True : ITLObject { } - /// Error.
See
+ /// Error. See [TLDef(0xC4B9F9BB)] public partial class Error : ITLObject { @@ -31,25 +31,25 @@ namespace TL public string text; } - /// Corresponds to an arbitrary empty object.
See
+ /// Corresponds to an arbitrary empty object. See /// a null value means null [TLDef(0x56730BCC)] public partial class Null : ITLObject { } - /// Peer
Derived classes: , , , , ,
See
+ /// Peer Derived classes: , , , , , See /// a null value means inputPeerEmpty public abstract partial class InputPeer : ITLObject { } - /// Defines the current user.
See
+ /// Defines the current user. See [TLDef(0x7DA07EC9)] public partial class InputPeerSelf : InputPeer { } - /// Defines a chat for further interaction.
See
+ /// Defines a chat for further interaction. See [TLDef(0x35A95CB9)] public partial class InputPeerChat : InputPeer { /// Chat idientifier public long chat_id; } - /// Defines a user for further interaction.
See
+ /// Defines a user for further interaction. See [TLDef(0xDDE8A54C)] public partial class InputPeerUser : InputPeer { @@ -58,7 +58,7 @@ namespace TL /// access_hash value from the constructor public long access_hash; } - /// Defines a channel for further interaction.
See
+ /// Defines a channel for further interaction. See [TLDef(0x27BCBBFC)] public partial class InputPeerChannel : InputPeer { @@ -67,7 +67,7 @@ namespace TL /// access_hash value from the constructor public long access_hash; } - /// Defines a min user that was seen in a certain message of a certain chat.
See
+ /// Defines a min user that was seen in a certain message of a certain chat. See [TLDef(0xA87B0A1C)] public partial class InputPeerUserFromMessage : InputPeer { @@ -78,7 +78,7 @@ namespace TL /// The identifier of the user that was seen public long user_id; } - /// Defines a min channel that was seen in a certain message of a certain chat.
See
+ /// Defines a min channel that was seen in a certain message of a certain chat. See [TLDef(0xBD2A0840)] public partial class InputPeerChannelFromMessage : InputPeer { @@ -90,13 +90,13 @@ namespace TL public long channel_id; } - ///
Derived classes: , ,
See
+ /// Defines a user for subsequent interaction. Derived classes: , , See /// a null value means inputUserEmpty public abstract partial class InputUserBase : ITLObject { } - /// Defines the current user.
See
+ /// Defines the current user. See [TLDef(0xF7C1B13F)] public partial class InputUserSelf : InputUserBase { } - /// Defines a user for further interaction.
See
+ /// Defines a user for further interaction. See [TLDef(0xF21158C6)] public partial class InputUser : InputUserBase { @@ -105,7 +105,7 @@ namespace TL /// access_hash value from the constructor public long access_hash; } - /// Defines a min user that was seen in a certain message of a certain chat.
See
+ /// Defines a min user that was seen in a certain message of a certain chat. See [TLDef(0x1DA448E2)] public partial class InputUserFromMessage : InputUserBase { @@ -117,9 +117,9 @@ namespace TL public long user_id; } - /// Object defines a contact from the user's phonebook.
Derived classes:
See
+ /// Object defines a contact from the user's phonebook. Derived classes: See public abstract partial class InputContact : ITLObject { } - /// Phone contact. The client_id is just an arbitrary contact ID: it should be set, for example, to an incremental number when using contacts.importContacts, in order to retry importing only the contacts that weren't imported successfully.
See
+ /// Phone contact. The client_id is just an arbitrary contact ID: it should be set, for example, to an incremental number when using contacts.importContacts, in order to retry importing only the contacts that weren't imported successfully. See [TLDef(0xF392B7F4)] public partial class InputPhoneContact : InputContact { @@ -133,7 +133,7 @@ namespace TL public string last_name; } - ///
Derived classes: ,
See
+ /// Defines a file uploaded by the client. Derived classes: , See public abstract partial class InputFileBase : ITLObject { /// Random file identifier created by the client @@ -143,7 +143,7 @@ namespace TL /// Full name of the file public abstract string Name { get; } } - /// Defines a file saved in parts using the method upload.saveFilePart.
See
+ /// Defines a file saved in parts using the method upload.saveFilePart. See [TLDef(0xF52FF27F)] public partial class InputFile : InputFileBase { @@ -163,7 +163,7 @@ namespace TL /// Full name of the file public override string Name => name; } - /// Assigns a big file (over 10Mb in size), saved in part using the method upload.saveBigFilePart.
See
+ /// Assigns a big file (over 10Mb in size), saved in part using the method upload.saveBigFilePart. See [TLDef(0xFA4F0BB5)] public partial class InputFileBig : InputFileBase { @@ -182,10 +182,10 @@ namespace TL public override string Name => name; } - /// Defines media content of a message.
Derived classes: , , , , , , , , , , , , ,
See
+ /// Defines media content of a message. Derived classes: , , , , , , , , , , , , , See /// a null value means inputMediaEmpty public abstract partial class InputMedia : ITLObject { } - /// Photo
See
+ /// Photo See [TLDef(0x1E287D04)] public partial class InputMediaUploadedPhoto : InputMedia { @@ -206,7 +206,7 @@ namespace TL has_ttl_seconds = 0x2, } } - /// Forwarded photo
See
+ /// Forwarded photo See [TLDef(0xB3BA0635)] public partial class InputMediaPhoto : InputMedia { @@ -223,14 +223,14 @@ namespace TL has_ttl_seconds = 0x1, } } - /// Map.
See
+ /// Map. See [TLDef(0xF9C44144)] public partial class InputMediaGeoPoint : InputMedia { /// GeoPoint public InputGeoPoint geo_point; } - /// Phonebook contact
See
+ /// Phonebook contact See [TLDef(0xF8AB7DFB)] public partial class InputMediaContact : InputMedia { @@ -243,7 +243,7 @@ namespace TL /// Contact vcard public string vcard; } - /// New document
See
+ /// New document See [TLDef(0x5B38C6C1)] public partial class InputMediaUploadedDocument : InputMedia { @@ -276,7 +276,7 @@ namespace TL force_file = 0x10, } } - /// Forwarded document
See
+ /// Forwarded document See [TLDef(0x33473058)] public partial class InputMediaDocument : InputMedia { @@ -297,7 +297,7 @@ namespace TL has_query = 0x2, } } - /// Can be used to send a venue geolocation.
See
+ /// Can be used to send a venue geolocation. See [TLDef(0xC13D1C11)] public partial class InputMediaVenue : InputMedia { @@ -314,7 +314,7 @@ namespace TL /// Venue type in the provider's database public string venue_type; } - /// New photo that will be uploaded by the server using the specified URL
See
+ /// New photo that will be uploaded by the server using the specified URL See [TLDef(0xE5BBFE1A)] public partial class InputMediaPhotoExternal : InputMedia { @@ -331,7 +331,7 @@ namespace TL has_ttl_seconds = 0x1, } } - /// Document that will be downloaded by the telegram servers
See
+ /// Document that will be downloaded by the telegram servers See [TLDef(0xFB52DC99)] public partial class InputMediaDocumentExternal : InputMedia { @@ -348,14 +348,14 @@ namespace TL has_ttl_seconds = 0x1, } } - /// A game
See
+ /// A game See [TLDef(0xD33F43F3)] public partial class InputMediaGame : InputMedia { /// The game to forward public InputGame id; } - /// Generated invoice of a bot payment
See
+ /// Generated invoice of a bot payment See [TLDef(0xD9799874)] public partial class InputMediaInvoice : InputMedia { @@ -386,7 +386,7 @@ namespace TL has_start_param = 0x2, } } - /// Live geolocation
See
+ /// Live geolocation See [TLDef(0x971FA843)] public partial class InputMediaGeoLive : InputMedia { @@ -413,7 +413,7 @@ namespace TL has_proximity_notification_radius = 0x8, } } - /// A poll
See
+ /// A poll See [TLDef(0x0F94E5F1)] public partial class InputMediaPoll : InputMedia { @@ -436,7 +436,7 @@ namespace TL has_solution = 0x2, } } - /// Send a dice-based animated sticker
See
+ /// Send a dice-based animated sticker See [TLDef(0xE66FBF7B)] public partial class InputMediaDice : InputMedia { @@ -444,10 +444,10 @@ namespace TL public string emoticon; } - ///
Derived classes: ,
See
+ /// Defines a new group profile photo. Derived classes: , See /// a null value means inputChatPhotoEmpty public abstract partial class InputChatPhotoBase : ITLObject { } - /// New photo to be set as group profile photo.
See
+ /// New photo to be set as group profile photo. See [TLDef(0xC642724E)] public partial class InputChatUploadedPhoto : InputChatPhotoBase { @@ -470,7 +470,7 @@ namespace TL has_video_start_ts = 0x4, } } - /// Existing photo to be set as a chat profile photo.
See
+ /// Existing photo to be set as a chat profile photo. See [TLDef(0x8953AD37)] public partial class InputChatPhoto : InputChatPhotoBase { @@ -478,7 +478,7 @@ namespace TL public InputPhoto id; } - /// Defines a GeoPoint by its coordinates.
See
+ /// Defines a GeoPoint by its coordinates. See /// a null value means inputGeoPointEmpty [TLDef(0x48222FAF)] public partial class InputGeoPoint : ITLObject @@ -499,7 +499,7 @@ namespace TL } } - /// Defines a photo for further interaction.
See
+ /// Defines a photo for further interaction. See /// a null value means inputPhotoEmpty [TLDef(0x3BB3B94A)] public partial class InputPhoto : ITLObject @@ -512,9 +512,9 @@ namespace TL public byte[] file_reference; } - ///
Derived classes: , , , , , , , , ,
See
+ /// Defines the location of a file for download. Derived classes: , , , , , , , , , See public abstract partial class InputFileLocationBase : ITLObject { } - /// DEPRECATED location of a photo
See
+ /// DEPRECATED location of a photo See [TLDef(0xDFDAABE1)] public partial class InputFileLocation : InputFileLocationBase { @@ -527,7 +527,7 @@ namespace TL /// File reference public byte[] file_reference; } - /// Location of encrypted secret chat file.
See
+ /// Location of encrypted secret chat file. See [TLDef(0xF5235D55)] public partial class InputEncryptedFileLocation : InputFileLocationBase { @@ -536,7 +536,7 @@ namespace TL /// Checksum, access_hash parameter value from public long access_hash; } - /// Document location (video, voice, audio, basically every type except photo)
See
+ /// Document location (video, voice, audio, basically every type except photo) See [TLDef(0xBAD07584)] public partial class InputDocumentFileLocation : InputFileLocationBase { @@ -549,7 +549,7 @@ namespace TL /// Thumbnail size to download the thumbnail public string thumb_size; } - /// Location of encrypted telegram passport file.
See
+ /// Location of encrypted telegram passport file. See [TLDef(0xCBC7EE28)] public partial class InputSecureFileLocation : InputFileLocationBase { @@ -558,10 +558,10 @@ namespace TL /// Checksum, access_hash parameter value from public long access_hash; } - /// Empty constructor for takeout
See
+ /// Empty constructor for takeout See [TLDef(0x29BE5899)] public partial class InputTakeoutFileLocation : InputFileLocationBase { } - /// Use this object to download a photo with upload.getFile method
See
+ /// Use this object to download a photo with upload.getFile method See [TLDef(0x40181FFE)] public partial class InputPhotoFileLocation : InputFileLocationBase { @@ -574,7 +574,7 @@ namespace TL /// The to download: must be set to the type field of the desired PhotoSize object of the public string thumb_size; } - /// DEPRECATED legacy photo file location
See
+ /// DEPRECATED legacy photo file location See [TLDef(0xD83466F3)] public partial class InputPhotoLegacyFileLocation : InputFileLocationBase { @@ -591,7 +591,7 @@ namespace TL /// Secret public long secret; } - /// Location of profile photo of channel/group/supergroup/user
See
+ /// Location of profile photo of channel/group/supergroup/user See [TLDef(0x37257E99)] public partial class InputPeerPhotoFileLocation : InputFileLocationBase { @@ -608,7 +608,7 @@ namespace TL big = 0x1, } } - /// Location of stickerset thumbnail (see files)
See
+ /// Location of stickerset thumbnail (see files) See [TLDef(0x9D84F3DB)] public partial class InputStickerSetThumb : InputFileLocationBase { @@ -617,7 +617,7 @@ namespace TL /// Thumbnail version public int thumb_version; } - /// Chunk of a livestream
See
+ /// Chunk of a livestream See [TLDef(0x0598A92A)] public partial class InputGroupCallStream : InputFileLocationBase { @@ -641,23 +641,23 @@ namespace TL } } - /// Chat partner or group.
Derived classes: , ,
See
+ /// Chat partner or group. Derived classes: , , See public abstract partial class Peer : ITLObject { } - /// Chat partner
See
+ /// Chat partner See [TLDef(0x59511722)] public partial class PeerUser : Peer { /// User identifier public long user_id; } - /// Group.
See
+ /// Group. See [TLDef(0x36C6019A)] public partial class PeerChat : Peer { /// Group identifier public long chat_id; } - /// Channel/supergroup
See
+ /// Channel/supergroup See [TLDef(0xA2A5371E)] public partial class PeerChannel : Peer { @@ -665,7 +665,7 @@ namespace TL public long channel_id; } - ///
See
+ /// Object describes the file type. See public enum Storage_FileType : uint { ///Unknown type. @@ -690,16 +690,16 @@ namespace TL webp = 0x1081464C, } - ///
Derived classes: ,
See
+ /// Object defines a user. Derived classes: , See public abstract partial class UserBase : ITLObject { } - /// Empty constructor, non-existent user.
See
+ /// Empty constructor, non-existent user. See [TLDef(0xD3BC4B7A)] public partial class UserEmpty : UserBase { /// User identifier or 0 public long id; } - /// Indicates info about a certain user
See
+ /// Indicates info about a certain user See [TLDef(0x3FF6ECB0)] public partial class User : UserBase { @@ -783,7 +783,7 @@ namespace TL } } - /// User profile photo.
See
+ /// User profile photo. See /// a null value means userProfilePhotoEmpty [TLDef(0x82D1F706)] public partial class UserProfilePhoto : ITLObject @@ -806,34 +806,34 @@ namespace TL } } - /// User online status
Derived classes: , , , ,
See
+ /// User online status Derived classes: , , , , See /// a null value means userStatusEmpty public abstract partial class UserStatus : ITLObject { } - /// Online status of the user.
See
+ /// Online status of the user. See [TLDef(0xEDB93949)] public partial class UserStatusOnline : UserStatus { /// Time to expiration of the current online status public DateTime expires; } - /// The user's offline status.
See
+ /// The user's offline status. See [TLDef(0x008C703F)] public partial class UserStatusOffline : UserStatus { /// Time the user was last seen online public int was_online; } - /// Online status: last seen recently
See
+ /// Online status: last seen recently See [TLDef(0xE26F42F1)] public partial class UserStatusRecently : UserStatus { } - /// Online status: last seen last week
See
+ /// Online status: last seen last week See [TLDef(0x07BF09FC)] public partial class UserStatusLastWeek : UserStatus { } - /// Online status: last seen last month
See
+ /// Online status: last seen last month See [TLDef(0x77EBC742)] public partial class UserStatusLastMonth : UserStatus { } - ///
Derived classes: , , , ,
See
+ /// Object defines a group. Derived classes: , , , , See public abstract partial class ChatBase : ITLObject { /// ID of the group @@ -841,7 +841,7 @@ namespace TL /// Title public abstract string Title { get; } } - /// Empty constructor, group doesn't exist
See
+ /// Empty constructor, group doesn't exist See [TLDef(0x29562865)] public partial class ChatEmpty : ChatBase { @@ -852,7 +852,7 @@ namespace TL public override long ID => id; public override string Title => default; } - /// Info about a group
See
+ /// Info about a group See [TLDef(0x41CBF256)] public partial class Chat : ChatBase { @@ -904,7 +904,7 @@ namespace TL /// Title public override string Title => title; } - /// A group to which the user has no access. E.g., because the user was kicked from the group.
See
+ /// A group to which the user has no access. E.g., because the user was kicked from the group. See [TLDef(0x6592A1A7)] public partial class ChatForbidden : ChatBase { @@ -918,7 +918,7 @@ namespace TL /// Group name public override string Title => title; } - /// Channel/supergroup info
See
+ /// Channel/supergroup info See [TLDef(0x8261AC61)] public partial class Channel : ChatBase { @@ -1000,7 +1000,7 @@ namespace TL /// Title public override string Title => title; } - /// Indicates a channel/supergroup we can't access because we were banned, or for some other reason.
See
+ /// Indicates a channel/supergroup we can't access because we were banned, or for some other reason. See [TLDef(0x17D493D5)] public partial class ChannelForbidden : ChatBase { @@ -1031,7 +1031,7 @@ namespace TL public override string Title => title; } - ///
Derived classes: ,
See
+ /// Object containing detailed group info Derived classes: , See public abstract partial class ChatFullBase : ITLObject { /// ID of the chat @@ -1043,7 +1043,7 @@ namespace TL /// Peer folder ID, for more info click here public abstract int Folder { get; } } - /// Detailed chat info
See
+ /// Detailed chat info See [TLDef(0x46A6FFB4)] public partial class ChatFull : ChatFullBase { @@ -1115,7 +1115,7 @@ namespace TL /// Peer folder ID, for more info click here public override int Folder => folder_id; } - /// Full info about a channel/supergroup
See
+ /// Full info about a channel/supergroup See [TLDef(0x59CFF963)] public partial class ChannelFull : ChatFullBase { @@ -1258,13 +1258,13 @@ namespace TL public override int Folder => folder_id; } - ///
Derived classes: , ,
See
+ /// Details of a group member. Derived classes: , , See public abstract partial class ChatParticipantBase : ITLObject { /// Member user ID public abstract long UserId { get; } } - /// Group member.
See
+ /// Group member. See [TLDef(0xC02D4007)] public partial class ChatParticipant : ChatParticipantBase { @@ -1278,7 +1278,7 @@ namespace TL /// Member user ID public override long UserId => user_id; } - /// Represents the creator of the group
See
+ /// Represents the creator of the group See [TLDef(0xE46BCEE4)] public partial class ChatParticipantCreator : ChatParticipantBase { @@ -1288,19 +1288,19 @@ namespace TL /// ID of the user that created the group public override long UserId => user_id; } - /// Chat admin
See
+ /// Chat admin See [TLDef(0xA0933F5B)] public partial class ChatParticipantAdmin : ChatParticipant { } - ///
Derived classes: ,
See
+ /// Object contains info on group members. Derived classes: , See public abstract partial class ChatParticipantsBase : ITLObject { /// Group ID public abstract long ChatId { get; } } - /// Info on members is unavailable
See
+ /// Info on members is unavailable See [TLDef(0x8763D3E1)] public partial class ChatParticipantsForbidden : ChatParticipantsBase { @@ -1320,7 +1320,7 @@ namespace TL /// Group ID public override long ChatId => chat_id; } - /// Group members.
See
+ /// Group members. See [TLDef(0x3CBC93F8)] public partial class ChatParticipants : ChatParticipantsBase { @@ -1335,7 +1335,7 @@ namespace TL public override long ChatId => chat_id; } - /// Group profile photo.
See
+ /// Group profile photo. See /// a null value means chatPhotoEmpty [TLDef(0x1C6E1C11)] public partial class ChatPhoto : ITLObject @@ -1358,7 +1358,7 @@ namespace TL } } - ///
Derived classes: , ,
See
+ /// Object describing a message. Derived classes: , , See public abstract partial class MessageBase : ITLObject { /// ID of the message @@ -1374,7 +1374,7 @@ namespace TL /// Time To Live of the message, once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. public abstract int TtlPeriod { get; } } - /// Empty constructor, non-existent message.
See
+ /// Empty constructor, non-existent message. See [TLDef(0x90A6CA84)] public partial class MessageEmpty : MessageBase { @@ -1400,7 +1400,7 @@ namespace TL public override DateTime Date => default; public override int TtlPeriod => default; } - /// A message
See
+ /// A message See [TLDef(0x85D6CBE2)] public partial class Message : MessageBase { @@ -1508,7 +1508,7 @@ namespace TL /// Time To Live of the message, once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. public override int TtlPeriod => ttl_period; } - /// Indicates a service message
See
+ /// Indicates a service message See [TLDef(0x2B085862)] public partial class MessageService : MessageBase { @@ -1565,10 +1565,10 @@ namespace TL public override int TtlPeriod => ttl_period; } - /// Media
Derived classes: , , , , , , , , , , ,
See
+ /// Media Derived classes: , , , , , , , , , , , See /// a null value means messageMediaEmpty public abstract partial class MessageMedia : ITLObject { } - /// Attached photo.
See
+ /// Attached photo. See [TLDef(0x695150D7)] public partial class MessageMediaPhoto : MessageMedia { @@ -1587,14 +1587,14 @@ namespace TL has_ttl_seconds = 0x4, } } - /// Attached map.
See
+ /// Attached map. See [TLDef(0x56E0D474)] public partial class MessageMediaGeo : MessageMedia { /// GeoPoint public GeoPoint geo; } - /// Attached contact.
See
+ /// Attached contact. See [TLDef(0x70322949)] public partial class MessageMediaContact : MessageMedia { @@ -1609,10 +1609,10 @@ namespace TL /// User identifier or 0, if the user with the given phone number is not registered public long user_id; } - /// Current version of the client does not support this media type.
See
+ /// Current version of the client does not support this media type. See [TLDef(0x9F84F49E)] public partial class MessageMediaUnsupported : MessageMedia { } - /// Document (video, audio, voice, sticker, any media type except photo)
See
+ /// Document (video, audio, voice, sticker, any media type except photo) See [TLDef(0x9CB070D7)] public partial class MessageMediaDocument : MessageMedia { @@ -1631,14 +1631,14 @@ namespace TL has_ttl_seconds = 0x4, } } - /// Preview of webpage
See
+ /// Preview of webpage See [TLDef(0xA32DD600)] public partial class MessageMediaWebPage : MessageMedia { /// Webpage preview public WebPageBase webpage; } - /// Venue
See
+ /// Venue See [TLDef(0x2EC0533F)] public partial class MessageMediaVenue : MessageMedia { @@ -1655,14 +1655,14 @@ namespace TL /// Venue type in the provider's database public string venue_type; } - /// Telegram game
See
+ /// Telegram game See [TLDef(0xFDB19008)] public partial class MessageMediaGame : MessageMedia { /// Game public Game game; } - /// Invoice
See
+ /// Invoice See [TLDef(0x84551347)] public partial class MessageMediaInvoice : MessageMedia { @@ -1695,7 +1695,7 @@ namespace TL test = 0x8, } } - /// Indicates a live geolocation
See
+ /// Indicates a live geolocation See [TLDef(0xB940C666)] public partial class MessageMediaGeoLive : MessageMedia { @@ -1718,7 +1718,7 @@ namespace TL has_proximity_notification_radius = 0x2, } } - /// Poll
See
+ /// Poll See [TLDef(0x4BD6E798)] public partial class MessageMediaPoll : MessageMedia { @@ -1727,7 +1727,7 @@ namespace TL /// The results of the poll public PollResults results; } - /// Dice-based animated sticker
See
+ /// Dice-based animated sticker See [TLDef(0x3F7EE58B)] public partial class MessageMediaDice : MessageMedia { @@ -1737,10 +1737,10 @@ 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 partial class MessageAction : ITLObject { } - /// Group created
See
+ /// Group created See [TLDef(0xBD47CBAD)] public partial class MessageActionChatCreate : MessageAction { @@ -1749,59 +1749,59 @@ namespace TL /// List of group members public long[] users; } - /// Group name changed.
See
+ /// Group name changed. See [TLDef(0xB5A1CE5A)] public partial class MessageActionChatEditTitle : MessageAction { /// New group name public string title; } - /// Group profile changed
See
+ /// Group profile changed See [TLDef(0x7FCB13A8)] public partial class MessageActionChatEditPhoto : MessageAction { /// New group pofile photo public PhotoBase photo; } - /// Group profile photo removed.
See
+ /// Group profile photo removed. See [TLDef(0x95E3FBEF)] public partial class MessageActionChatDeletePhoto : MessageAction { } - /// New member in the group
See
+ /// New member in the group See [TLDef(0x15CEFD00)] public partial class MessageActionChatAddUser : MessageAction { /// Users that were invited to the chat public long[] users; } - /// User left the group.
See
+ /// User left the group. See [TLDef(0xA43F30CC)] public partial class MessageActionChatDeleteUser : MessageAction { /// Leaving user ID public long user_id; } - /// A user joined the chat via an invite link
See
+ /// A user joined the chat via an invite link See [TLDef(0x031224C3)] public partial class MessageActionChatJoinedByLink : MessageAction { /// ID of the user that created the invite link public long inviter_id; } - /// The channel was created
See
+ /// The channel was created See [TLDef(0x95D2AC92)] public partial class MessageActionChannelCreate : MessageAction { /// Original channel/supergroup title public string title; } - /// Indicates the chat was migrated to the specified supergroup
See
+ /// Indicates the chat was migrated to the specified supergroup See [TLDef(0xE1037F92)] public partial class MessageActionChatMigrateTo : MessageAction { /// The supergroup it was migrated to public long channel_id; } - /// Indicates the channel was migrated from the specified chat
See
+ /// Indicates the channel was migrated from the specified chat See [TLDef(0xEA3948E9)] public partial class MessageActionChannelMigrateFrom : MessageAction { @@ -1810,13 +1810,13 @@ namespace TL /// The old chat ID public long chat_id; } - /// A message was pinned
See
+ /// A message was pinned See [TLDef(0x94BD38ED)] public partial class MessageActionPinMessage : MessageAction { } - /// Chat history was cleared
See
+ /// Chat history was cleared See [TLDef(0x9FBAB604)] public partial class MessageActionHistoryClear : MessageAction { } - /// Someone scored in a game
See
+ /// Someone scored in a game See [TLDef(0x92A72876)] public partial class MessageActionGameScore : MessageAction { @@ -1825,7 +1825,7 @@ namespace TL /// Score public int score; } - /// A user just sent a payment to me (a bot)
See
+ /// A user just sent a payment to me (a bot) See [TLDef(0x8F31B327)] public partial class MessageActionPaymentSentMe : MessageAction { @@ -1852,7 +1852,7 @@ namespace TL has_shipping_option_id = 0x2, } } - /// A payment was sent
See
+ /// A payment was sent See [TLDef(0x40699CD0)] public partial class MessageActionPaymentSent : MessageAction { @@ -1861,7 +1861,7 @@ namespace TL /// Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). public long total_amount; } - /// A phone call
See
+ /// A phone call See [TLDef(0x80E11A7F)] public partial class MessageActionPhoneCall : MessageAction { @@ -1884,24 +1884,24 @@ namespace TL video = 0x4, } } - /// A screenshot of the chat was taken
See
+ /// A screenshot of the chat was taken See [TLDef(0x4792929B)] public partial class MessageActionScreenshotTaken : MessageAction { } - /// Custom action (most likely not supported by the current layer, an upgrade might be needed)
See
+ /// Custom action (most likely not supported by the current layer, an upgrade might be needed) See [TLDef(0xFAE69F56)] public partial class MessageActionCustomAction : MessageAction { /// Action message public string message; } - /// The domain name of the website on which the user has logged in. More about Telegram Login »
See
+ /// The domain name of the website on which the user has logged in. More about Telegram Login » See [TLDef(0xABE9AFFE)] public partial class MessageActionBotAllowed : MessageAction { /// The domain name of the website on which the user has logged in. public string domain; } - /// Secure telegram passport values were received
See
+ /// Secure telegram passport values were received See [TLDef(0x1B287353)] public partial class MessageActionSecureValuesSentMe : MessageAction { @@ -1910,17 +1910,17 @@ namespace TL /// Encrypted credentials required to decrypt the data public SecureCredentialsEncrypted credentials; } - /// Request for secure telegram passport values was sent
See
+ /// Request for secure telegram passport values was sent See [TLDef(0xD95C6154)] public partial class MessageActionSecureValuesSent : MessageAction { /// Secure value types public SecureValueType[] types; } - /// A contact just signed up to telegram
See
+ /// A contact just signed up to telegram See [TLDef(0xF3F25F76)] public partial class MessageActionContactSignUp : MessageAction { } - /// A user of the chat is now in proximity of another user
See
+ /// A user of the chat is now in proximity of another user See [TLDef(0x98E0D697)] public partial class MessageActionGeoProximityReached : MessageAction { @@ -1931,7 +1931,7 @@ namespace TL /// Distance, in meters (0-100000) public int distance; } - /// The group call has ended
See
+ /// The group call has ended See [TLDef(0x7A0D7F42)] public partial class MessageActionGroupCall : MessageAction { @@ -1948,7 +1948,7 @@ namespace TL has_duration = 0x1, } } - /// A set of users was invited to the group call
See
+ /// A set of users was invited to the group call See [TLDef(0x502F92F7)] public partial class MessageActionInviteToGroupCall : MessageAction { @@ -1957,14 +1957,14 @@ namespace TL /// The invited users public long[] users; } - /// The Time-To-Live of messages in this chat was changed.
See
+ /// The Time-To-Live of messages in this chat was changed. See [TLDef(0xAA1AFBFD)] public partial class MessageActionSetMessagesTTL : MessageAction { /// New Time-To-Live public int period; } - /// A group call was scheduled
See
+ /// A group call was scheduled See [TLDef(0xB3A07661)] public partial class MessageActionGroupCallScheduled : MessageAction { @@ -1973,18 +1973,18 @@ namespace TL /// When is this group call scheduled to start public DateTime schedule_date; } - /// The chat theme was changed
See
+ /// The chat theme was changed See [TLDef(0xAA786345)] public partial class MessageActionSetChatTheme : MessageAction { /// The emoji that identifies a chat theme public string emoticon; } - ///
See
+ /// See [TLDef(0xEBBCA3CB)] public partial class MessageActionChatJoinedByRequest : MessageAction { } - ///
Derived classes: ,
See
+ /// Chat info. Derived classes: , See public abstract partial class DialogBase : ITLObject { /// The chat @@ -1992,7 +1992,7 @@ namespace TL /// The latest message ID public abstract int TopMessage { get; } } - /// Chat
See
+ /// Chat See [TLDef(0x2C171F72)] public partial class Dialog : DialogBase { @@ -2038,7 +2038,7 @@ namespace TL /// The latest message ID public override int TopMessage => top_message; } - /// Dialog in folder
See
+ /// Dialog in folder See [TLDef(0x71BD134C)] public partial class DialogFolder : DialogBase { @@ -2071,16 +2071,16 @@ namespace TL public override int TopMessage => top_message; } - ///
Derived classes: ,
See
+ /// Object describes a photo. Derived classes: , See public abstract partial class PhotoBase : ITLObject { } - /// Empty constructor, non-existent photo
See
+ /// Empty constructor, non-existent photo See [TLDef(0x2331B22D)] public partial class PhotoEmpty : PhotoBase { /// Photo identifier public long id; } - /// Photo
See
+ /// Photo See [TLDef(0xFB197A65)] public partial class Photo : PhotoBase { @@ -2110,13 +2110,13 @@ namespace TL } } - ///
Derived classes: , , , , ,
See
+ /// Location of a certain size of a picture Derived classes: , , , , , See public abstract partial class PhotoSizeBase : ITLObject { /// Thumbnail type (see. ) public abstract string Type { get; } } - /// Empty constructor. Image with this thumbnail is unavailable.
See
+ /// Empty constructor. Image with this thumbnail is unavailable. See [TLDef(0x0E17E23C)] public partial class PhotoSizeEmpty : PhotoSizeBase { @@ -2126,7 +2126,7 @@ namespace TL /// Thumbnail type (see. ) public override string Type => type; } - /// Image description.
See
+ /// Image description. See [TLDef(0x75C78E60)] public partial class PhotoSize : PhotoSizeBase { @@ -2142,7 +2142,7 @@ namespace TL /// Thumbnail type public override string Type => type; } - /// Description of an image and its content.
See
+ /// Description of an image and its content. See [TLDef(0x021E1AD6)] public partial class PhotoCachedSize : PhotoSizeBase { @@ -2158,7 +2158,7 @@ namespace TL /// Thumbnail type public override string Type => type; } - /// A low-resolution compressed JPG payload
See
+ /// A low-resolution compressed JPG payload See [TLDef(0xE0B0BC2E)] public partial class PhotoStrippedSize : PhotoSizeBase { @@ -2170,7 +2170,7 @@ namespace TL /// Thumbnail type public override string Type => type; } - /// Progressively encoded photosize
See
+ /// Progressively encoded photosize See [TLDef(0xFA3EFB95)] public partial class PhotoSizeProgressive : PhotoSizeBase { @@ -2186,7 +2186,7 @@ namespace TL /// Photosize type public override string Type => type; } - /// Messages with animated stickers can have a compressed svg (< 300 bytes) to show the outline of the sticker before fetching the actual lottie animation.
See
+ /// Messages with animated stickers can have a compressed svg (< 300 bytes) to show the outline of the sticker before fetching the actual lottie animation. See [TLDef(0xD8214D41)] public partial class PhotoPathSize : PhotoSizeBase { @@ -2199,7 +2199,7 @@ namespace TL public override string Type => type; } - /// GeoPoint.
See
+ /// GeoPoint. See /// a null value means geoPointEmpty [TLDef(0xB2A2F663)] public partial class GeoPoint : ITLObject @@ -2222,7 +2222,7 @@ namespace TL } } - /// Contains info about a sent verification code.
See
+ /// Contains info about a sent verification code. See [TLDef(0x5E002502)] public partial class Auth_SentCode : ITLObject { @@ -2246,9 +2246,9 @@ namespace TL } } - ///
Derived classes: ,
See
+ /// Oject contains info on user authorization. Derived classes: , See public abstract partial class Auth_AuthorizationBase : ITLObject { } - /// Contains user authorization info.
See
+ /// Contains user authorization info. See [TLDef(0xCD050916)] public partial class Auth_Authorization : Auth_AuthorizationBase { @@ -2265,7 +2265,7 @@ namespace TL has_tmp_sessions = 0x1, } } - /// An account with this phone number doesn't exist on telegram: the user has to enter basic information and sign up
See
+ /// An account with this phone number doesn't exist on telegram: the user has to enter basic information and sign up See [TLDef(0x44747E9A)] public partial class Auth_AuthorizationSignUpRequired : Auth_AuthorizationBase { @@ -2281,7 +2281,7 @@ namespace TL } } - /// Data for copying of authorization between data centres.
See
+ /// Data for copying of authorization between data centres. See [TLDef(0xB434E2B8)] public partial class Auth_ExportedAuthorization : ITLObject { @@ -2291,26 +2291,26 @@ namespace TL public byte[] bytes; } - ///
Derived classes: , , ,
See
+ /// Object defines the set of users and/or groups that generate notifications. Derived classes: , , , See public abstract partial class InputNotifyPeerBase : ITLObject { } - /// Notifications generated by a certain user or group.
See
+ /// Notifications generated by a certain user or group. See [TLDef(0xB8BC5B0C)] public partial class InputNotifyPeer : InputNotifyPeerBase { /// User or group public InputPeer peer; } - /// Notifications generated by all users.
See
+ /// Notifications generated by all users. See [TLDef(0x193B4417)] public partial class InputNotifyUsers : InputNotifyPeerBase { } - /// Notifications generated by all groups.
See
+ /// Notifications generated by all groups. See [TLDef(0x4A95E84E)] public partial class InputNotifyChats : InputNotifyPeerBase { } - /// All channels
See
+ /// All channels See [TLDef(0xB1DB7C7E)] public partial class InputNotifyBroadcasts : InputNotifyPeerBase { } - /// Notification settings.
See
+ /// Notification settings. See [TLDef(0x9C3D198E)] public partial class InputPeerNotifySettings : ITLObject { @@ -2338,7 +2338,7 @@ namespace TL } } - /// Notification settings.
See
+ /// Notification settings. See [TLDef(0xAF509D20)] public partial class PeerNotifySettings : ITLObject { @@ -2366,7 +2366,7 @@ namespace TL } } - /// Peer settings
See
+ /// Peer settings See [TLDef(0x733F2961)] public partial class PeerSettings : ITLObject { @@ -2398,7 +2398,7 @@ namespace TL } } - ///
Derived classes: ,
See
+ /// Object contains info on a wallpaper. Derived classes: , See public abstract partial class WallPaperBase : ITLObject { /// Identifier @@ -2406,7 +2406,7 @@ namespace TL /// Wallpaper settings public abstract WallPaperSettings Settings { get; } } - /// Wallpaper settings.
See
+ /// Wallpaper settings. See [TLDef(0xA437C3ED)] public partial class WallPaper : WallPaperBase { @@ -2442,7 +2442,7 @@ namespace TL /// Wallpaper settings public override WallPaperSettings Settings => settings; } - /// Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.
Also used for some default wallpapers which contain only colours.
See
+ /// Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.
Also used for some default wallpapers which contain only colours. See
[TLDef(0xE0804116)] public partial class WallPaperNoFile : WallPaperBase { @@ -2469,7 +2469,7 @@ namespace TL public override WallPaperSettings Settings => settings; } - /// Report reason
See
+ /// Report reason See public enum ReportReason : uint { ///Report for spam @@ -2490,7 +2490,7 @@ namespace TL Fake = 0xF5DDD6E7, } - /// Extended user info
See
+ /// Extended user info See [TLDef(0xD697FF05)] public partial class UserFull : ITLObject { @@ -2550,7 +2550,7 @@ namespace TL } } - /// A contact of the current user that is registered in the system.
See
+ /// A contact of the current user that is registered in the system. See [TLDef(0x145ADE0B)] public partial class Contact : ITLObject { @@ -2560,7 +2560,7 @@ namespace TL public bool mutual; } - /// Successfully imported contact.
See
+ /// Successfully imported contact. See [TLDef(0xC13E3C50)] public partial class ImportedContact : ITLObject { @@ -2570,7 +2570,7 @@ namespace TL public long client_id; } - /// Contact status: online / offline.
See
+ /// Contact status: online / offline. See [TLDef(0x16D9703B)] public partial class ContactStatus : ITLObject { @@ -2580,7 +2580,7 @@ namespace TL public UserStatus status; } - /// The current user's contact list and info on users.
See
+ /// The current user's contact list and info on users. See /// a null value means contacts.contactsNotModified [TLDef(0xEAE87E42)] public partial class Contacts_Contacts : ITLObject @@ -2593,7 +2593,7 @@ namespace TL public Dictionary users; } - /// Info on succesfully imported contacts.
See
+ /// Info on succesfully imported contacts. See [TLDef(0x77D01C3B)] public partial class Contacts_ImportedContacts : ITLObject { @@ -2607,7 +2607,7 @@ namespace TL public Dictionary users; } - /// Full list of blocked users.
See
+ /// Full list of blocked users. See [TLDef(0x0ADE1591)] public partial class Contacts_Blocked : ITLObject { @@ -2620,7 +2620,7 @@ namespace TL /// returns a or for the given Peer public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Incomplete list of blocked users.
See
+ /// Incomplete list of blocked users. See [TLDef(0xE1664194, inheritAfter = true)] public partial class Contacts_BlockedSlice : Contacts_Blocked { @@ -2628,7 +2628,7 @@ namespace TL public int count; } - ///
Derived classes: , ,
See
+ /// Object contains a list of chats with messages and auxiliary data. Derived classes: , , See public abstract partial class Messages_DialogsBase : ITLObject { /// List of chats @@ -2638,7 +2638,7 @@ namespace TL /// returns a or for the given Peer public abstract IPeerInfo UserOrChat(Peer peer); } - /// Full list of chats with messages and auxiliary data.
See
+ /// Full list of chats with messages and auxiliary data. See [TLDef(0x15BA6C40)] public partial class Messages_Dialogs : Messages_DialogsBase { @@ -2658,14 +2658,14 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Incomplete list of dialogs with messages and auxiliary data.
See
+ /// Incomplete list of dialogs with messages and auxiliary data. See [TLDef(0x71E094F3, inheritAfter = true)] public partial class Messages_DialogsSlice : Messages_Dialogs { /// Total number of dialogs public int count; } - /// Dialogs haven't changed
See
+ /// Dialogs haven't changed See [TLDef(0xF0E3E596)] public partial class Messages_DialogsNotModified : Messages_DialogsBase { @@ -2678,7 +2678,7 @@ namespace TL public override IPeerInfo UserOrChat(Peer peer) => null; } - ///
Derived classes: , , ,
See
+ /// Object contains infor on list of messages with auxiliary data. Derived classes: , , , See public abstract partial class Messages_MessagesBase : ITLObject { /// List of messages @@ -2686,7 +2686,7 @@ namespace TL /// returns a or for the given Peer public abstract IPeerInfo UserOrChat(Peer peer); } - /// Full list of messages with auxilary data.
See
+ /// Full list of messages with auxilary data. See [TLDef(0x8C718E87)] public partial class Messages_Messages : Messages_MessagesBase { @@ -2702,7 +2702,7 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Incomplete list of messages and auxiliary data.
See
+ /// Incomplete list of messages and auxiliary data. See [TLDef(0x3A54685E, inheritAfter = true)] public partial class Messages_MessagesSlice : Messages_Messages { @@ -2725,7 +2725,7 @@ namespace TL has_offset_id_offset = 0x4, } } - /// Channel messages
See
+ /// Channel messages See [TLDef(0x64479808)] public partial class Messages_ChannelMessages : Messages_MessagesBase { @@ -2757,7 +2757,7 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// No new messages matching the query were found
See
+ /// No new messages matching the query were found See [TLDef(0x74535F21)] public partial class Messages_MessagesNotModified : Messages_MessagesBase { @@ -2769,14 +2769,14 @@ namespace TL public override IPeerInfo UserOrChat(Peer peer) => null; } - /// List of chats with auxiliary data.
See
+ /// List of chats with auxiliary data. See [TLDef(0x64FF9FD5)] public partial class Messages_Chats : ITLObject { /// List of chats public Dictionary chats; } - /// Partial list of chats, more would have to be fetched with pagination
See
+ /// Partial list of chats, more would have to be fetched with pagination See [TLDef(0x9CD81144, inheritAfter = true)] public partial class Messages_ChatsSlice : Messages_Chats { @@ -2784,7 +2784,7 @@ namespace TL public int count; } - /// Extended info on chat and auxiliary data.
See
+ /// Extended info on chat and auxiliary data. See [TLDef(0xE5D7D19C)] public partial class Messages_ChatFull : ITLObject { @@ -2798,7 +2798,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Affected part of communication history with the user or in a chat.
See
+ /// Affected part of communication history with the user or in a chat. See [TLDef(0xB45C69D1)] public partial class Messages_AffectedHistory : ITLObject { @@ -2810,37 +2810,37 @@ namespace TL public int offset; } - /// Object describes message filter.
Derived classes: , , , , , , , , , , , , , , ,
See
+ /// Object describes message filter. Derived classes: , , , , , , , , , , , , , , , See /// a null value means inputMessagesFilterEmpty public abstract partial class MessagesFilter : ITLObject { } - /// Filter for messages containing photos.
See
+ /// Filter for messages containing photos. See [TLDef(0x9609A51C)] public partial class InputMessagesFilterPhotos : MessagesFilter { } - /// Filter for messages containing videos.
See
+ /// Filter for messages containing videos. See [TLDef(0x9FC00E65)] public partial class InputMessagesFilterVideo : MessagesFilter { } - /// Filter for messages containing photos or videos.
See
+ /// Filter for messages containing photos or videos. See [TLDef(0x56E9F0E4)] public partial class InputMessagesFilterPhotoVideo : MessagesFilter { } - /// Filter for messages containing documents.
See
+ /// Filter for messages containing documents. See [TLDef(0x9EDDF188)] public partial class InputMessagesFilterDocument : MessagesFilter { } - /// Return only messages containing URLs
See
+ /// Return only messages containing URLs See [TLDef(0x7EF0DD87)] public partial class InputMessagesFilterUrl : MessagesFilter { } - /// Return only messages containing gifs
See
+ /// Return only messages containing gifs See [TLDef(0xFFC86587)] public partial class InputMessagesFilterGif : MessagesFilter { } - /// Return only messages containing voice notes
See
+ /// Return only messages containing voice notes See [TLDef(0x50F5C392)] public partial class InputMessagesFilterVoice : MessagesFilter { } - /// Return only messages containing audio files
See
+ /// Return only messages containing audio files See [TLDef(0x3751B49E)] public partial class InputMessagesFilterMusic : MessagesFilter { } - /// Return only chat photo changes
See
+ /// Return only chat photo changes See [TLDef(0x3A20ECB8)] public partial class InputMessagesFilterChatPhotos : MessagesFilter { } - /// Return only phone calls
See
+ /// Return only phone calls See [TLDef(0x80C99768)] public partial class InputMessagesFilterPhoneCalls : MessagesFilter { @@ -2853,28 +2853,28 @@ namespace TL missed = 0x1, } } - /// Return only round videos and voice notes
See
+ /// Return only round videos and voice notes See [TLDef(0x7A7C17A4)] public partial class InputMessagesFilterRoundVoice : MessagesFilter { } - /// Return only round videos
See
+ /// Return only round videos See [TLDef(0xB549DA53)] public partial class InputMessagesFilterRoundVideo : MessagesFilter { } - /// Return only messages where the current user was mentioned.
See
+ /// Return only messages where the current user was mentioned. See [TLDef(0xC1F8E69A)] public partial class InputMessagesFilterMyMentions : MessagesFilter { } - /// Return only messages containing geolocations
See
+ /// Return only messages containing geolocations See [TLDef(0xE7026D0D)] public partial class InputMessagesFilterGeo : MessagesFilter { } - /// Return only messages containing contacts
See
+ /// Return only messages containing contacts See [TLDef(0xE062DB83)] public partial class InputMessagesFilterContacts : MessagesFilter { } - /// Fetch only pinned messages
See
+ /// Fetch only pinned messages See [TLDef(0x1BB00451)] public partial class InputMessagesFilterPinned : MessagesFilter { } - /// Object contains info on events occured.
Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
See
+ /// Object contains info on events occured. Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , See public abstract partial class Update : ITLObject { } - /// New message in a private chat or in a legacy group.
See
+ /// New message in a private chat or in a legacy group. See [TLDef(0x1F2B0AFD)] public partial class UpdateNewMessage : Update { @@ -2885,7 +2885,7 @@ namespace TL /// Number of generated events public int pts_count; } - /// Sent message with random_id client identifier was assigned an identifier.
See
+ /// Sent message with random_id client identifier was assigned an identifier. See [TLDef(0x4E90BFD6)] public partial class UpdateMessageID : Update { @@ -2894,7 +2894,7 @@ namespace TL /// Previuosly transferred client random_id identifier public long random_id; } - /// Messages were deleted.
See
+ /// Messages were deleted. See [TLDef(0xA20DB0E5)] public partial class UpdateDeleteMessages : Update { @@ -2905,7 +2905,7 @@ namespace TL /// Number of generated events public int pts_count; } - /// The user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 seconds. If no repeated update received after 6 seconds, it should be considered that the user stopped doing whatever he's been doing.
See
+ /// The user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 seconds. If no repeated update received after 6 seconds, it should be considered that the user stopped doing whatever he's been doing. See [TLDef(0xC01E857F)] public partial class UpdateUserTyping : Update { @@ -2914,7 +2914,7 @@ namespace TL /// Action type
Param added in
Layer 17.
public SendMessageAction action; } - /// The user is preparing a message in a group; typing, recording, uploading, etc. This update is valid for 6 seconds. If no repeated update received after 6 seconds, it should be considered that the user stopped doing whatever he's been doing.
See
+ /// The user is preparing a message in a group; typing, recording, uploading, etc. This update is valid for 6 seconds. If no repeated update received after 6 seconds, it should be considered that the user stopped doing whatever he's been doing. See [TLDef(0x83487AF0)] public partial class UpdateChatUserTyping : UpdateChat { @@ -2923,14 +2923,14 @@ namespace TL /// Type of action
Parameter added in
Layer 17.
public SendMessageAction action; } - /// Composition of chat participants changed.
See
+ /// Composition of chat participants changed. See [TLDef(0x07761198)] public partial class UpdateChatParticipants : Update { /// Updated chat participants public ChatParticipantsBase participants; } - /// Contact status update.
See
+ /// Contact status update. See [TLDef(0xE5BDF8DE)] public partial class UpdateUserStatus : Update { @@ -2939,7 +2939,7 @@ namespace TL /// New status public UserStatus status; } - /// Changes the user's first name, last name and username.
See
+ /// Changes the user's first name, last name and username. See [TLDef(0xC3F202E0)] public partial class UpdateUserName : Update { @@ -2952,7 +2952,7 @@ namespace TL /// New username.
Parameter added in
Layer 18.
public string username; } - /// Change of contact's profile photo.
See
+ /// Change of contact's profile photo. See [TLDef(0xF227868C)] public partial class UpdateUserPhoto : Update { @@ -2965,7 +2965,7 @@ namespace TL /// (), if one of the previously used photos is set a profile photo. public bool previous; } - /// New encrypted message.
See
+ /// New encrypted message. See [TLDef(0x12BCBD9A)] public partial class UpdateNewEncryptedMessage : Update { @@ -2974,14 +2974,14 @@ namespace TL /// New qts value, see updates » for more info. public int qts; } - /// Interlocutor is typing a message in an encrypted chat. Update period is 6 second. If upon this time there is no repeated update, it shall be considered that the interlocutor stopped typing.
See
+ /// Interlocutor is typing a message in an encrypted chat. Update period is 6 second. If upon this time there is no repeated update, it shall be considered that the interlocutor stopped typing. See [TLDef(0x1710F156)] public partial class UpdateEncryptedChatTyping : Update { /// Chat ID public int chat_id; } - /// Change of state in an encrypted chat.
See
+ /// Change of state in an encrypted chat. See [TLDef(0xB4A2E88D)] public partial class UpdateEncryption : Update { @@ -2990,7 +2990,7 @@ namespace TL /// Date of change public DateTime date; } - /// Communication history in an encrypted chat was marked as read.
See
+ /// Communication history in an encrypted chat was marked as read. See [TLDef(0x38FE25B7)] public partial class UpdateEncryptedMessagesRead : Update { @@ -3001,7 +3001,7 @@ namespace TL /// Time when messages were read public DateTime date; } - /// New group member.
See
+ /// New group member. See [TLDef(0x3DDA5451)] public partial class UpdateChatParticipantAdd : UpdateChat { @@ -3014,7 +3014,7 @@ namespace TL /// Chat version number public int version; } - /// A member has left the group.
See
+ /// A member has left the group. See [TLDef(0xE32F3D77)] public partial class UpdateChatParticipantDelete : UpdateChat { @@ -3023,14 +3023,14 @@ namespace TL /// Used in basic groups to reorder updates and make sure that all of them was received. public int version; } - /// Changes in the data center configuration options.
See
+ /// Changes in the data center configuration options. See [TLDef(0x8E5E9873)] public partial class UpdateDcOptions : Update { /// New connection options public DcOption[] dc_options; } - /// Changes in notification settings.
See
+ /// Changes in notification settings. See [TLDef(0xBEC268EF)] public partial class UpdateNotifySettings : Update { @@ -3039,7 +3039,7 @@ namespace TL /// New notification settings public PeerNotifySettings notify_settings; } - /// A service message for the user.
See
+ /// A service message for the user. See [TLDef(0xEBE46819)] public partial class UpdateServiceNotification : Update { @@ -3064,7 +3064,7 @@ namespace TL has_inbox_date = 0x2, } } - /// Privacy rules were changed
See
+ /// Privacy rules were changed See [TLDef(0xEE3B272A)] public partial class UpdatePrivacy : Update { @@ -3073,7 +3073,7 @@ namespace TL /// New privacy rules public PrivacyRule[] rules; } - /// A user's phone number was changed
See
+ /// A user's phone number was changed See [TLDef(0x05492A13)] public partial class UpdateUserPhone : Update { @@ -3082,7 +3082,7 @@ namespace TL /// New phone number public string phone; } - /// Incoming messages were read
See
+ /// Incoming messages were read See [TLDef(0x9C974FDF)] public partial class UpdateReadHistoryInbox : Update { @@ -3107,7 +3107,7 @@ namespace TL has_folder_id = 0x1, } } - /// Outgoing messages were read
See
+ /// Outgoing messages were read See [TLDef(0x2F2F21BF)] public partial class UpdateReadHistoryOutbox : Update { @@ -3120,7 +3120,7 @@ namespace TL /// Number of events that were generated public int pts_count; } - /// An instant view webpage preview was generated
See
+ /// An instant view webpage preview was generated See [TLDef(0x7F891213)] public partial class UpdateWebPage : Update { @@ -3131,7 +3131,7 @@ namespace TL /// Number of events that were generated public int pts_count; } - /// Contents of messages in the common message box were read
See
+ /// Contents of messages in the common message box were read See [TLDef(0x68C13933)] public partial class UpdateReadMessagesContents : Update { @@ -3142,7 +3142,7 @@ namespace TL /// Number of events that were generated public int pts_count; } - /// There are new updates in the specified channel, the client must fetch them.
If the difference is too long or if the channel isn't currently in the states, start fetching from the specified pts.
See
+ /// There are new updates in the specified channel, the client must fetch them.
If the difference is too long or if the channel isn't currently in the states, start fetching from the specified pts. See
[TLDef(0x108D941F)] public partial class UpdateChannelTooLong : Update { @@ -3159,17 +3159,17 @@ namespace TL has_pts = 0x1, } } - /// A new channel is available
See
+ /// A new channel is available See [TLDef(0x635B4C09)] public partial class UpdateChannel : Update { /// Channel ID public long channel_id; } - /// A new message was sent in a channel/supergroup
See
+ /// A new message was sent in a channel/supergroup See [TLDef(0x62BA04D9)] public partial class UpdateNewChannelMessage : UpdateNewMessage { } - /// Incoming messages in a channel/supergroup were read
See
+ /// Incoming messages in a channel/supergroup were read See [TLDef(0x922E6E10)] public partial class UpdateReadChannelInbox : Update { @@ -3192,14 +3192,14 @@ namespace TL has_folder_id = 0x1, } } - /// Some messages in a supergroup/channel were deleted
See
+ /// Some messages in a supergroup/channel were deleted See [TLDef(0xC32D5B12, inheritAfter = true)] public partial class UpdateDeleteChannelMessages : UpdateDeleteMessages { /// Channel ID public long channel_id; } - /// The view counter of a message in a channel has changed
See
+ /// The view counter of a message in a channel has changed See [TLDef(0xF226AC08)] public partial class UpdateChannelMessageViews : UpdateChannel { @@ -3208,7 +3208,7 @@ namespace TL /// New view counter public int views; } - /// Admin permissions of a user in a legacy group were changed
See
+ /// Admin permissions of a user in a legacy group were changed See [TLDef(0xD7CA61A2)] public partial class UpdateChatParticipantAdmin : UpdateChat { @@ -3219,14 +3219,14 @@ namespace TL /// Used in basic groups to reorder updates and make sure that all of them was received. public int version; } - /// A new stickerset was installed
See
+ /// A new stickerset was installed See [TLDef(0x688A30AA)] public partial class UpdateNewStickerSet : Update { /// The installed stickerset public Messages_StickerSet stickerset; } - /// The order of stickersets was changed
See
+ /// The order of stickersets was changed See [TLDef(0x0BB2D201)] public partial class UpdateStickerSetsOrder : Update { @@ -3241,13 +3241,13 @@ namespace TL masks = 0x1, } } - /// Installed stickersets have changed, the client should refetch them using messages.getAllStickers
See
+ /// Installed stickersets have changed, the client should refetch them using messages.getAllStickers See [TLDef(0x43AE3DEC)] public partial class UpdateStickerSets : Update { } - /// The saved gif list has changed, the client should refetch it using messages.getSavedGifs
See
+ /// The saved gif list has changed, the client should refetch it using messages.getSavedGifs See [TLDef(0x9375341E)] public partial class UpdateSavedGifs : Update { } - /// An incoming inline query
See
+ /// An incoming inline query See [TLDef(0x496F379C)] public partial class UpdateBotInlineQuery : Update { @@ -3274,7 +3274,7 @@ namespace TL has_peer_type = 0x2, } } - /// The result of an inline query that was chosen by a user and sent to their chat partner. Please see our documentation on the feedback collecting for details on how to enable these updates for your bot.
See
+ /// The result of an inline query that was chosen by a user and sent to their chat partner. Please see our documentation on the feedback collecting for details on how to enable these updates for your bot. See [TLDef(0x12F12A07)] public partial class UpdateBotInlineSend : Update { @@ -3299,10 +3299,10 @@ namespace TL has_msg_id = 0x2, } } - /// A message was edited in a channel/supergroup
See
+ /// A message was edited in a channel/supergroup See [TLDef(0x1B3F4DF7)] public partial class UpdateEditChannelMessage : UpdateEditMessage { } - /// A callback button was pressed, and the button data was sent to the bot that created the button
See
+ /// A callback button was pressed, and the button data was sent to the bot that created the button See [TLDef(0xB9CFC48D)] public partial class UpdateBotCallbackQuery : Update { @@ -3331,7 +3331,7 @@ namespace TL has_game_short_name = 0x2, } } - /// A message was edited
See
+ /// A message was edited See [TLDef(0xE40370A3)] public partial class UpdateEditMessage : Update { @@ -3342,7 +3342,7 @@ namespace TL /// PTS count public int pts_count; } - /// This notification is received by bots when a button is pressed
See
+ /// This notification is received by bots when a button is pressed See [TLDef(0x691E9052)] public partial class UpdateInlineBotCallbackQuery : Update { @@ -3369,7 +3369,7 @@ namespace TL has_game_short_name = 0x2, } } - /// Outgoing messages in a channel/supergroup were read
See
+ /// Outgoing messages in a channel/supergroup were read See [TLDef(0xB75F99A9)] public partial class UpdateReadChannelOutbox : Update { @@ -3378,7 +3378,7 @@ namespace TL /// Position up to which all outgoing messages are read. public int max_id; } - /// Notifies a change of a message draft.
See
+ /// Notifies a change of a message draft. See [TLDef(0xEE2BB969)] public partial class UpdateDraftMessage : Update { @@ -3387,26 +3387,26 @@ namespace TL /// The draft public DraftMessageBase draft; } - /// Some featured stickers were marked as read
See
+ /// Some featured stickers were marked as read See [TLDef(0x571D2742)] public partial class UpdateReadFeaturedStickers : Update { } - /// The recent sticker list was updated
See
+ /// The recent sticker list was updated See [TLDef(0x9A422C20)] public partial class UpdateRecentStickers : Update { } - /// The server-side configuration has changed; the client should re-fetch the config using help.getConfig
See
+ /// The server-side configuration has changed; the client should re-fetch the config using help.getConfig See [TLDef(0xA229DD06)] public partial class UpdateConfig : Update { } - /// Common message box sequence PTS has changed, state has to be refetched using updates.getState
See
+ /// Common message box sequence PTS has changed, state has to be refetched using updates.getState See [TLDef(0x3354678F)] public partial class UpdatePtsChanged : Update { } - /// A webpage preview of a link in a channel/supergroup message was generated
See
+ /// A webpage preview of a link in a channel/supergroup message was generated See [TLDef(0x2F2BA99F, inheritAfter = true)] public partial class UpdateChannelWebPage : UpdateWebPage { /// Channel/supergroup ID public long channel_id; } - /// A dialog was pinned/unpinned
See
+ /// A dialog was pinned/unpinned See [TLDef(0x6E6FE51C)] public partial class UpdateDialogPinned : Update { @@ -3425,7 +3425,7 @@ namespace TL has_folder_id = 0x2, } } - /// Pinned dialogs were updated
See
+ /// Pinned dialogs were updated See [TLDef(0xFA0F3CA2)] public partial class UpdatePinnedDialogs : Update { @@ -3444,14 +3444,14 @@ namespace TL has_folder_id = 0x2, } } - /// A new incoming event; for bots only
See
+ /// A new incoming event; for bots only See [TLDef(0x8317C0C3)] public partial class UpdateBotWebhookJSON : Update { /// The event public DataJSON data; } - /// A new incoming query; for bots only
See
+ /// A new incoming query; for bots only See [TLDef(0x9B9240A6)] public partial class UpdateBotWebhookJSONQuery : Update { @@ -3462,7 +3462,7 @@ namespace TL /// Query timeout public int timeout; } - /// This object contains information about an incoming shipping query.
See
+ /// This object contains information about an incoming shipping query. See [TLDef(0xB5AEFD7D)] public partial class UpdateBotShippingQuery : Update { @@ -3475,7 +3475,7 @@ namespace TL /// User specified shipping address public PostAddress shipping_address; } - /// This object contains information about an incoming pre-checkout query.
See
+ /// This object contains information about an incoming pre-checkout query. See [TLDef(0x8CAA9A96)] public partial class UpdateBotPrecheckoutQuery : Update { @@ -3504,48 +3504,48 @@ namespace TL has_shipping_option_id = 0x2, } } - /// An incoming phone call
See
+ /// An incoming phone call See [TLDef(0xAB0F6B1E)] public partial class UpdatePhoneCall : Update { /// Phone call public PhoneCallBase phone_call; } - /// A language pack has changed, the client should manually fetch the changed strings using langpack.getDifference
See
+ /// A language pack has changed, the client should manually fetch the changed strings using langpack.getDifference See [TLDef(0x46560264)] public partial class UpdateLangPackTooLong : Update { /// Language code public string lang_code; } - /// Language pack updated
See
+ /// Language pack updated See [TLDef(0x56022F4D)] public partial class UpdateLangPack : Update { /// Changed strings public LangPackDifference difference; } - /// The list of favorited stickers was changed, the client should call messages.getFavedStickers to refetch the new list
See
+ /// The list of favorited stickers was changed, the client should call messages.getFavedStickers to refetch the new list See [TLDef(0xE511996D)] public partial class UpdateFavedStickers : Update { } - /// The specified channel/supergroup messages were read
See
+ /// The specified channel/supergroup messages were read See [TLDef(0x44BDD535)] public partial class UpdateChannelReadMessagesContents : UpdateChannel { /// IDs of messages that were read public int[] messages; } - /// All contacts were deleted
See
+ /// All contacts were deleted See [TLDef(0x7084A7BE)] public partial class UpdateContactsReset : Update { } - /// The history of a channel/supergroup was hidden.
See
+ /// The history of a channel/supergroup was hidden. See [TLDef(0xB23FC698)] public partial class UpdateChannelAvailableMessages : UpdateChannel { /// Identifier of a maximum unavailable message in a channel due to hidden history. public int available_min_id; } - /// The manual unread mark of a chat was changed
See
+ /// The manual unread mark of a chat was changed See [TLDef(0xE16459C3)] public partial class UpdateDialogUnreadMark : Update { @@ -3560,7 +3560,7 @@ namespace TL unread = 0x1, } } - /// The results of a poll have changed
See
+ /// The results of a poll have changed See [TLDef(0xACA1657B)] public partial class UpdateMessagePoll : Update { @@ -3579,7 +3579,7 @@ namespace TL has_poll = 0x1, } } - /// Default banned rights in a normal chat were updated
See
+ /// Default banned rights in a normal chat were updated See [TLDef(0x54C01850)] public partial class UpdateChatDefaultBannedRights : Update { @@ -3590,7 +3590,7 @@ namespace TL /// Version public int version; } - /// The peer list of a peer folder was updated
See
+ /// The peer list of a peer folder was updated See [TLDef(0x19360DC0)] public partial class UpdateFolderPeers : Update { @@ -3601,7 +3601,7 @@ namespace TL /// Number of events that were generated public int pts_count; } - /// Settings of a certain peer have changed
See
+ /// Settings of a certain peer have changed See [TLDef(0x6A7E7366)] public partial class UpdatePeerSettings : Update { @@ -3610,21 +3610,21 @@ namespace TL /// Associated peer settings public PeerSettings settings; } - /// List of peers near you was updated
See
+ /// List of peers near you was updated See [TLDef(0xB4AFCFB0)] public partial class UpdatePeerLocated : Update { /// Geolocated peer list update public PeerLocatedBase[] peers; } - /// A message was added to the schedule queue of a chat
See
+ /// A message was added to the schedule queue of a chat See [TLDef(0x39A51DFB)] public partial class UpdateNewScheduledMessage : Update { /// Message public MessageBase message; } - /// Some scheduled messages were deleted from the schedule queue of a chat
See
+ /// Some scheduled messages were deleted from the schedule queue of a chat See [TLDef(0x90866CEE)] public partial class UpdateDeleteScheduledMessages : Update { @@ -3633,14 +3633,14 @@ namespace TL /// Deleted scheduled messages public int[] messages; } - /// A cloud theme was updated
See
+ /// A cloud theme was updated See [TLDef(0x8216FBA3)] public partial class UpdateTheme : Update { /// Theme public Theme theme; } - /// Live geoposition message was viewed
See
+ /// Live geoposition message was viewed See [TLDef(0x871FB939)] public partial class UpdateGeoLiveViewed : Update { @@ -3649,10 +3649,10 @@ namespace TL /// Message ID of geoposition message public int msg_id; } - /// A login token (for login via QR code) was accepted.
See
+ /// A login token (for login via QR code) was accepted. See [TLDef(0x564FE691)] public partial class UpdateLoginToken : Update { } - /// A specific user has voted in a poll
See
+ /// A specific user has voted in a poll See [TLDef(0x106395C9)] public partial class UpdateMessagePollVote : Update { @@ -3665,7 +3665,7 @@ namespace TL /// New qts value, see updates » for more info. public int qts; } - /// A new folder was added
See
+ /// A new folder was added See [TLDef(0x26FFDE7D)] public partial class UpdateDialogFilter : Update { @@ -3682,17 +3682,17 @@ namespace TL has_filter = 0x1, } } - /// New folder order
See
+ /// New folder order See [TLDef(0xA5D72105)] public partial class UpdateDialogFilterOrder : Update { /// Ordered folder IDs public int[] order; } - /// Clients should update folder info
See
+ /// Clients should update folder info See [TLDef(0x3504914F)] public partial class UpdateDialogFilters : Update { } - /// Incoming phone call signaling payload
See
+ /// Incoming phone call signaling payload See [TLDef(0x2661BF09)] public partial class UpdatePhoneCallSignalingData : Update { @@ -3701,7 +3701,7 @@ namespace TL /// Signaling payload public byte[] data; } - /// The forward counter of a message in a channel has changed
See
+ /// The forward counter of a message in a channel has changed See [TLDef(0xD29A27F4)] public partial class UpdateChannelMessageForwards : UpdateChannel { @@ -3710,7 +3710,7 @@ namespace TL /// New forward counter public int forwards; } - /// Incoming comments in a discussion thread were marked as read
See
+ /// Incoming comments in a discussion thread were marked as read See [TLDef(0xD6B19546)] public partial class UpdateReadChannelDiscussionInbox : Update { @@ -3733,7 +3733,7 @@ namespace TL has_broadcast_id = 0x1, } } - /// Outgoing comments in a discussion thread were marked as read
See
+ /// Outgoing comments in a discussion thread were marked as read See [TLDef(0x695C9E7C)] public partial class UpdateReadChannelDiscussionOutbox : Update { @@ -3744,7 +3744,7 @@ namespace TL /// Message ID of latest read outgoing message for this thread public int read_max_id; } - /// A peer was blocked
See
+ /// A peer was blocked See [TLDef(0x246A4B22)] public partial class UpdatePeerBlocked : Update { @@ -3753,7 +3753,7 @@ namespace TL /// Whether the peer was blocked or unblocked public bool blocked; } - /// A user is typing in a supergroup, channel or message thread
See
+ /// A user is typing in a supergroup, channel or message thread See [TLDef(0x8C88C923)] public partial class UpdateChannelUserTyping : Update { @@ -3774,7 +3774,7 @@ namespace TL has_top_msg_id = 0x1, } } - /// Some messages were pinned in a chat
See
+ /// Some messages were pinned in a chat See [TLDef(0xED85EAB5)] public partial class UpdatePinnedMessages : Update { @@ -3795,7 +3795,7 @@ namespace TL pinned = 0x1, } } - /// Messages were pinned/unpinned in a channel/supergroup
See
+ /// Messages were pinned/unpinned in a channel/supergroup See [TLDef(0x5BB98608)] public partial class UpdatePinnedChannelMessages : Update { @@ -3816,14 +3816,14 @@ namespace TL pinned = 0x1, } } - /// A new chat is available
See
+ /// A new chat is available See [TLDef(0xF89A6A4E)] public partial class UpdateChat : Update { /// Chat ID public long chat_id; } - /// The participant list of a certain group call has changed
See
+ /// The participant list of a certain group call has changed See [TLDef(0xF2EBDB4E)] public partial class UpdateGroupCallParticipants : Update { @@ -3834,7 +3834,7 @@ namespace TL /// Version public int version; } - /// A new groupcall was started
See
+ /// A new groupcall was started See [TLDef(0x14B24500)] public partial class UpdateGroupCall : Update { @@ -3843,7 +3843,7 @@ namespace TL /// Info about the group call or livestream public GroupCallBase call; } - /// The Time-To-Live for messages sent by the current user in a specific chat has changed
See
+ /// The Time-To-Live for messages sent by the current user in a specific chat has changed See [TLDef(0xBB9BB9A5)] public partial class UpdatePeerHistoryTTL : Update { @@ -3860,7 +3860,7 @@ namespace TL has_ttl_period = 0x1, } } - /// A user has joined or left a specific chat
See
+ /// A user has joined or left a specific chat See [TLDef(0xD087663A)] public partial class UpdateChatParticipant : Update { @@ -3893,7 +3893,7 @@ namespace TL has_invite = 0x4, } } - /// A participant has left, joined, was banned or admined in a channel or supergroup.
See
+ /// A participant has left, joined, was banned or admined in a channel or supergroup. See [TLDef(0x985D3ABB)] public partial class UpdateChannelParticipant : Update { @@ -3926,7 +3926,7 @@ namespace TL has_invite = 0x4, } } - /// A bot was stopped or re-started.
See
+ /// A bot was stopped or re-started. See [TLDef(0xC4870A49)] public partial class UpdateBotStopped : Update { @@ -3939,7 +3939,7 @@ namespace TL /// New qts value, see updates » for more info. public int qts; } - /// New WebRTC parameters
See
+ /// New WebRTC parameters See [TLDef(0x0B783982)] public partial class UpdateGroupCallConnection : Update { @@ -3954,7 +3954,7 @@ namespace TL presentation = 0x1, } } - /// The command set of a certain bot in a certain chat has changed.
See
+ /// The command set of a certain bot in a certain chat has changed. See [TLDef(0x4D712F2E)] public partial class UpdateBotCommands : Update { @@ -3965,7 +3965,7 @@ namespace TL /// New bot commands public BotCommand[] commands; } - ///
See
+ /// See [TLDef(0x7063C3DB)] public partial class UpdatePendingJoinRequests : Update { @@ -3973,7 +3973,7 @@ namespace TL public int requests_pending; public long[] recent_requesters; } - ///
See
+ /// See [TLDef(0x11DFA986)] public partial class UpdateBotChatInviteRequester : Update { @@ -3985,7 +3985,7 @@ namespace TL public int qts; } - /// Updates state.
See
+ /// Updates state. See [TLDef(0xA56C2A3E)] public partial class Updates_State : ITLObject { @@ -4001,7 +4001,7 @@ namespace TL public int unread_count; } - ///
Derived classes: , , ,
See
+ /// Occurred changes. Derived classes: , , , See public abstract partial class Updates_DifferenceBase : ITLObject { /// List of new messages @@ -4013,7 +4013,7 @@ namespace TL /// returns a or for the given Peer public abstract IPeerInfo UserOrChat(Peer peer); } - /// No events.
See
+ /// No events. See [TLDef(0x5D75A138)] public partial class Updates_DifferenceEmpty : Updates_DifferenceBase { @@ -4028,7 +4028,7 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => null; } - /// Full list of occurred events.
See
+ /// Full list of occurred events. See [TLDef(0x00F49CA0)] public partial class Updates_Difference : Updates_DifferenceBase { @@ -4054,7 +4054,7 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Incomplete list of occurred events.
See
+ /// Incomplete list of occurred events. See [TLDef(0xA8FB1981)] public partial class Updates_DifferenceSlice : Updates_DifferenceBase { @@ -4080,7 +4080,7 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// The difference is too long, and the specified state must be used to refetch updates.
See
+ /// The difference is too long, and the specified state must be used to refetch updates. See [TLDef(0x4AFE8F6D)] public partial class Updates_DifferenceTooLong : Updates_DifferenceBase { @@ -4094,19 +4094,19 @@ namespace TL public override IPeerInfo UserOrChat(Peer peer) => null; } - ///
Derived classes: , , , , , ,
See
+ /// Object which is perceived by the client without a call on its part when an event occurs. Derived classes: , , , , , , See public abstract partial class UpdatesBase : ITLObject { /// date public abstract DateTime Date { get; } } - /// Too many updates, it is necessary to execute updates.getDifference.
See
+ /// Too many updates, it is necessary to execute updates.getDifference. See [TLDef(0xE317AF7E)] public partial class UpdatesTooLong : UpdatesBase { public override DateTime Date => default; } - /// Info about a message sent to (received from) another user
See
+ /// Info about a message sent to (received from) another user See [TLDef(0x313BC7F8)] public partial class UpdateShortMessage : UpdatesBase { @@ -4160,7 +4160,7 @@ namespace TL /// date public override DateTime Date => date; } - /// Shortened constructor containing info on one new incoming text message from a chat
See
+ /// Shortened constructor containing info on one new incoming text message from a chat See [TLDef(0x4D6DEEA5)] public partial class UpdateShortChatMessage : UpdatesBase { @@ -4216,7 +4216,7 @@ namespace TL /// date public override DateTime Date => date; } - /// Shortened constructor containing info on one update not requiring auxiliary data
See
+ /// Shortened constructor containing info on one update not requiring auxiliary data See [TLDef(0x78D4DEC1)] public partial class UpdateShort : UpdatesBase { @@ -4228,7 +4228,7 @@ namespace TL /// Date of event public override DateTime Date => date; } - /// Constructor for a group of updates.
See
+ /// Constructor for a group of updates. See [TLDef(0x725B04C3)] public partial class UpdatesCombined : UpdatesBase { @@ -4250,7 +4250,7 @@ namespace TL /// returns a or for the given Peer public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - ///
See
+ /// See [TLDef(0x74AE4240)] public partial class Updates : UpdatesBase { @@ -4270,7 +4270,7 @@ namespace TL /// returns a or for the given Peer public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Shortened constructor containing info on one outgoing message to a contact (the destination chat has to be extracted from the method call that returned this object).
See
+ /// Shortened constructor containing info on one outgoing message to a contact (the destination chat has to be extracted from the method call that returned this object). See [TLDef(0x9015E101)] public partial class UpdateShortSentMessage : UpdatesBase { @@ -4307,7 +4307,7 @@ namespace TL public override DateTime Date => date; } - /// Full list of photos with auxiliary data.
See
+ /// Full list of photos with auxiliary data. See [TLDef(0x8DCA6AA5)] public partial class Photos_Photos : ITLObject { @@ -4316,7 +4316,7 @@ namespace TL /// List of mentioned users public Dictionary users; } - /// Incomplete list of photos with auxiliary data.
See
+ /// Incomplete list of photos with auxiliary data. See [TLDef(0x15051F54, inheritAfter = true)] public partial class Photos_PhotosSlice : Photos_Photos { @@ -4324,7 +4324,7 @@ namespace TL public int count; } - /// Photo with auxiliary data.
See
+ /// Photo with auxiliary data. See [TLDef(0x20212CA8)] public partial class Photos_Photo : ITLObject { @@ -4334,9 +4334,9 @@ namespace TL public Dictionary users; } - ///
Derived classes: ,
See
+ /// Contains info on file. Derived classes: , See public abstract partial class Upload_FileBase : ITLObject { } - /// File content.
See
+ /// File content. See [TLDef(0x096A18D5)] public partial class Upload_File : Upload_FileBase { @@ -4347,7 +4347,7 @@ namespace TL /// Binary data, file content public byte[] bytes; } - /// The file must be downloaded from a CDN DC.
See
+ /// The file must be downloaded from a CDN DC. See [TLDef(0xF18CDA44)] public partial class Upload_FileCdnRedirect : Upload_FileBase { @@ -4363,7 +4363,7 @@ namespace TL public FileHash[] file_hashes; } - /// Data centre
See
+ /// Data centre See [TLDef(0x18B7A10D)] public partial class DcOption : ITLObject { @@ -4395,7 +4395,7 @@ namespace TL } } - /// Current configuration
See
+ /// Current configuration See [TLDef(0x330B4067)] public partial class Config : ITLObject { @@ -4523,7 +4523,7 @@ namespace TL } } - /// Nearest data centre, according to geo-ip.
See
+ /// Nearest data centre, according to geo-ip. See [TLDef(0x8E1A1775)] public partial class NearestDc : ITLObject { @@ -4535,7 +4535,7 @@ namespace TL public int nearest_dc; } - /// An update is available for the application.
See
+ /// An update is available for the application. See /// a null value means help.noAppUpdate [TLDef(0xCCBBCE30)] public partial class Help_AppUpdate : ITLObject @@ -4570,7 +4570,7 @@ namespace TL } } - /// Text of a text message with an invitation to install Telegram.
See
+ /// Text of a text message with an invitation to install Telegram. See [TLDef(0x18CB9F78)] public partial class Help_InviteText : ITLObject { @@ -4578,13 +4578,13 @@ namespace TL public string message; } - ///
Derived classes: , , , ,
See
+ /// Object contains info on an encrypted chat. Derived classes: , , , , See public abstract partial class EncryptedChatBase : ITLObject { /// Chat ID public abstract int ID { get; } } - /// Empty constructor.
See
+ /// Empty constructor. See [TLDef(0xAB7EC0A0)] public partial class EncryptedChatEmpty : EncryptedChatBase { @@ -4594,7 +4594,7 @@ namespace TL /// Chat ID public override int ID => id; } - /// Chat waiting for approval of second participant.
See
+ /// Chat waiting for approval of second participant. See [TLDef(0x66B25953)] public partial class EncryptedChatWaiting : EncryptedChatBase { @@ -4612,7 +4612,7 @@ namespace TL /// Chat ID public override int ID => id; } - /// Request to create an encrypted chat.
See
+ /// Request to create an encrypted chat. See [TLDef(0x48F1D94C)] public partial class EncryptedChatRequested : EncryptedChatBase { @@ -4642,7 +4642,7 @@ namespace TL /// Chat ID public override int ID => id; } - /// Encrypted chat
See
+ /// Encrypted chat See [TLDef(0x61F0D4C7)] public partial class EncryptedChat : EncryptedChatBase { @@ -4664,7 +4664,7 @@ namespace TL /// Chat ID public override int ID => id; } - /// Discarded or deleted chat.
See
+ /// Discarded or deleted chat. See [TLDef(0x1E1C7C45)] public partial class EncryptedChatDiscarded : EncryptedChatBase { @@ -4683,7 +4683,7 @@ namespace TL public override int ID => id; } - /// Creates an encrypted chat.
See
+ /// Creates an encrypted chat. See [TLDef(0xF141B5E1)] public partial class InputEncryptedChat : ITLObject { @@ -4693,7 +4693,7 @@ namespace TL public long access_hash; } - /// Encrypted file.
See
+ /// Encrypted file. See /// a null value means encryptedFileEmpty [TLDef(0x4A70994C)] public partial class EncryptedFile : ITLObject @@ -4710,14 +4710,14 @@ namespace TL public int key_fingerprint; } - ///
Derived classes: , ,
See
+ /// Object sets encrypted file for attachment Derived classes: , , See /// a null value means inputEncryptedFileEmpty public abstract partial class InputEncryptedFileBase : ITLObject { /// Random file ID created by clien public abstract long ID { get; } } - /// Sets new encrypted file saved by parts using upload.saveFilePart method.
See
+ /// Sets new encrypted file saved by parts using upload.saveFilePart method. See [TLDef(0x64BD0306)] public partial class InputEncryptedFileUploaded : InputEncryptedFileBase { @@ -4733,7 +4733,7 @@ namespace TL /// Random file ID created by clien public override long ID => id; } - /// Sets forwarded encrypted file for attachment.
See
+ /// Sets forwarded encrypted file for attachment. See [TLDef(0x5A17B5E5)] public partial class InputEncryptedFile : InputEncryptedFileBase { @@ -4745,7 +4745,7 @@ namespace TL /// File ID, value of id parameter from public override long ID => id; } - /// Assigns a new big encrypted file (over 10Mb in size), saved in parts using the method upload.saveBigFilePart.
See
+ /// Assigns a new big encrypted file (over 10Mb in size), saved in parts using the method upload.saveBigFilePart. See [TLDef(0x2DC173C8)] public partial class InputEncryptedFileBigUploaded : InputEncryptedFileBase { @@ -4760,7 +4760,7 @@ namespace TL public override long ID => id; } - ///
Derived classes: ,
See
+ /// Object contains encrypted message. Derived classes: , See public abstract partial class EncryptedMessageBase : ITLObject { /// Random message ID, assigned by the author of message @@ -4772,7 +4772,7 @@ namespace TL /// TL-serialising of type, encrypted with the key creatied at stage of chat initialization public abstract byte[] Bytes { get; } } - /// Encrypted message.
See
+ /// Encrypted message. See [TLDef(0xED18C118)] public partial class EncryptedMessage : EncryptedMessageBase { @@ -4796,7 +4796,7 @@ namespace TL /// TL-serialising of type, encrypted with the key creatied at stage of chat initialization public override byte[] Bytes => bytes; } - /// Encrypted service message
See
+ /// Encrypted service message See [TLDef(0x23734B06)] public partial class EncryptedMessageService : EncryptedMessageBase { @@ -4819,16 +4819,16 @@ namespace TL public override byte[] Bytes => bytes; } - ///
Derived classes: ,
See
+ /// Derived classes: , See public abstract partial class Messages_DhConfigBase : ITLObject { } - /// Configuring parameters did not change.
See
+ /// Configuring parameters did not change. See [TLDef(0xC0E24635)] public partial class Messages_DhConfigNotModified : Messages_DhConfigBase { /// Random sequence of bytes of assigned length public byte[] random; } - /// New set of configuring parameters.
See
+ /// New set of configuring parameters. See [TLDef(0x2C221EDD)] public partial class Messages_DhConfig : Messages_DhConfigBase { @@ -4842,14 +4842,14 @@ namespace TL public byte[] random; } - /// Message without file attachemts sent to an encrypted file.
See
+ /// Message without file attachemts sent to an encrypted file. See [TLDef(0x560F8935)] public partial class Messages_SentEncryptedMessage : ITLObject { /// Date of sending public DateTime date; } - /// Message with a file enclosure sent to a protected chat
See
+ /// Message with a file enclosure sent to a protected chat See [TLDef(0x9493FF32)] public partial class Messages_SentEncryptedFile : Messages_SentEncryptedMessage { @@ -4857,7 +4857,7 @@ namespace TL public EncryptedFile file; } - /// Defines a video for subsequent interaction.
See
+ /// Defines a video for subsequent interaction. See /// a null value means inputDocumentEmpty [TLDef(0x1ABFB575)] public partial class InputDocument : ITLObject @@ -4870,16 +4870,16 @@ namespace TL public byte[] file_reference; } - ///
Derived classes: ,
See
+ /// A document. Derived classes: , See public abstract partial class DocumentBase : ITLObject { } - /// Empty constructor, document doesn't exist.
See
+ /// Empty constructor, document doesn't exist. See [TLDef(0x36F8C871)] public partial class DocumentEmpty : DocumentBase { /// Document ID or 0 public long id; } - /// Document
See
+ /// Document See [TLDef(0x1E87342B)] public partial class Document : DocumentBase { @@ -4915,7 +4915,7 @@ namespace TL } } - /// Info on support user.
See
+ /// Info on support user. See [TLDef(0x17C6B5F6)] public partial class Help_Support : ITLObject { @@ -4925,100 +4925,100 @@ namespace TL public UserBase user; } - ///
Derived classes: , , ,
See
+ /// Object defines the set of users and/or groups that generate notifications. Derived classes: , , , See public abstract partial class NotifyPeerBase : ITLObject { } - /// Notifications generated by a certain user or group.
See
+ /// Notifications generated by a certain user or group. See [TLDef(0x9FD40BD8)] public partial class NotifyPeer : NotifyPeerBase { /// user or group public Peer peer; } - /// Notifications generated by all users.
See
+ /// Notifications generated by all users. See [TLDef(0xB4C83B4C)] public partial class NotifyUsers : NotifyPeerBase { } - /// Notifications generated by all groups.
See
+ /// Notifications generated by all groups. See [TLDef(0xC007CEC3)] public partial class NotifyChats : NotifyPeerBase { } - /// Channel notification settings
See
+ /// Channel notification settings See [TLDef(0xD612E8EF)] public partial class NotifyBroadcasts : NotifyPeerBase { } - /// User actions. Use this to provide users with detailed info about their chat partners' actions: typing or sending attachments of all kinds.
Derived classes: , , , , , , , , , , , , , , , , ,
See
+ /// User actions. Use this to provide users with detailed info about their chat partners' actions: typing or sending attachments of all kinds. Derived classes: , , , , , , , , , , , , , , , , , See public abstract partial class SendMessageAction : ITLObject { } - /// User is typing.
See
+ /// User is typing. See [TLDef(0x16BF744E)] public partial class SendMessageTypingAction : SendMessageAction { } - /// Invalidate all previous action updates. E.g. when user deletes entered text or aborts a video upload.
See
+ /// Invalidate all previous action updates. E.g. when user deletes entered text or aborts a video upload. See [TLDef(0xFD5EC8F5)] public partial class SendMessageCancelAction : SendMessageAction { } - /// User is recording a video.
See
+ /// User is recording a video. See [TLDef(0xA187D66F)] public partial class SendMessageRecordVideoAction : SendMessageAction { } - /// User is uploading a video.
See
+ /// User is uploading a video. See [TLDef(0xE9763AEC)] public partial class SendMessageUploadVideoAction : SendMessageAction { /// Progress percentage public int progress; } - /// User is recording a voice message.
See
+ /// User is recording a voice message. See [TLDef(0xD52F73F7)] public partial class SendMessageRecordAudioAction : SendMessageAction { } - /// User is uploading a voice message.
See
+ /// User is uploading a voice message. See [TLDef(0xF351D7AB)] public partial class SendMessageUploadAudioAction : SendMessageAction { /// Progress percentage public int progress; } - /// User is uploading a photo.
See
+ /// User is uploading a photo. See [TLDef(0xD1D34A26)] public partial class SendMessageUploadPhotoAction : SendMessageAction { /// Progress percentage public int progress; } - /// User is uploading a file.
See
+ /// User is uploading a file. See [TLDef(0xAA0CD9E4)] public partial class SendMessageUploadDocumentAction : SendMessageAction { /// Progress percentage public int progress; } - /// User is selecting a location to share.
See
+ /// User is selecting a location to share. See [TLDef(0x176F8BA1)] public partial class SendMessageGeoLocationAction : SendMessageAction { } - /// User is selecting a contact to share.
See
+ /// User is selecting a contact to share. See [TLDef(0x628CBC6F)] public partial class SendMessageChooseContactAction : SendMessageAction { } - /// User is playing a game
See
+ /// User is playing a game See [TLDef(0xDD6A8F48)] public partial class SendMessageGamePlayAction : SendMessageAction { } - /// User is recording a round video to share
See
+ /// User is recording a round video to share See [TLDef(0x88F27FBC)] public partial class SendMessageRecordRoundAction : SendMessageAction { } - /// User is uploading a round video
See
+ /// User is uploading a round video See [TLDef(0x243E1C66)] public partial class SendMessageUploadRoundAction : SendMessageAction { /// Progress percentage public int progress; } - /// User is currently speaking in the group call
See
+ /// User is currently speaking in the group call See [TLDef(0xD92C2285)] public partial class SpeakingInGroupCallAction : SendMessageAction { } - /// Chat history is being imported
See
+ /// Chat history is being imported See [TLDef(0xDBDA9246)] public partial class SendMessageHistoryImportAction : SendMessageAction { /// Progress percentage public int progress; } - /// User is choosing a sticker
See
+ /// User is choosing a sticker See [TLDef(0xB05AC6B1)] public partial class SendMessageChooseStickerAction : SendMessageAction { } - /// User has clicked on an animated emoji triggering a reaction, click here for more info ».
See
+ /// User has clicked on an animated emoji triggering a reaction, click here for more info ». See [TLDef(0x25972BCB)] public partial class SendMessageEmojiInteraction : SendMessageAction { @@ -5029,7 +5029,7 @@ namespace TL /// A JSON object with interaction info, click here for more info » public DataJSON interaction; } - /// User is watching an animated emoji reaction triggered by another user, click here for more info ».
See
+ /// User is watching an animated emoji reaction triggered by another user, click here for more info ». See [TLDef(0xB665902E)] public partial class SendMessageEmojiInteractionSeen : SendMessageAction { @@ -5037,7 +5037,7 @@ namespace TL public string emoticon; } - /// Users found by name substring and auxiliary data.
See
+ /// Users found by name substring and auxiliary data. See [TLDef(0xB3134D9D)] public partial class Contacts_Found : ITLObject { @@ -5053,7 +5053,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Privacy key
See
+ /// Privacy key See public enum InputPrivacyKey : uint { ///Whether we can see the exact last online timestamp of the user @@ -5074,7 +5074,7 @@ namespace TL AddedByPhone = 0xD1219BDD, } - /// Privacy key
See
+ /// Privacy key See public enum PrivacyKey : uint { ///Whether we can see the last online timestamp @@ -5095,42 +5095,42 @@ namespace TL AddedByPhone = 0x42FFD42B, } - /// Privacy rule
Derived classes: , , , , , , ,
See
+ /// Privacy rule Derived classes: , , , , , , , See public abstract partial class InputPrivacyRule : ITLObject { } - /// Allow only contacts
See
+ /// Allow only contacts See [TLDef(0x0D09E07B)] public partial class InputPrivacyValueAllowContacts : InputPrivacyRule { } - /// Allow all users
See
+ /// Allow all users See [TLDef(0x184B35CE)] public partial class InputPrivacyValueAllowAll : InputPrivacyRule { } - /// Allow only certain users
See
+ /// Allow only certain users See [TLDef(0x131CC67F)] public partial class InputPrivacyValueAllowUsers : InputPrivacyRule { /// Allowed users public InputUserBase[] users; } - /// Disallow only contacts
See
+ /// Disallow only contacts See [TLDef(0x0BA52007)] public partial class InputPrivacyValueDisallowContacts : InputPrivacyRule { } - /// Disallow all
See
+ /// Disallow all See [TLDef(0xD66B66C9)] public partial class InputPrivacyValueDisallowAll : InputPrivacyRule { } - /// Disallow only certain users
See
+ /// Disallow only certain users See [TLDef(0x90110467)] public partial class InputPrivacyValueDisallowUsers : InputPrivacyRule { /// Users to disallow public InputUserBase[] users; } - /// Allow only participants of certain chats
See
+ /// Allow only participants of certain chats See [TLDef(0x840649CF)] public partial class InputPrivacyValueAllowChatParticipants : InputPrivacyRule { /// Allowed chat IDs public long[] chats; } - /// Disallow only participants of certain chats
See
+ /// Disallow only participants of certain chats See [TLDef(0xE94F0F86)] public partial class InputPrivacyValueDisallowChatParticipants : InputPrivacyRule { @@ -5138,42 +5138,42 @@ namespace TL public long[] chats; } - /// Privacy rule
Derived classes: , , , , , , ,
See
+ /// Privacy rule Derived classes: , , , , , , , See public abstract partial class PrivacyRule : ITLObject { } - /// Allow all contacts
See
+ /// Allow all contacts See [TLDef(0xFFFE1BAC)] public partial class PrivacyValueAllowContacts : PrivacyRule { } - /// Allow all users
See
+ /// Allow all users See [TLDef(0x65427B82)] public partial class PrivacyValueAllowAll : PrivacyRule { } - /// Allow only certain users
See
+ /// Allow only certain users See [TLDef(0xB8905FB2)] public partial class PrivacyValueAllowUsers : PrivacyRule { /// Allowed users public long[] users; } - /// Disallow only contacts
See
+ /// Disallow only contacts See [TLDef(0xF888FA1A)] public partial class PrivacyValueDisallowContacts : PrivacyRule { } - /// Disallow all users
See
+ /// Disallow all users See [TLDef(0x8B73E763)] public partial class PrivacyValueDisallowAll : PrivacyRule { } - /// Disallow only certain users
See
+ /// Disallow only certain users See [TLDef(0xE4621141)] public partial class PrivacyValueDisallowUsers : PrivacyRule { /// Disallowed users public long[] users; } - /// Allow all participants of certain chats
See
+ /// Allow all participants of certain chats See [TLDef(0x6B134E8E)] public partial class PrivacyValueAllowChatParticipants : PrivacyRule { /// Allowed chats public long[] chats; } - /// Disallow only participants of certain chats
See
+ /// Disallow only participants of certain chats See [TLDef(0x41C87565)] public partial class PrivacyValueDisallowChatParticipants : PrivacyRule { @@ -5181,7 +5181,7 @@ namespace TL public long[] chats; } - /// Privacy rules
See
+ /// Privacy rules See [TLDef(0x50A04E45)] public partial class Account_PrivacyRules : ITLObject { @@ -5195,7 +5195,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Time to live in days of the current account
See
+ /// Time to live in days of the current account See [TLDef(0xB8D0AFDF)] public partial class AccountDaysTTL : ITLObject { @@ -5203,9 +5203,9 @@ namespace TL public int days; } - /// Various possible attributes of a document (used to define if it's a sticker, a GIF, a video, a mask sticker, an image, an audio, and so on)
Derived classes: , , , , , ,
See
+ /// Various possible attributes of a document (used to define if it's a sticker, a GIF, a video, a mask sticker, an image, an audio, and so on) Derived classes: , , , , , , See public abstract partial class DocumentAttribute : ITLObject { } - /// Defines the width and height of an image uploaded as document
See
+ /// Defines the width and height of an image uploaded as document See [TLDef(0x6C37C15C)] public partial class DocumentAttributeImageSize : DocumentAttribute { @@ -5214,10 +5214,10 @@ namespace TL /// Height of image public int h; } - /// Defines an animated GIF
See
+ /// Defines an animated GIF See [TLDef(0x11B58939)] public partial class DocumentAttributeAnimated : DocumentAttribute { } - /// Defines a sticker
See
+ /// Defines a sticker See [TLDef(0x6319D612)] public partial class DocumentAttributeSticker : DocumentAttribute { @@ -5238,7 +5238,7 @@ namespace TL mask = 0x2, } } - /// Defines a video
See
+ /// Defines a video See [TLDef(0x0EF02CE6)] public partial class DocumentAttributeVideo : DocumentAttribute { @@ -5259,7 +5259,7 @@ namespace TL supports_streaming = 0x2, } } - /// Represents an audio file
See
+ /// Represents an audio file See [TLDef(0x9852F9C6)] public partial class DocumentAttributeAudio : DocumentAttribute { @@ -5286,18 +5286,18 @@ namespace TL voice = 0x400, } } - /// A simple document with a file name
See
+ /// A simple document with a file name See [TLDef(0x15590068)] public partial class DocumentAttributeFilename : DocumentAttribute { /// The file name public string file_name; } - /// Whether the current document has stickers attached
See
+ /// Whether the current document has stickers attached See [TLDef(0x9801D2F7)] public partial class DocumentAttributeHasStickers : DocumentAttribute { } - /// Found stickers
See
+ /// Found stickers See /// a null value means messages.stickersNotModified [TLDef(0x30A6EC7E)] public partial class Messages_Stickers : ITLObject @@ -5308,7 +5308,7 @@ namespace TL public DocumentBase[] stickers; } - /// A stickerpack is a group of stickers associated to the same emoji.
It is not a sticker pack the way it is usually intended, you may be looking for a .
See
+ /// A stickerpack is a group of stickers associated to the same emoji.
It is not a sticker pack the way it is usually intended, you may be looking for a . See
[TLDef(0x12B299D4)] public partial class StickerPack : ITLObject { @@ -5318,7 +5318,7 @@ namespace TL public long[] documents; } - /// Info about all installed stickers
See
+ /// Info about all installed stickers See /// a null value means messages.allStickersNotModified [TLDef(0xCDBBCEBB)] public partial class Messages_AllStickers : ITLObject @@ -5329,7 +5329,7 @@ namespace TL public StickerSet[] sets; } - /// Events affected by operation
See
+ /// Events affected by operation See [TLDef(0x84D19185)] public partial class Messages_AffectedMessages : ITLObject { @@ -5339,13 +5339,13 @@ namespace TL public int pts_count; } - ///
Derived classes: , , ,
See
+ /// Instant View webpage preview Derived classes: , , , See public abstract partial class WebPageBase : ITLObject { /// Preview ID public abstract long ID { get; } } - /// No preview is available for the webpage
See
+ /// No preview is available for the webpage See [TLDef(0xEB1477E8)] public partial class WebPageEmpty : WebPageBase { @@ -5355,7 +5355,7 @@ namespace TL /// Preview ID public override long ID => id; } - /// A preview of the webpage is currently being generated
See
+ /// A preview of the webpage is currently being generated See [TLDef(0xC586DA1C)] public partial class WebPagePending : WebPageBase { @@ -5367,7 +5367,7 @@ namespace TL /// ID of preview public override long ID => id; } - /// Webpage preview
See
+ /// Webpage preview See [TLDef(0xE89C45B2)] public partial class WebPage : WebPageBase { @@ -5441,7 +5441,7 @@ namespace TL /// Preview ID public override long ID => id; } - /// The preview of the webpage hasn't changed
See
+ /// The preview of the webpage hasn't changed See [TLDef(0x7311CA11)] public partial class WebPageNotModified : WebPageBase { @@ -5459,7 +5459,7 @@ namespace TL public override long ID => default; } - /// Logged-in session
See
+ /// Logged-in session See [TLDef(0xAD01D61D)] public partial class Authorization : ITLObject { @@ -5501,7 +5501,7 @@ namespace TL } } - /// Logged-in sessions
See
+ /// Logged-in sessions See [TLDef(0x1250ABDE)] public partial class Account_Authorizations : ITLObject { @@ -5509,7 +5509,7 @@ namespace TL public Authorization[] authorizations; } - /// Configuration for two-factor authorization
See
+ /// Configuration for two-factor authorization See [TLDef(0x185B184F)] public partial class Account_Password : ITLObject { @@ -5551,7 +5551,7 @@ namespace TL } } - /// Private info associated to the password info (recovery email, telegram passport info & so on)
See
+ /// Private info associated to the password info (recovery email, telegram passport info & so on) See [TLDef(0x9A5C33E5)] public partial class Account_PasswordSettings : ITLObject { @@ -5571,7 +5571,7 @@ namespace TL } } - /// Settings for setting up a new password
See
+ /// Settings for setting up a new password See [TLDef(0xC23727C9)] public partial class Account_PasswordInputSettings : ITLObject { @@ -5599,7 +5599,7 @@ namespace TL } } - /// Recovery info of a 2FA password, only for accounts with a recovery email configured.
See
+ /// Recovery info of a 2FA password, only for accounts with a recovery email configured. See [TLDef(0x137948A5)] public partial class Auth_PasswordRecovery : ITLObject { @@ -5607,7 +5607,7 @@ namespace TL public string email_pattern; } - /// Message ID, for which PUSH-notifications were cancelled.
See
+ /// Message ID, for which PUSH-notifications were cancelled. See [TLDef(0xA384B779)] public partial class ReceivedNotifyMessage : ITLObject { @@ -5617,9 +5617,9 @@ namespace TL public int flags; } - /// Exported chat invite
Derived classes:
See
+ /// Exported chat invite Derived classes: See public abstract partial class ExportedChatInvite : ITLObject { } - /// Exported chat invite
See
+ /// Exported chat invite See [TLDef(0x0AB4A819)] public partial class ChatInviteExported : ExportedChatInvite { @@ -5664,16 +5664,16 @@ namespace TL } } - ///
Derived classes: , ,
See
+ /// Chat invite Derived classes: , , See public abstract partial class ChatInviteBase : ITLObject { } - /// The user has already joined this chat
See
+ /// The user has already joined this chat See [TLDef(0x5A686D7C)] public partial class ChatInviteAlready : ChatInviteBase { /// The chat connected to the invite public ChatBase chat; } - /// Chat invite info
See
+ /// Chat invite info See [TLDef(0x300C44C1)] public partial class ChatInvite : ChatInviteBase { @@ -5706,7 +5706,7 @@ namespace TL request_needed = 0x40, } } - /// A chat invitation that also allows peeking into the group to read messages without joining it.
See
+ /// A chat invitation that also allows peeking into the group to read messages without joining it. See [TLDef(0x61695CB0)] public partial class ChatInvitePeek : ChatInviteBase { @@ -5716,10 +5716,10 @@ namespace TL public DateTime expires; } - /// Represents a stickerset
Derived classes: , , , ,
See
+ /// Represents a stickerset Derived classes: , , , , See /// a null value means inputStickerSetEmpty public abstract partial class InputStickerSet : ITLObject { } - /// Stickerset by ID
See
+ /// Stickerset by ID See [TLDef(0x9DE7A269)] public partial class InputStickerSetID : InputStickerSet { @@ -5728,28 +5728,28 @@ namespace TL /// Access hash public long access_hash; } - /// Stickerset by short name, from tg://addstickers?set=short_name
See
+ /// Stickerset by short name, from tg://addstickers?set=short_name See [TLDef(0x861CC8A0)] public partial class InputStickerSetShortName : InputStickerSet { /// From tg://addstickers?set=short_name public string short_name; } - /// Animated emojis stickerset
See
+ /// Animated emojis stickerset See [TLDef(0x028703C8)] public partial class InputStickerSetAnimatedEmoji : InputStickerSet { } - /// Used for fetching animated dice stickers
See
+ /// Used for fetching animated dice stickers See [TLDef(0xE67F520E)] public partial class InputStickerSetDice : InputStickerSet { /// The emoji, for now 🏀, 🎲 and 🎯 are supported public string emoticon; } - /// Animated emoji reaction stickerset (contains animations to play when a user clicks on a given animated emoji)
See
+ /// Animated emoji reaction stickerset (contains animations to play when a user clicks on a given animated emoji) See [TLDef(0x0CDE3739)] public partial class InputStickerSetAnimatedEmojiAnimations : InputStickerSet { } - /// Represents a stickerset (stickerpack)
See
+ /// Represents a stickerset (stickerpack) See [TLDef(0xD7DF217A)] public partial class StickerSet : ITLObject { @@ -5793,7 +5793,7 @@ namespace TL } } - /// Stickerset and stickers inside it
See
+ /// Stickerset and stickers inside it See [TLDef(0xB60A24A6)] public partial class Messages_StickerSet : ITLObject { @@ -5805,7 +5805,7 @@ namespace TL public DocumentBase[] documents; } - /// Describes a bot command that can be used in a chat
See
+ /// Describes a bot command that can be used in a chat See [TLDef(0xC27AC8C7)] public partial class BotCommand : ITLObject { @@ -5815,7 +5815,7 @@ namespace TL public string description; } - /// Info about bots (available bot commands, etc)
See
+ /// Info about bots (available bot commands, etc) See [TLDef(0x1B74B335)] public partial class BotInfo : ITLObject { @@ -5827,13 +5827,13 @@ namespace TL public BotCommand[] commands; } - ///
Derived classes: , , , , , , , , , ,
See
+ /// Bot or inline keyboard buttons Derived classes: , , , , , , , , , , See public abstract partial class KeyboardButtonBase : ITLObject { /// Button text public abstract string Text { get; } } - /// Bot keyboard button
See
+ /// Bot keyboard button See [TLDef(0xA2FA4880)] public partial class KeyboardButton : KeyboardButtonBase { @@ -5843,14 +5843,14 @@ namespace TL /// Button text public override string Text => text; } - /// URL button
See
+ /// URL button See [TLDef(0x258AFF05)] public partial class KeyboardButtonUrl : KeyboardButton { /// URL public string url; } - /// Callback button
See
+ /// Callback button See [TLDef(0x35BBDB6B)] public partial class KeyboardButtonCallback : KeyboardButtonBase { @@ -5870,17 +5870,17 @@ namespace TL /// Button text public override string Text => text; } - /// Button to request a user's phone number
See
+ /// Button to request a user's phone number See [TLDef(0xB16A6C29)] public partial class KeyboardButtonRequestPhone : KeyboardButton { } - /// Button to request a user's geolocation
See
+ /// Button to request a user's geolocation See [TLDef(0xFC796B3F)] public partial class KeyboardButtonRequestGeoLocation : KeyboardButton { } - /// Button to force a user to switch to inline mode Pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query in the input field.
See
+ /// Button to force a user to switch to inline mode Pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query in the input field. See [TLDef(0x0568A748)] public partial class KeyboardButtonSwitchInline : KeyboardButtonBase { @@ -5900,17 +5900,17 @@ namespace TL /// Button label public override string Text => text; } - /// Button to start a game
See
+ /// Button to start a game See [TLDef(0x50F41CCF)] public partial class KeyboardButtonGame : KeyboardButton { } - /// Button to buy a product
See
+ /// Button to buy a product See [TLDef(0xAFD93FBB)] public partial class KeyboardButtonBuy : KeyboardButton { } - /// Button to request a user to authorize via URL using Seamless Telegram Login. When the user clicks on such a button, messages.requestUrlAuth should be called, providing the button_id and the ID of the container message. The returned object will contain more details about the authorization request (request_write_access if the bot would like to send messages to the user along with the username of the bot which will be used for user authorization). Finally, the user can choose to call messages.acceptUrlAuth to get a with the URL to open instead of the url of this constructor, or a , in which case the url of this constructor must be opened, instead. If the user refuses the authorization request but still wants to open the link, the url of this constructor must be used.
See
+ /// Button to request a user to authorize via URL using Seamless Telegram Login. When the user clicks on such a button, messages.requestUrlAuth should be called, providing the button_id and the ID of the container message. The returned object will contain more details about the authorization request (request_write_access if the bot would like to send messages to the user along with the username of the bot which will be used for user authorization). Finally, the user can choose to call messages.acceptUrlAuth to get a with the URL to open instead of the url of this constructor, or a , in which case the url of this constructor must be opened, instead. If the user refuses the authorization request but still wants to open the link, the url of this constructor must be used. See [TLDef(0x10B78D29)] public partial class KeyboardButtonUrlAuth : KeyboardButtonBase { @@ -5934,7 +5934,7 @@ namespace TL /// Button label public override string Text => text; } - /// Button to request a user to authorize via URL using Seamless Telegram Login.
See
+ /// Button to request a user to authorize via URL using Seamless Telegram Login. See [TLDef(0xD02E7FD4)] public partial class InputKeyboardButtonUrlAuth : KeyboardButtonBase { @@ -5960,7 +5960,7 @@ namespace TL /// Button text public override string Text => text; } - /// A button that allows the user to create and send a poll when pressed; available only in private
See
+ /// A button that allows the user to create and send a poll when pressed; available only in private See [TLDef(0xBBC7515D, inheritAfter = true)] public partial class KeyboardButtonRequestPoll : KeyboardButton { @@ -5976,7 +5976,7 @@ namespace TL } } - /// Inline keyboard row
See
+ /// Inline keyboard row See [TLDef(0x77608B83)] public partial class KeyboardButtonRow : ITLObject { @@ -5984,9 +5984,9 @@ namespace TL public KeyboardButtonBase[] buttons; } - /// Reply markup for bot and inline keyboards
Derived classes: , , ,
See
+ /// Reply markup for bot and inline keyboards Derived classes: , , , See public abstract partial class ReplyMarkup : ITLObject { } - /// Hide sent bot keyboard
See
+ /// Hide sent bot keyboard See [TLDef(0xA03E5B85)] public partial class ReplyKeyboardHide : ReplyMarkup { @@ -5999,7 +5999,7 @@ namespace TL selective = 0x4, } } - /// Force the user to send a reply
See
+ /// Force the user to send a reply See [TLDef(0x86B40B08)] public partial class ReplyKeyboardForceReply : ReplyMarkup { @@ -6018,7 +6018,7 @@ namespace TL has_placeholder = 0x8, } } - /// Bot keyboard
See
+ /// Bot keyboard See [TLDef(0x85DD99D1)] public partial class ReplyKeyboardMarkup : ReplyMarkup { @@ -6041,7 +6041,7 @@ namespace TL has_placeholder = 0x8, } } - /// Bot or inline keyboard
See
+ /// Bot or inline keyboard See [TLDef(0x48A30254)] public partial class ReplyInlineMarkup : ReplyMarkup { @@ -6049,7 +6049,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 partial class MessageEntity : ITLObject { /// Offset of message entity within message (in UTF-8 codepoints) @@ -6057,88 +6057,88 @@ namespace TL /// Length of message entity within message (in UTF-8 codepoints) public int length; } - /// Unknown message entity
See
+ /// Unknown message entity See [TLDef(0xBB92BA95)] public partial class MessageEntityUnknown : MessageEntity { } - /// Message entity mentioning the current user
See
+ /// Message entity mentioning the current user See [TLDef(0xFA04579D)] public partial class MessageEntityMention : MessageEntity { } - /// #hashtag message entity
See
+ /// #hashtag message entity See [TLDef(0x6F635B0D)] public partial class MessageEntityHashtag : MessageEntity { } - /// Message entity representing a bot /command
See
+ /// Message entity representing a bot /command See [TLDef(0x6CEF8AC7)] public partial class MessageEntityBotCommand : MessageEntity { } - /// Message entity representing an in-text url: https://google.com; for text urls, use .
See
+ /// Message entity representing an in-text url: https://google.com; for text urls, use . See [TLDef(0x6ED02538)] public partial class MessageEntityUrl : MessageEntity { } - /// Message entity representing an email@example.com.
See
+ /// Message entity representing an email@example.com. See [TLDef(0x64E475C2)] public partial class MessageEntityEmail : MessageEntity { } - /// Message entity representing bold text.
See
+ /// Message entity representing bold text. See [TLDef(0xBD610BC9)] public partial class MessageEntityBold : MessageEntity { } - /// Message entity representing italic text.
See
+ /// Message entity representing italic text. See [TLDef(0x826F8B60)] public partial class MessageEntityItalic : MessageEntity { } - /// Message entity representing a codeblock.
See
+ /// Message entity representing a codeblock. See [TLDef(0x28A20571)] public partial class MessageEntityCode : MessageEntity { } - /// Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock.
See
+ /// Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock. See [TLDef(0x73924BE0)] public partial class MessageEntityPre : MessageEntity { /// Programming language of the code public string language; } - /// Message entity representing a text url: for in-text urls like https://google.com use .
See
+ /// Message entity representing a text url: for in-text urls like https://google.com use . See [TLDef(0x76A6D327)] public partial class MessageEntityTextUrl : MessageEntity { /// The actual URL public string url; } - /// Message entity representing a user mention: for creating a mention use .
See
+ /// Message entity representing a user mention: for creating a mention use . See [TLDef(0xDC7B1140)] public partial class MessageEntityMentionName : MessageEntity { /// Identifier of the user that was mentioned public long user_id; } - /// Message entity that can be used to create a user user mention: received mentions use the constructor, instead.
See
+ /// Message entity that can be used to create a user user mention: received mentions use the constructor, instead. See [TLDef(0x208E68C9)] public partial class InputMessageEntityMentionName : MessageEntity { /// Identifier of the user that was mentioned public InputUserBase user_id; } - /// Message entity representing a phone number.
See
+ /// Message entity representing a phone number. See [TLDef(0x9B69E34B)] public partial class MessageEntityPhone : MessageEntity { } - /// Message entity representing a $cashtag.
See
+ /// Message entity representing a $cashtag. See [TLDef(0x4C4E743F)] public partial class MessageEntityCashtag : MessageEntity { } - /// Message entity representing underlined text.
See
+ /// Message entity representing underlined text. See [TLDef(0x9C4E7E8B)] public partial class MessageEntityUnderline : MessageEntity { } - /// Message entity representing strikethrough text.
See
+ /// Message entity representing strikethrough text. See [TLDef(0xBF0693D4)] public partial class MessageEntityStrike : MessageEntity { } - /// Message entity representing a block quote.
See
+ /// Message entity representing a block quote. See [TLDef(0x020DF5D0)] public partial class MessageEntityBlockquote : MessageEntity { } - /// Indicates a credit card number
See
+ /// Indicates a credit card number See [TLDef(0x761E6AF4)] public partial class MessageEntityBankCard : MessageEntity { } - ///
Derived classes: ,
See
+ /// Represents a channel Derived classes: , See /// a null value means inputChannelEmpty public abstract partial class InputChannelBase : ITLObject { /// Channel ID public abstract long ChannelId { get; } } - /// Represents a channel
See
+ /// Represents a channel See [TLDef(0xF35AEC28)] public partial class InputChannel : InputChannelBase { @@ -6150,7 +6150,7 @@ namespace TL /// Channel ID public override long ChannelId => channel_id; } - /// Defines a min channel that was seen in a certain message of a certain chat.
See
+ /// Defines a min channel that was seen in a certain message of a certain chat. See [TLDef(0x5B934F9D)] public partial class InputChannelFromMessage : InputChannelBase { @@ -6165,7 +6165,7 @@ namespace TL public override long ChannelId => channel_id; } - /// Resolved peer
See
+ /// Resolved peer See [TLDef(0x7F077AD9)] public partial class Contacts_ResolvedPeer : ITLObject { @@ -6179,7 +6179,7 @@ namespace TL public IPeerInfo UserOrChat => peer.UserOrChat(users, chats); } - /// Indicates a range of chat messages
See
+ /// Indicates a range of chat messages See [TLDef(0x0AE30253)] public partial class MessageRange : ITLObject { @@ -6189,13 +6189,13 @@ namespace TL public int max_id; } - ///
Derived classes: , ,
See
+ /// Contains the difference (new messages) between our local channel state and the remote state Derived classes: , , See public abstract partial class Updates_ChannelDifferenceBase : ITLObject { /// returns a or for the given Peer public abstract IPeerInfo UserOrChat(Peer peer); } - /// There are no new updates
See
+ /// There are no new updates See [TLDef(0x3E11AFFB)] public partial class Updates_ChannelDifferenceEmpty : Updates_ChannelDifferenceBase { @@ -6216,7 +6216,7 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => null; } - /// The provided pts + limit < remote pts. Simply, there are too many updates to be fetched (more than limit), the client has to resolve the update gap in one of the following ways:
See
+ /// The provided pts + limit < remote pts. Simply, there are too many updates to be fetched (more than limit), the client has to resolve the update gap in one of the following ways: See [TLDef(0xA4BCC6FE)] public partial class Updates_ChannelDifferenceTooLong : Updates_ChannelDifferenceBase { @@ -6243,7 +6243,7 @@ namespace TL /// returns a or for the given Peer public override IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// The new updates
See
+ /// The new updates See [TLDef(0x2064674E)] public partial class Updates_ChannelDifference : Updates_ChannelDifferenceBase { @@ -6273,7 +6273,7 @@ namespace TL public override IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Filter for getting only certain types of channel messages
See
+ /// Filter for getting only certain types of channel messages See /// a null value means channelMessagesFilterEmpty [TLDef(0xCD77D957)] public partial class ChannelMessagesFilter : ITLObject @@ -6290,9 +6290,9 @@ namespace TL } } - ///
Derived classes: , , , , ,
See
+ /// Channel participant Derived classes: , , , , , See public abstract partial class ChannelParticipantBase : ITLObject { } - /// Channel/supergroup participant
See
+ /// Channel/supergroup participant See [TLDef(0xC00C07C0)] public partial class ChannelParticipant : ChannelParticipantBase { @@ -6301,7 +6301,7 @@ namespace TL /// Date joined public DateTime date; } - /// Myself
See
+ /// Myself See [TLDef(0x35A8BFA7)] public partial class ChannelParticipantSelf : ChannelParticipantBase { @@ -6318,7 +6318,7 @@ namespace TL via_invite = 0x1, } } - /// Channel/supergroup creator
See
+ /// Channel/supergroup creator See [TLDef(0x2FE601D3)] public partial class ChannelParticipantCreator : ChannelParticipantBase { @@ -6337,7 +6337,7 @@ namespace TL has_rank = 0x1, } } - /// Admin
See
+ /// Admin See [TLDef(0x34C3BB53)] public partial class ChannelParticipantAdmin : ChannelParticipantBase { @@ -6366,7 +6366,7 @@ namespace TL has_rank = 0x4, } } - /// Banned/kicked user
See
+ /// Banned/kicked user See [TLDef(0x6DF8014E)] public partial class ChannelParticipantBanned : ChannelParticipantBase { @@ -6387,7 +6387,7 @@ namespace TL left = 0x1, } } - /// A participant that left the channel/supergroup
See
+ /// A participant that left the channel/supergroup See [TLDef(0x1B03F006)] public partial class ChannelParticipantLeft : ChannelParticipantBase { @@ -6395,46 +6395,46 @@ namespace TL public Peer peer; } - /// Filter for fetching channel participants
Derived classes: , , , , , , ,
See
+ /// Filter for fetching channel participants Derived classes: , , , , , , , See public abstract partial class ChannelParticipantsFilter : ITLObject { } - /// Fetch only recent participants
See
+ /// Fetch only recent participants See [TLDef(0xDE3F3C79)] public partial class ChannelParticipantsRecent : ChannelParticipantsFilter { } - /// Fetch only admin participants
See
+ /// Fetch only admin participants See [TLDef(0xB4608969)] public partial class ChannelParticipantsAdmins : ChannelParticipantsFilter { } - /// Fetch only kicked participants
See
+ /// Fetch only kicked participants See [TLDef(0xA3B54985)] public partial class ChannelParticipantsKicked : ChannelParticipantsFilter { /// Optional filter for searching kicked participants by name (otherwise empty) public string q; } - /// Fetch only bot participants
See
+ /// Fetch only bot participants See [TLDef(0xB0D1865B)] public partial class ChannelParticipantsBots : ChannelParticipantsFilter { } - /// Fetch only banned participants
See
+ /// Fetch only banned participants See [TLDef(0x1427A5E1)] public partial class ChannelParticipantsBanned : ChannelParticipantsFilter { /// Optional filter for searching banned participants by name (otherwise empty) public string q; } - /// Query participants by name
See
+ /// Query participants by name See [TLDef(0x0656AC4B)] public partial class ChannelParticipantsSearch : ChannelParticipantsFilter { /// Search query public string q; } - /// Fetch only participants that are also contacts
See
+ /// Fetch only participants that are also contacts See [TLDef(0xBB6AE88D)] public partial class ChannelParticipantsContacts : ChannelParticipantsFilter { /// Optional search query for searching contact participants by name public string q; } - /// This filter is used when looking for supergroup members to mention.
This filter will automatically remove anonymous admins, and return even non-participant users that replied to a specific
thread through the comment section of a channel.
See
+ /// This filter is used when looking for supergroup members to mention.
This filter will automatically remove anonymous admins, and return even non-participant users that replied to a specific
thread through the comment section of a channel. See
[TLDef(0xE04B5CEB)] public partial class ChannelParticipantsMentions : ChannelParticipantsFilter { @@ -6454,7 +6454,7 @@ namespace TL } } - /// Represents multiple channel participants
See
+ /// Represents multiple channel participants See /// a null value means channels.channelParticipantsNotModified [TLDef(0x9AB0FEAF)] public partial class Channels_ChannelParticipants : ITLObject @@ -6471,7 +6471,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Represents a channel participant
See
+ /// Represents a channel participant See [TLDef(0xDFB80317)] public partial class Channels_ChannelParticipant : ITLObject { @@ -6485,7 +6485,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Info about the latest telegram Terms Of Service
See
+ /// Info about the latest telegram Terms Of Service See [TLDef(0x780A0310)] public partial class Help_TermsOfService : ITLObject { @@ -6509,7 +6509,7 @@ namespace TL } } - /// Saved gifs
See
+ /// Saved gifs See /// a null value means messages.savedGifsNotModified [TLDef(0x84A02A0D)] public partial class Messages_SavedGifs : ITLObject @@ -6520,13 +6520,13 @@ namespace TL public DocumentBase[] gifs; } - /// Represents a sent inline message from the perspective of a bot
Derived classes: , , , , , ,
See
+ /// Represents a sent inline message from the perspective of a bot Derived classes: , , , , , , See public abstract partial class InputBotInlineMessage : ITLObject { /// Flags, see TL conditional fields public int flags; } - /// A media
See
+ /// A media See [TLDef(0x3380C786)] public partial class InputBotInlineMessageMediaAuto : InputBotInlineMessage { @@ -6545,7 +6545,7 @@ namespace TL has_reply_markup = 0x4, } } - /// Simple text message
See
+ /// Simple text message See [TLDef(0x3DCD7A87)] public partial class InputBotInlineMessageText : InputBotInlineMessage { @@ -6566,7 +6566,7 @@ namespace TL has_reply_markup = 0x4, } } - /// Geolocation
See
+ /// Geolocation See [TLDef(0x96929A85)] public partial class InputBotInlineMessageMediaGeo : InputBotInlineMessage { @@ -6593,7 +6593,7 @@ namespace TL has_proximity_notification_radius = 0x8, } } - /// Venue
See
+ /// Venue See [TLDef(0x417BBF11)] public partial class InputBotInlineMessageMediaVenue : InputBotInlineMessage { @@ -6618,7 +6618,7 @@ namespace TL has_reply_markup = 0x4, } } - /// A contact
See
+ /// A contact See [TLDef(0xA6EDBFFD)] public partial class InputBotInlineMessageMediaContact : InputBotInlineMessage { @@ -6639,7 +6639,7 @@ namespace TL has_reply_markup = 0x4, } } - /// A game
See
+ /// A game See [TLDef(0x4B425864)] public partial class InputBotInlineMessageGame : InputBotInlineMessage { @@ -6652,7 +6652,7 @@ namespace TL has_reply_markup = 0x4, } } - /// An invoice
See
+ /// An invoice See [TLDef(0xD7E78225)] public partial class InputBotInlineMessageMediaInvoice : InputBotInlineMessage { @@ -6682,7 +6682,7 @@ namespace TL } } - ///
Derived classes: , , ,
See
+ /// Inline bot result Derived classes: , , , See public abstract partial class InputBotInlineResultBase : ITLObject { /// ID of result @@ -6690,7 +6690,7 @@ namespace TL /// Message to send when the result is selected public abstract InputBotInlineMessage SendMessage { get; } } - /// An inline bot result
See
+ /// An inline bot result See [TLDef(0x88BF9319)] public partial class InputBotInlineResult : InputBotInlineResultBase { @@ -6732,7 +6732,7 @@ namespace TL /// Message to send when the result is selected public override InputBotInlineMessage SendMessage => send_message; } - /// Photo
See
+ /// Photo See [TLDef(0xA8D864A7)] public partial class InputBotInlineResultPhoto : InputBotInlineResultBase { @@ -6750,7 +6750,7 @@ namespace TL /// Message to send when the result is selected public override InputBotInlineMessage SendMessage => send_message; } - /// Document (media of any type except for photos)
See
+ /// Document (media of any type except for photos) See [TLDef(0xFFF8FDC4)] public partial class InputBotInlineResultDocument : InputBotInlineResultBase { @@ -6782,7 +6782,7 @@ namespace TL /// Message to send when the result is selected public override InputBotInlineMessage SendMessage => send_message; } - /// Game
See
+ /// Game See [TLDef(0x4FA417F2)] public partial class InputBotInlineResultGame : InputBotInlineResultBase { @@ -6799,13 +6799,13 @@ namespace TL public override InputBotInlineMessage SendMessage => send_message; } - /// Inline message
Derived classes: , , , , ,
See
+ /// Inline message Derived classes: , , , , , See public abstract partial class BotInlineMessage : ITLObject { /// Flags, see TL conditional fields public int flags; } - /// Send whatever media is attached to the
See
+ /// Send whatever media is attached to the See [TLDef(0x764CF810)] public partial class BotInlineMessageMediaAuto : BotInlineMessage { @@ -6824,7 +6824,7 @@ namespace TL has_reply_markup = 0x4, } } - /// Send a simple text message
See
+ /// Send a simple text message See [TLDef(0x8C7F65E2)] public partial class BotInlineMessageText : BotInlineMessage { @@ -6845,7 +6845,7 @@ namespace TL has_reply_markup = 0x4, } } - /// Send a geolocation
See
+ /// Send a geolocation See [TLDef(0x051846FD)] public partial class BotInlineMessageMediaGeo : BotInlineMessage { @@ -6872,7 +6872,7 @@ namespace TL has_proximity_notification_radius = 0x8, } } - /// Send a venue
See
+ /// Send a venue See [TLDef(0x8A86659C)] public partial class BotInlineMessageMediaVenue : BotInlineMessage { @@ -6897,7 +6897,7 @@ namespace TL has_reply_markup = 0x4, } } - /// Send a contact
See
+ /// Send a contact See [TLDef(0x18D1CDC2)] public partial class BotInlineMessageMediaContact : BotInlineMessage { @@ -6918,7 +6918,7 @@ namespace TL has_reply_markup = 0x4, } } - /// Send an invoice
See
+ /// Send an invoice See [TLDef(0x354A9B09)] public partial class BotInlineMessageMediaInvoice : BotInlineMessage { @@ -6948,7 +6948,7 @@ namespace TL } } - ///
Derived classes: ,
See
+ /// Results of an inline query Derived classes: , See public abstract partial class BotInlineResultBase : ITLObject { /// Result ID @@ -6958,7 +6958,7 @@ namespace TL /// Message to send public abstract BotInlineMessage SendMessage { get; } } - /// Generic result
See
+ /// Generic result See [TLDef(0x11965F3A)] public partial class BotInlineResult : BotInlineResultBase { @@ -7002,7 +7002,7 @@ namespace TL /// Message to send public override BotInlineMessage SendMessage => send_message; } - /// Media result
See
+ /// Media result See [TLDef(0x17DB940B)] public partial class BotInlineMediaResult : BotInlineResultBase { @@ -7043,7 +7043,7 @@ namespace TL public override BotInlineMessage SendMessage => send_message; } - /// Result of a query to an inline bot
See
+ /// Result of a query to an inline bot See [TLDef(0x947CA848)] public partial class Messages_BotResults : ITLObject { @@ -7073,7 +7073,7 @@ namespace TL } } - /// Link to a message in a supergroup/channel
See
+ /// Link to a message in a supergroup/channel See [TLDef(0x5DAB1AF4)] public partial class ExportedMessageLink : ITLObject { @@ -7083,7 +7083,7 @@ namespace TL public string html; } - /// Info about a forwarded message
See
+ /// Info about a forwarded message See [TLDef(0x5F777DCE)] public partial class MessageFwdHeader : ITLObject { @@ -7125,7 +7125,7 @@ namespace TL } } - ///
See
+ /// Type of verification code that will be sent next if you call the resendCode method See public enum Auth_CodeType : uint { ///Type of verification code that will be sent next if you call the resendCode method: SMS code @@ -7136,30 +7136,30 @@ namespace TL FlashCall = 0x226CCEFB, } - ///
Derived classes: , , ,
See
+ /// Type of the verification code that was sent Derived classes: , , , See public abstract partial class Auth_SentCodeType : ITLObject { } - /// The code was sent through the telegram app
See
+ /// The code was sent through the telegram app See [TLDef(0x3DBB5986)] public partial class Auth_SentCodeTypeApp : Auth_SentCodeType { /// Length of the code in bytes public int length; } - /// The code was sent via SMS
See
+ /// The code was sent via SMS See [TLDef(0xC000BBA2)] public partial class Auth_SentCodeTypeSms : Auth_SentCodeType { /// Length of the code in bytes public int length; } - /// The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input.
See
+ /// The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. See [TLDef(0x5353E5A7)] public partial class Auth_SentCodeTypeCall : Auth_SentCodeType { /// Length of the verification code public int length; } - /// The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern.
See
+ /// The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. See [TLDef(0xAB03C6D9)] public partial class Auth_SentCodeTypeFlashCall : Auth_SentCodeType { @@ -7167,7 +7167,7 @@ namespace TL public string pattern; } - /// Callback answer sent by the bot in response to a button press
See
+ /// Callback answer sent by the bot in response to a button press See [TLDef(0x36585EA4)] public partial class Messages_BotCallbackAnswer : ITLObject { @@ -7195,7 +7195,7 @@ namespace TL } } - /// Message edit data for media
See
+ /// Message edit data for media See [TLDef(0x26B5DDE6)] public partial class Messages_MessageEditData : ITLObject { @@ -7209,7 +7209,7 @@ namespace TL } } - ///
Derived classes: ,
See
+ /// Represents a sent inline message from the perspective of a bot Derived classes: , See public abstract partial class InputBotInlineMessageIDBase : ITLObject { /// DC ID to use when working with this inline message @@ -7217,7 +7217,7 @@ namespace TL /// Access hash of message public abstract long AccessHash { get; } } - /// Represents a sent inline message from the perspective of a bot (legacy constructor)
See
+ /// Represents a sent inline message from the perspective of a bot (legacy constructor) See [TLDef(0x890C3D89)] public partial class InputBotInlineMessageID : InputBotInlineMessageIDBase { @@ -7233,7 +7233,7 @@ namespace TL /// Access hash of message public override long AccessHash => access_hash; } - /// Represents a sent inline message from the perspective of a bot
See
+ /// Represents a sent inline message from the perspective of a bot See [TLDef(0xB6D915D7)] public partial class InputBotInlineMessageID64 : InputBotInlineMessageIDBase { @@ -7252,7 +7252,7 @@ namespace TL public override long AccessHash => access_hash; } - /// The bot requested the user to message him in private
See
+ /// The bot requested the user to message him in private See [TLDef(0x3C20629F)] public partial class InlineBotSwitchPM : ITLObject { @@ -7262,7 +7262,7 @@ namespace TL public string start_param; } - /// Dialog info of multiple peers
See
+ /// Dialog info of multiple peers See [TLDef(0x3371C354)] public partial class Messages_PeerDialogs : ITLObject { @@ -7280,7 +7280,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Top peer
See
+ /// Top peer See [TLDef(0xEDCDC05B)] public partial class TopPeer : ITLObject { @@ -7290,7 +7290,7 @@ namespace TL public double rating; } - /// Top peer category
See
+ /// Top peer category See public enum TopPeerCategory : uint { ///Most used bots @@ -7311,7 +7311,7 @@ namespace TL ForwardChats = 0xFBEEC0F0, } - /// Top peer category
See
+ /// Top peer category See [TLDef(0xFB834291)] public partial class TopPeerCategoryPeers : ITLObject { @@ -7323,10 +7323,10 @@ namespace TL public TopPeer[] peers; } - ///
Derived classes: ,
See
+ /// Derived classes: , See /// a null value means contacts.topPeersNotModified public abstract partial class Contacts_TopPeersBase : ITLObject { } - /// Top peers
See
+ /// Top peers See [TLDef(0x70B772A8)] public partial class Contacts_TopPeers : Contacts_TopPeersBase { @@ -7339,13 +7339,13 @@ namespace TL /// returns a or for the given Peer public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Top peers disabled
See
+ /// Top peers disabled See [TLDef(0xB52C939D)] public partial class Contacts_TopPeersDisabled : Contacts_TopPeersBase { } - ///
Derived classes: ,
See
+ /// Represents a message draft. Derived classes: , See public abstract partial class DraftMessageBase : ITLObject { } - /// Empty draft
See
+ /// Empty draft See [TLDef(0x1B0C841A)] public partial class DraftMessageEmpty : DraftMessageBase { @@ -7360,7 +7360,7 @@ namespace TL has_date = 0x1, } } - /// Represents a message draft.
See
+ /// Represents a message draft. See [TLDef(0xFD8E711F)] public partial class DraftMessage : DraftMessageBase { @@ -7386,16 +7386,16 @@ namespace TL } } - ///
Derived classes: ,
See
+ /// Derived classes: , See public abstract partial class Messages_FeaturedStickersBase : ITLObject { } - /// Featured stickers haven't changed
See
+ /// Featured stickers haven't changed See [TLDef(0xC6DC0C66)] public partial class Messages_FeaturedStickersNotModified : Messages_FeaturedStickersBase { /// Total number of featured stickers public int count; } - /// Featured stickersets
See
+ /// Featured stickersets See [TLDef(0x84C02310)] public partial class Messages_FeaturedStickers : Messages_FeaturedStickersBase { @@ -7409,7 +7409,7 @@ namespace TL public long[] unread; } - /// Recently used stickers
See
+ /// Recently used stickers See /// a null value means messages.recentStickersNotModified [TLDef(0x88D37C56)] public partial class Messages_RecentStickers : ITLObject @@ -7424,7 +7424,7 @@ namespace TL public int[] dates; } - /// Archived stickersets
See
+ /// Archived stickersets See [TLDef(0x4FCBA9C8)] public partial class Messages_ArchivedStickers : ITLObject { @@ -7434,12 +7434,12 @@ namespace TL public StickerSetCoveredBase[] sets; } - ///
Derived classes: ,
See
+ /// Derived classes: , See public abstract partial class Messages_StickerSetInstallResult : ITLObject { } - /// The stickerset was installed successfully
See
+ /// The stickerset was installed successfully See [TLDef(0x38641628)] public partial class Messages_StickerSetInstallResultSuccess : Messages_StickerSetInstallResult { } - /// The stickerset was installed, but since there are too many stickersets some were archived
See
+ /// The stickerset was installed, but since there are too many stickersets some were archived See [TLDef(0x35E410A8)] public partial class Messages_StickerSetInstallResultArchive : Messages_StickerSetInstallResult { @@ -7447,13 +7447,13 @@ namespace TL public StickerSetCoveredBase[] sets; } - ///
Derived classes: ,
See
+ /// Stickerset, with a specific sticker as preview Derived classes: , See public abstract partial class StickerSetCoveredBase : ITLObject { /// Stickerset public abstract StickerSet Set { get; } } - /// Stickerset, with a specific sticker as preview
See
+ /// Stickerset, with a specific sticker as preview See [TLDef(0x6410A5D2)] public partial class StickerSetCovered : StickerSetCoveredBase { @@ -7465,7 +7465,7 @@ namespace TL /// Stickerset public override StickerSet Set => set; } - /// Stickerset, with a specific stickers as preview
See
+ /// Stickerset, with a specific stickers as preview See [TLDef(0x3407E51B)] public partial class StickerSetMultiCovered : StickerSetCoveredBase { @@ -7478,7 +7478,7 @@ namespace TL public override StickerSet Set => set; } - /// Position on a photo where a mask should be placed
See
+ /// Position on a photo where a mask should be placed See [TLDef(0xAED6DBB2)] public partial class MaskCoords : ITLObject { @@ -7492,16 +7492,16 @@ namespace TL public double zoom; } - /// Represents a media with attached stickers
Derived classes: ,
See
+ /// Represents a media with attached stickers Derived classes: , See public abstract partial class InputStickeredMedia : ITLObject { } - /// A photo with stickers attached
See
+ /// A photo with stickers attached See [TLDef(0x4A992157)] public partial class InputStickeredMediaPhoto : InputStickeredMedia { /// The photo public InputPhoto id; } - /// A document with stickers attached
See
+ /// A document with stickers attached See [TLDef(0x0438865B)] public partial class InputStickeredMediaDocument : InputStickeredMedia { @@ -7509,7 +7509,7 @@ namespace TL public InputDocument id; } - /// Indicates an already sent game
See
+ /// Indicates an already sent game See [TLDef(0xBDF9653B)] public partial class Game : ITLObject { @@ -7537,9 +7537,9 @@ namespace TL } } - /// A game to send
Derived classes: ,
See
+ /// A game to send Derived classes: , See public abstract partial class InputGame : ITLObject { } - /// Indicates an already sent game
See
+ /// Indicates an already sent game See [TLDef(0x032C3E77)] public partial class InputGameID : InputGame { @@ -7548,7 +7548,7 @@ namespace TL /// access hash from constructor public long access_hash; } - /// Game by short name
See
+ /// Game by short name See [TLDef(0xC331E80A)] public partial class InputGameShortName : InputGame { @@ -7558,7 +7558,7 @@ namespace TL public string short_name; } - /// Game highscore
See
+ /// Game highscore See [TLDef(0x73A379EB)] public partial class HighScore : ITLObject { @@ -7570,7 +7570,7 @@ namespace TL public int score; } - /// Highscores in a game
See
+ /// Highscores in a game See [TLDef(0x9A3BFD99)] public partial class Messages_HighScores : ITLObject { @@ -7580,52 +7580,52 @@ namespace TL public Dictionary users; } - /// Rich text
Derived classes: , , , , , , , , , , , , , ,
See
+ /// Rich text Derived classes: , , , , , , , , , , , , , , See /// a null value means textEmpty public abstract partial class RichText : ITLObject { } - /// Plain text
See
+ /// Plain text See [TLDef(0x744694E0)] public partial class TextPlain : RichText { /// Text public string text; } - /// Bold text
See
+ /// Bold text See [TLDef(0x6724ABC4)] public partial class TextBold : RichText { /// Text public RichText text; } - /// Italic text
See
+ /// Italic text See [TLDef(0xD912A59C)] public partial class TextItalic : RichText { /// Text public RichText text; } - /// Underlined text
See
+ /// Underlined text See [TLDef(0xC12622C4)] public partial class TextUnderline : RichText { /// Text public RichText text; } - /// Strikethrough text
See
+ /// Strikethrough text See [TLDef(0x9BF8BB95)] public partial class TextStrike : RichText { /// Text public RichText text; } - /// fixed-width rich text
See
+ /// fixed-width rich text See [TLDef(0x6C3F19B9)] public partial class TextFixed : RichText { /// Text public RichText text; } - /// Link
See
+ /// Link See [TLDef(0x3C2884C1)] public partial class TextUrl : RichText { @@ -7636,7 +7636,7 @@ namespace TL /// If a preview was already generated for the page, the page ID public long webpage_id; } - /// Rich text email link
See
+ /// Rich text email link See [TLDef(0xDE5A0DD6)] public partial class TextEmail : RichText { @@ -7645,35 +7645,35 @@ namespace TL /// Email address public string email; } - /// Concatenation of rich texts
See
+ /// Concatenation of rich texts See [TLDef(0x7E6260D7)] public partial class TextConcat : RichText { /// Concatenated rich texts public RichText[] texts; } - /// Subscript text
See
+ /// Subscript text See [TLDef(0xED6A8504)] public partial class TextSubscript : RichText { /// Text public RichText text; } - /// Superscript text
See
+ /// Superscript text See [TLDef(0xC7FB5E01)] public partial class TextSuperscript : RichText { /// Text public RichText text; } - /// Highlighted text
See
+ /// Highlighted text See [TLDef(0x034B8621)] public partial class TextMarked : RichText { /// Text public RichText text; } - /// Rich text linked to a phone number
See
+ /// Rich text linked to a phone number See [TLDef(0x1CCB966A)] public partial class TextPhone : RichText { @@ -7682,7 +7682,7 @@ namespace TL /// Phone number public string phone; } - /// Inline image
See
+ /// Inline image See [TLDef(0x081CCF4F)] public partial class TextImage : RichText { @@ -7693,7 +7693,7 @@ namespace TL /// Height public int h; } - /// Text linking to another section of the page
See
+ /// Text linking to another section of the page See [TLDef(0x35553762)] public partial class TextAnchor : RichText { @@ -7703,26 +7703,26 @@ namespace TL public string name; } - /// Represents an instant view page element
Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
See
+ /// Represents an instant view page element Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , See public abstract partial class PageBlock : ITLObject { } - /// Unsupported IV element
See
+ /// Unsupported IV element See [TLDef(0x13567E8A)] public partial class PageBlockUnsupported : PageBlock { } - /// Title
See
+ /// Title See [TLDef(0x70ABC3FD)] public partial class PageBlockTitle : PageBlock { /// Title public RichText text; } - /// Subtitle
See
+ /// Subtitle See [TLDef(0x8FFA9A1F)] public partial class PageBlockSubtitle : PageBlock { /// Text public RichText text; } - /// Author and date of creation of article
See
+ /// Author and date of creation of article See [TLDef(0xBAAFE5E0)] public partial class PageBlockAuthorDate : PageBlock { @@ -7731,28 +7731,28 @@ namespace TL /// Date of pubblication public DateTime published_date; } - /// Page header
See
+ /// Page header See [TLDef(0xBFD064EC)] public partial class PageBlockHeader : PageBlock { /// Contents public RichText text; } - /// Subheader
See
+ /// Subheader See [TLDef(0xF12BB6E1)] public partial class PageBlockSubheader : PageBlock { /// Subheader public RichText text; } - /// A paragraph
See
+ /// A paragraph See [TLDef(0x467A0766)] public partial class PageBlockParagraph : PageBlock { /// Text public RichText text; } - /// Preformatted (<pre> text)
See
+ /// Preformatted (<pre> text) See [TLDef(0xC070D93E)] public partial class PageBlockPreformatted : PageBlock { @@ -7761,31 +7761,31 @@ namespace TL /// Programming language of preformatted text public string language; } - /// Page footer
See
+ /// Page footer See [TLDef(0x48870999)] public partial class PageBlockFooter : PageBlock { /// Contents public RichText text; } - /// An empty block separating a page
See
+ /// An empty block separating a page See [TLDef(0xDB20B188)] public partial class PageBlockDivider : PageBlock { } - /// Link to section within the page itself (like <a href="#target">anchor</a>)
See
+ /// Link to section within the page itself (like <a href="#target">anchor</a>) See [TLDef(0xCE0D37B0)] public partial class PageBlockAnchor : PageBlock { /// Name of target section public string name; } - /// Unordered list of IV blocks
See
+ /// Unordered list of IV blocks See [TLDef(0xE4E88011)] public partial class PageBlockList : PageBlock { /// List of blocks in an IV page public PageListItem[] items; } - /// Quote (equivalent to the HTML <blockquote>)
See
+ /// Quote (equivalent to the HTML <blockquote>) See [TLDef(0x263D7C26)] public partial class PageBlockBlockquote : PageBlock { @@ -7794,7 +7794,7 @@ namespace TL /// Caption public RichText caption; } - /// Pullquote
See
+ /// Pullquote See [TLDef(0x4F4456D3)] public partial class PageBlockPullquote : PageBlock { @@ -7803,7 +7803,7 @@ namespace TL /// Caption public RichText caption; } - /// A photo
See
+ /// A photo See [TLDef(0x1759C560)] public partial class PageBlockPhoto : PageBlock { @@ -7824,7 +7824,7 @@ namespace TL has_url = 0x1, } } - /// Video
See
+ /// Video See [TLDef(0x7C8FE7B6)] public partial class PageBlockVideo : PageBlock { @@ -7843,14 +7843,14 @@ namespace TL loop = 0x2, } } - /// A page cover
See
+ /// A page cover See [TLDef(0x39F23300)] public partial class PageBlockCover : PageBlock { /// Cover public PageBlock cover; } - /// An embedded webpage
See
+ /// An embedded webpage See [TLDef(0xA8718DC5)] public partial class PageBlockEmbed : PageBlock { @@ -7885,7 +7885,7 @@ namespace TL has_w = 0x20, } } - /// An embedded post
See
+ /// An embedded post See [TLDef(0xF259A80B)] public partial class PageBlockEmbedPost : PageBlock { @@ -7904,7 +7904,7 @@ namespace TL /// Caption public PageCaption caption; } - /// Collage of media
See
+ /// Collage of media See [TLDef(0x65A0FA4D)] public partial class PageBlockCollage : PageBlock { @@ -7913,7 +7913,7 @@ namespace TL /// Caption public PageCaption caption; } - /// Slideshow
See
+ /// Slideshow See [TLDef(0x031F9590)] public partial class PageBlockSlideshow : PageBlock { @@ -7922,14 +7922,14 @@ namespace TL /// Caption public PageCaption caption; } - /// Reference to a telegram channel
See
+ /// Reference to a telegram channel See [TLDef(0xEF1751B5)] public partial class PageBlockChannel : PageBlock { /// The channel/supergroup/chat public ChatBase channel; } - /// Audio
See
+ /// Audio See [TLDef(0x804361EA)] public partial class PageBlockAudio : PageBlock { @@ -7938,14 +7938,14 @@ namespace TL /// Audio caption public PageCaption caption; } - /// Kicker
See
+ /// Kicker See [TLDef(0x1E148390)] public partial class PageBlockKicker : PageBlock { /// Contents public RichText text; } - /// Table
See
+ /// Table See [TLDef(0xBF4DEA82)] public partial class PageBlockTable : PageBlock { @@ -7964,14 +7964,14 @@ namespace TL striped = 0x2, } } - /// Ordered list of IV blocks
See
+ /// Ordered list of IV blocks See [TLDef(0x9A8AE1E1)] public partial class PageBlockOrderedList : PageBlock { /// List items public PageListOrderedItem[] items; } - /// A collapsible details block
See
+ /// A collapsible details block See [TLDef(0x76768BED)] public partial class PageBlockDetails : PageBlock { @@ -7988,7 +7988,7 @@ namespace TL open = 0x1, } } - /// Related articles
See
+ /// Related articles See [TLDef(0x16115A96)] public partial class PageBlockRelatedArticles : PageBlock { @@ -7997,7 +7997,7 @@ namespace TL /// Related articles public PageRelatedArticle[] articles; } - /// A map
See
+ /// A map See [TLDef(0xA44F3EF6)] public partial class PageBlockMap : PageBlock { @@ -8013,7 +8013,7 @@ namespace TL public PageCaption caption; } - /// Why was the phone call discarded?
See
+ /// Why was the phone call discarded? See public enum PhoneCallDiscardReason : uint { ///The phone call was missed @@ -8026,7 +8026,7 @@ namespace TL Busy = 0xFAF7E8C9, } - /// Represents a json-encoded object
See
+ /// Represents a json-encoded object See [TLDef(0x7D748D04)] public partial class DataJSON : ITLObject { @@ -8034,7 +8034,7 @@ namespace TL public string data; } - /// This object represents a portion of the price for goods or services.
See
+ /// This object represents a portion of the price for goods or services. See [TLDef(0xCB296BF8)] public partial class LabeledPrice : ITLObject { @@ -8044,7 +8044,7 @@ namespace TL public long amount; } - /// Invoice
See
+ /// Invoice See [TLDef(0x0CD886E0)] public partial class Invoice : ITLObject { @@ -8082,7 +8082,7 @@ namespace TL } } - /// Payment identifier
See
+ /// Payment identifier See [TLDef(0xEA02C27E)] public partial class PaymentCharge : ITLObject { @@ -8092,7 +8092,7 @@ namespace TL public string provider_charge_id; } - /// Shipping address
See
+ /// Shipping address See [TLDef(0x1E8CAAEB)] public partial class PostAddress : ITLObject { @@ -8110,7 +8110,7 @@ namespace TL public string post_code; } - /// Order info provided by the user
See
+ /// Order info provided by the user See [TLDef(0x909C3F94)] public partial class PaymentRequestedInfo : ITLObject { @@ -8138,9 +8138,9 @@ namespace TL } } - /// Saved payment credentials
Derived classes:
See
+ /// Saved payment credentials Derived classes: See public abstract partial class PaymentSavedCredentials : ITLObject { } - /// Saved credit card
See
+ /// Saved credit card See [TLDef(0xCDC27A1F)] public partial class PaymentSavedCredentialsCard : PaymentSavedCredentials { @@ -8150,7 +8150,7 @@ namespace TL public string title; } - ///
Derived classes: ,
See
+ /// Remote document Derived classes: , See public abstract partial class WebDocumentBase : ITLObject { /// Document URL @@ -8162,7 +8162,7 @@ namespace TL /// Attributes for media types public abstract DocumentAttribute[] Attributes { get; } } - /// Remote document
See
+ /// Remote document See [TLDef(0x1C570ED1)] public partial class WebDocument : WebDocumentBase { @@ -8186,7 +8186,7 @@ namespace TL /// Attributes for media types public override DocumentAttribute[] Attributes => attributes; } - /// Remote document that can be downloaded without proxying through telegram
See
+ /// Remote document that can be downloaded without proxying through telegram See [TLDef(0xF9C8BCC6)] public partial class WebDocumentNoProxy : WebDocumentBase { @@ -8209,7 +8209,7 @@ namespace TL public override DocumentAttribute[] Attributes => attributes; } - /// The document
See
+ /// The document See [TLDef(0x9BED434D)] public partial class InputWebDocument : ITLObject { @@ -8223,13 +8223,13 @@ namespace TL public DocumentAttribute[] attributes; } - ///
Derived classes: ,
See
+ /// Location of remote file Derived classes: , See public abstract partial class InputWebFileLocationBase : ITLObject { /// Access hash public abstract long AccessHash { get; } } - /// Location of a remote HTTP(s) file
See
+ /// Location of a remote HTTP(s) file See [TLDef(0xC239D686)] public partial class InputWebFileLocation : InputWebFileLocationBase { @@ -8241,7 +8241,7 @@ namespace TL /// Access hash public override long AccessHash => access_hash; } - /// Geolocation
See
+ /// Geolocation See [TLDef(0x9F2221C9)] public partial class InputWebFileGeoPointLocation : InputWebFileLocationBase { @@ -8262,7 +8262,7 @@ namespace TL public override long AccessHash => access_hash; } - /// Represents a chunk of an HTTP webfile downloaded through telegram's secure MTProto servers
See
+ /// Represents a chunk of an HTTP webfile downloaded through telegram's secure MTProto servers See [TLDef(0x21E753BC)] public partial class Upload_WebFile : ITLObject { @@ -8278,7 +8278,7 @@ namespace TL public byte[] bytes; } - /// Payment form
See
+ /// Payment form See [TLDef(0x1694761B)] public partial class Payments_PaymentForm : ITLObject { @@ -8320,7 +8320,7 @@ namespace TL } } - ///
See
+ /// See [TLDef(0xD1451883)] public partial class Payments_ValidatedRequestedInfo : ITLObject { @@ -8340,16 +8340,16 @@ namespace TL } } - ///
Derived classes: ,
See
+ /// Derived classes: , See public abstract partial class Payments_PaymentResultBase : ITLObject { } - /// Payment result
See
+ /// Payment result See [TLDef(0x4E5F810D)] public partial class Payments_PaymentResult : Payments_PaymentResultBase { /// Info about the payment public UpdatesBase updates; } - /// Payment was not successful, additional verification is needed
See
+ /// Payment was not successful, additional verification is needed See [TLDef(0xD8411139)] public partial class Payments_PaymentVerificationNeeded : Payments_PaymentResultBase { @@ -8357,7 +8357,7 @@ namespace TL public string url; } - /// Receipt
See
+ /// Receipt See [TLDef(0x70C4FE03)] public partial class Payments_PaymentReceipt : ITLObject { @@ -8405,7 +8405,7 @@ namespace TL } } - /// Saved server-side order information
See
+ /// Saved server-side order information See [TLDef(0xFB8FE43C)] public partial class Payments_SavedInfo : ITLObject { @@ -8423,9 +8423,9 @@ namespace TL } } - ///
Derived classes: , , ,
See
+ /// Payment credentials Derived classes: , , , See public abstract partial class InputPaymentCredentialsBase : ITLObject { } - /// Saved payment credentials
See
+ /// Saved payment credentials See [TLDef(0xC10EB2CF)] public partial class InputPaymentCredentialsSaved : InputPaymentCredentialsBase { @@ -8434,7 +8434,7 @@ namespace TL /// Temporary password public byte[] tmp_password; } - /// Payment credentials
See
+ /// Payment credentials See [TLDef(0x3417D728)] public partial class InputPaymentCredentials : InputPaymentCredentialsBase { @@ -8449,14 +8449,14 @@ namespace TL save = 0x1, } } - /// Apple pay payment credentials
See
+ /// Apple pay payment credentials See [TLDef(0x0AA1C39F)] public partial class InputPaymentCredentialsApplePay : InputPaymentCredentialsBase { /// Payment data public DataJSON payment_data; } - /// Google Pay payment credentials
See
+ /// Google Pay payment credentials See [TLDef(0x8AC32801)] public partial class InputPaymentCredentialsGooglePay : InputPaymentCredentialsBase { @@ -8464,7 +8464,7 @@ namespace TL public DataJSON payment_token; } - /// Temporary payment password
See
+ /// Temporary payment password See [TLDef(0xDB64FD34)] public partial class Account_TmpPassword : ITLObject { @@ -8474,7 +8474,7 @@ namespace TL public DateTime valid_until; } - /// Shipping option
See
+ /// Shipping option See [TLDef(0xB6213CDF)] public partial class ShippingOption : ITLObject { @@ -8486,7 +8486,7 @@ namespace TL public LabeledPrice[] prices; } - /// Sticker in a stickerset
See
+ /// Sticker in a stickerset See [TLDef(0xFFA0A496)] public partial class InputStickerSetItem : ITLObject { @@ -8506,7 +8506,7 @@ namespace TL } } - /// Phone call
See
+ /// Phone call See [TLDef(0x1E36FDED)] public partial class InputPhoneCall : ITLObject { @@ -8516,13 +8516,13 @@ namespace TL public long access_hash; } - ///
Derived classes: , , , , ,
See
+ /// Phone call Derived classes: , , , , , See public abstract partial class PhoneCallBase : ITLObject { /// Call ID public abstract long ID { get; } } - /// Empty constructor
See
+ /// Empty constructor See [TLDef(0x5366C915)] public partial class PhoneCallEmpty : PhoneCallBase { @@ -8532,7 +8532,7 @@ namespace TL /// Call ID public override long ID => id; } - /// Incoming phone call
See
+ /// Incoming phone call See [TLDef(0xC5226F17)] public partial class PhoneCallWaiting : PhoneCallBase { @@ -8564,7 +8564,7 @@ namespace TL /// Call ID public override long ID => id; } - /// Requested phone call
See
+ /// Requested phone call See [TLDef(0x14B0ED0C)] public partial class PhoneCallRequested : PhoneCallBase { @@ -8594,7 +8594,7 @@ namespace TL /// Phone call ID public override long ID => id; } - /// An accepted phone call
See
+ /// An accepted phone call See [TLDef(0x3660C311)] public partial class PhoneCallAccepted : PhoneCallBase { @@ -8624,7 +8624,7 @@ namespace TL /// ID of accepted phone call public override long ID => id; } - /// Phone call
See
+ /// Phone call See [TLDef(0x967F7C67)] public partial class PhoneCall : PhoneCallBase { @@ -8662,7 +8662,7 @@ namespace TL /// Call ID public override long ID => id; } - /// Indicates a discarded phone call
See
+ /// Indicates a discarded phone call See [TLDef(0x50CA4DE1)] public partial class PhoneCallDiscarded : PhoneCallBase { @@ -8693,7 +8693,7 @@ namespace TL public override long ID => id; } - ///
Derived classes: ,
See
+ /// Phone call connection Derived classes: , See public abstract partial class PhoneConnectionBase : ITLObject { /// Endpoint ID @@ -8705,7 +8705,7 @@ namespace TL /// Port ID public abstract int Port { get; } } - /// Identifies an endpoint that can be used to connect to the other user in a phone call
See
+ /// Identifies an endpoint that can be used to connect to the other user in a phone call See [TLDef(0x9D4C17C0)] public partial class PhoneConnection : PhoneConnectionBase { @@ -8729,7 +8729,7 @@ namespace TL /// Port ID public override int Port => port; } - /// WebRTC connection parameters
See
+ /// WebRTC connection parameters See [TLDef(0x635FE375)] public partial class PhoneConnectionWebrtc : PhoneConnectionBase { @@ -8766,7 +8766,7 @@ namespace TL public override int Port => port; } - /// Protocol info for libtgvoip
See
+ /// Protocol info for libtgvoip See [TLDef(0xFC878FC8)] public partial class PhoneCallProtocol : ITLObject { @@ -8788,7 +8788,7 @@ namespace TL } } - /// A VoIP phone call
See
+ /// A VoIP phone call See [TLDef(0xEC82E140)] public partial class Phone_PhoneCall : ITLObject { @@ -8798,16 +8798,16 @@ namespace TL public Dictionary users; } - ///
Derived classes: ,
See
+ /// Represents the download status of a CDN file Derived classes: , See public abstract partial class Upload_CdnFileBase : ITLObject { } - /// The file was cleared from the temporary RAM cache of the CDN and has to be reuploaded.
See
+ /// The file was cleared from the temporary RAM cache of the CDN and has to be reuploaded. See [TLDef(0xEEA8E46E)] public partial class Upload_CdnFileReuploadNeeded : Upload_CdnFileBase { /// Request token (see CDN) public byte[] request_token; } - /// Represent a chunk of a CDN file.
See
+ /// Represent a chunk of a CDN file. See [TLDef(0xA99FCA4F)] public partial class Upload_CdnFile : Upload_CdnFileBase { @@ -8815,7 +8815,7 @@ namespace TL public byte[] bytes; } - /// Public key to use only during handshakes to CDN DCs.
See
+ /// Public key to use only during handshakes to CDN DCs. See [TLDef(0xC982EABA)] public partial class CdnPublicKey : ITLObject { @@ -8825,7 +8825,7 @@ namespace TL public string public_key; } - /// Configuration for CDN file downloads.
See
+ /// Configuration for CDN file downloads. See [TLDef(0x5725E40A)] public partial class CdnConfig : ITLObject { @@ -8833,13 +8833,13 @@ namespace TL public CdnPublicKey[] public_keys; } - ///
Derived classes: , ,
See
+ /// Language pack string Derived classes: , , See public abstract partial class LangPackStringBase : ITLObject { /// Language key public abstract string Key { get; } } - /// Translated localization string
See
+ /// Translated localization string See [TLDef(0xCAD181F6)] public partial class LangPackString : LangPackStringBase { @@ -8851,7 +8851,7 @@ namespace TL /// Language key public override string Key => key; } - /// A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info
See
+ /// A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info See [TLDef(0x6C47AC9F)] public partial class LangPackStringPluralized : LangPackStringBase { @@ -8889,7 +8889,7 @@ namespace TL /// Localization key public override string Key => key; } - /// Deleted localization string
See
+ /// Deleted localization string See [TLDef(0x2979EEB2)] public partial class LangPackStringDeleted : LangPackStringBase { @@ -8900,7 +8900,7 @@ namespace TL public override string Key => key; } - /// Changes to the app's localization pack
See
+ /// Changes to the app's localization pack See [TLDef(0xF385C1F6)] public partial class LangPackDifference : ITLObject { @@ -8914,7 +8914,7 @@ namespace TL public LangPackStringBase[] strings; } - /// Identifies a localization pack
See
+ /// Identifies a localization pack See [TLDef(0xEECA5CE3)] public partial class LangPackLanguage : ITLObject { @@ -8950,9 +8950,9 @@ namespace TL } } - /// Channel admin log event
Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
See
+ /// Channel admin log event Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , See public abstract partial class ChannelAdminLogEventAction : ITLObject { } - /// Channel/supergroup title was changed
See
+ /// Channel/supergroup title was changed See [TLDef(0xE6DFB825)] public partial class ChannelAdminLogEventActionChangeTitle : ChannelAdminLogEventAction { @@ -8961,7 +8961,7 @@ namespace TL /// New title public string new_value; } - /// The description was changed
See
+ /// The description was changed See [TLDef(0x55188A2E)] public partial class ChannelAdminLogEventActionChangeAbout : ChannelAdminLogEventAction { @@ -8970,7 +8970,7 @@ namespace TL /// New description public string new_value; } - /// Channel/supergroup username was changed
See
+ /// Channel/supergroup username was changed See [TLDef(0x6A4AFC38)] public partial class ChannelAdminLogEventActionChangeUsername : ChannelAdminLogEventAction { @@ -8979,7 +8979,7 @@ namespace TL /// New username public string new_value; } - /// The channel/supergroup's picture was changed
See
+ /// The channel/supergroup's picture was changed See [TLDef(0x434BD2AF)] public partial class ChannelAdminLogEventActionChangePhoto : ChannelAdminLogEventAction { @@ -8988,28 +8988,28 @@ namespace TL /// New picture public PhotoBase new_photo; } - /// Invites were enabled/disabled
See
+ /// Invites were enabled/disabled See [TLDef(0x1B7907AE)] public partial class ChannelAdminLogEventActionToggleInvites : ChannelAdminLogEventAction { /// New value public bool new_value; } - /// Channel signatures were enabled/disabled
See
+ /// Channel signatures were enabled/disabled See [TLDef(0x26AE0971)] public partial class ChannelAdminLogEventActionToggleSignatures : ChannelAdminLogEventAction { /// New value public bool new_value; } - /// A message was pinned
See
+ /// A message was pinned See [TLDef(0xE9E82C18)] public partial class ChannelAdminLogEventActionUpdatePinned : ChannelAdminLogEventAction { /// The message that was pinned public MessageBase message; } - /// A message was edited
See
+ /// A message was edited See [TLDef(0x709B2405)] public partial class ChannelAdminLogEventActionEditMessage : ChannelAdminLogEventAction { @@ -9018,27 +9018,27 @@ namespace TL /// New message public MessageBase new_message; } - /// A message was deleted
See
+ /// A message was deleted See [TLDef(0x42E047BB)] public partial class ChannelAdminLogEventActionDeleteMessage : ChannelAdminLogEventAction { /// The message that was deleted public MessageBase message; } - /// A user has joined the group (in the case of big groups, info of the user that has joined isn't shown)
See
+ /// A user has joined the group (in the case of big groups, info of the user that has joined isn't shown) See [TLDef(0x183040D3)] public partial class ChannelAdminLogEventActionParticipantJoin : ChannelAdminLogEventAction { } - /// A user left the channel/supergroup (in the case of big groups, info of the user that has joined isn't shown)
See
+ /// A user left the channel/supergroup (in the case of big groups, info of the user that has joined isn't shown) See [TLDef(0xF89777F2)] public partial class ChannelAdminLogEventActionParticipantLeave : ChannelAdminLogEventAction { } - /// A user was invited to the group
See
+ /// A user was invited to the group See [TLDef(0xE31C34D8)] public partial class ChannelAdminLogEventActionParticipantInvite : ChannelAdminLogEventAction { /// The user that was invited public ChannelParticipantBase participant; } - /// The banned rights of a user were changed
See
+ /// The banned rights of a user were changed See [TLDef(0xE6D83D7E)] public partial class ChannelAdminLogEventActionParticipantToggleBan : ChannelAdminLogEventAction { @@ -9047,7 +9047,7 @@ namespace TL /// New banned rights of user public ChannelParticipantBase new_participant; } - /// The admin rights of a user were changed
See
+ /// The admin rights of a user were changed See [TLDef(0xD5676710)] public partial class ChannelAdminLogEventActionParticipantToggleAdmin : ChannelAdminLogEventAction { @@ -9056,7 +9056,7 @@ namespace TL /// New admin rights public ChannelParticipantBase new_participant; } - /// The supergroup's stickerset was changed
See
+ /// The supergroup's stickerset was changed See [TLDef(0xB1C3CAA7)] public partial class ChannelAdminLogEventActionChangeStickerSet : ChannelAdminLogEventAction { @@ -9065,14 +9065,14 @@ namespace TL /// New stickerset public InputStickerSet new_stickerset; } - /// The hidden prehistory setting was changed
See
+ /// The hidden prehistory setting was changed See [TLDef(0x5F5C95F1)] public partial class ChannelAdminLogEventActionTogglePreHistoryHidden : ChannelAdminLogEventAction { /// New value public bool new_value; } - /// The default banned rights were modified
See
+ /// The default banned rights were modified See [TLDef(0x2DF5FC0A)] public partial class ChannelAdminLogEventActionDefaultBannedRights : ChannelAdminLogEventAction { @@ -9081,14 +9081,14 @@ namespace TL /// New glboal banned rights. public ChatBannedRights new_banned_rights; } - /// A poll was stopped
See
+ /// A poll was stopped See [TLDef(0x8F079643)] public partial class ChannelAdminLogEventActionStopPoll : ChannelAdminLogEventAction { /// The poll that was stopped public MessageBase message; } - /// The linked chat was changed
See
+ /// The linked chat was changed See [TLDef(0x050C7AC8)] public partial class ChannelAdminLogEventActionChangeLinkedChat : ChannelAdminLogEventAction { @@ -9097,7 +9097,7 @@ namespace TL /// New linked chat public long new_value; } - /// The geogroup location was changed
See
+ /// The geogroup location was changed See [TLDef(0x0E6B76AE)] public partial class ChannelAdminLogEventActionChangeLocation : ChannelAdminLogEventAction { @@ -9106,7 +9106,7 @@ namespace TL /// New location public ChannelLocation new_value; } - /// Slow mode setting for supergroups was changed
See
+ /// Slow mode setting for supergroups was changed See [TLDef(0x53909779)] public partial class ChannelAdminLogEventActionToggleSlowMode : ChannelAdminLogEventAction { @@ -9115,63 +9115,63 @@ namespace TL /// New slow mode value public int new_value; } - /// A group call was started
See
+ /// A group call was started See [TLDef(0x23209745)] public partial class ChannelAdminLogEventActionStartGroupCall : ChannelAdminLogEventAction { /// Group call public InputGroupCall call; } - /// A group call was terminated
See
+ /// A group call was terminated See [TLDef(0xDB9F9140)] public partial class ChannelAdminLogEventActionDiscardGroupCall : ChannelAdminLogEventAction { /// The group call that was terminated public InputGroupCall call; } - /// A group call participant was muted
See
+ /// A group call participant was muted See [TLDef(0xF92424D2)] public partial class ChannelAdminLogEventActionParticipantMute : ChannelAdminLogEventAction { /// The participant that was muted public GroupCallParticipant participant; } - /// A group call participant was unmuted
See
+ /// A group call participant was unmuted See [TLDef(0xE64429C0)] public partial class ChannelAdminLogEventActionParticipantUnmute : ChannelAdminLogEventAction { /// The participant that was unmuted public GroupCallParticipant participant; } - /// Group call settings were changed
See
+ /// Group call settings were changed See [TLDef(0x56D6A247)] public partial class ChannelAdminLogEventActionToggleGroupCallSetting : ChannelAdminLogEventAction { /// Whether all users are muted by default upon joining public bool join_muted; } - /// A user joined the supergroup/channel using a specific invite link
See
+ /// A user joined the supergroup/channel using a specific invite link See [TLDef(0x5CDADA77)] public partial class ChannelAdminLogEventActionParticipantJoinByInvite : ChannelAdminLogEventAction { /// The invite link used to join the supergroup/channel public ExportedChatInvite invite; } - /// A chat invite was deleted
See
+ /// A chat invite was deleted See [TLDef(0x5A50FCA4)] public partial class ChannelAdminLogEventActionExportedInviteDelete : ChannelAdminLogEventAction { /// The deleted chat invite public ExportedChatInvite invite; } - /// A specific invite link was revoked
See
+ /// A specific invite link was revoked See [TLDef(0x410A134E)] public partial class ChannelAdminLogEventActionExportedInviteRevoke : ChannelAdminLogEventAction { /// The invite link that was revoked public ExportedChatInvite invite; } - /// A chat invite was edited
See
+ /// A chat invite was edited See [TLDef(0xE90EBB59)] public partial class ChannelAdminLogEventActionExportedInviteEdit : ChannelAdminLogEventAction { @@ -9180,14 +9180,14 @@ namespace TL /// New chat invite information public ExportedChatInvite new_invite; } - /// channelAdminLogEvent.user_id has set the volume of participant.peer to participant.volume
See
+ /// channelAdminLogEvent.user_id has set the volume of participant.peer to participant.volume See [TLDef(0x3E7F6847)] public partial class ChannelAdminLogEventActionParticipantVolume : ChannelAdminLogEventAction { /// The participant whose volume was changed public GroupCallParticipant participant; } - /// The Time-To-Live of messages in this chat was changed
See
+ /// The Time-To-Live of messages in this chat was changed See [TLDef(0x6E941A38)] public partial class ChannelAdminLogEventActionChangeHistoryTTL : ChannelAdminLogEventAction { @@ -9196,7 +9196,7 @@ namespace TL /// New value public int new_value; } - ///
See
+ /// See [TLDef(0xAFB6144A)] public partial class ChannelAdminLogEventActionParticipantJoinByRequest : ChannelAdminLogEventAction { @@ -9204,7 +9204,7 @@ namespace TL public long approved_by; } - /// Admin log event
See
+ /// Admin log event See [TLDef(0x1FAD68CD)] public partial class ChannelAdminLogEvent : ITLObject { @@ -9218,7 +9218,7 @@ namespace TL public ChannelAdminLogEventAction action; } - /// Admin log events
See
+ /// Admin log events See [TLDef(0xED8AF74D)] public partial class Channels_AdminLogResults : ITLObject { @@ -9232,7 +9232,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Filter only certain admin log events
See
+ /// Filter only certain admin log events See [TLDef(0xEA107AE4)] public partial class ChannelAdminLogEventsFilter : ITLObject { @@ -9276,7 +9276,7 @@ namespace TL } } - /// Popular contact
See
+ /// Popular contact See [TLDef(0x5CE14175)] public partial class PopularContact : ITLObject { @@ -9286,7 +9286,7 @@ namespace TL public int importers; } - /// Favorited stickers
See
+ /// Favorited stickers See /// a null value means messages.favedStickersNotModified [TLDef(0x2CB51097)] public partial class Messages_FavedStickers : ITLObject @@ -9299,37 +9299,37 @@ namespace TL public DocumentBase[] stickers; } - /// Recent t.me urls
Derived classes: , , , ,
See
+ /// Recent t.me urls Derived classes: , , , , See public abstract partial class RecentMeUrl : ITLObject { /// URL public string url; } - /// Unknown t.me url
See
+ /// Unknown t.me url See [TLDef(0x46E1D13D)] public partial class RecentMeUrlUnknown : RecentMeUrl { } - /// Recent t.me link to a user
See
+ /// Recent t.me link to a user See [TLDef(0xB92C09E2)] public partial class RecentMeUrlUser : RecentMeUrl { /// User ID public long user_id; } - /// Recent t.me link to a chat
See
+ /// Recent t.me link to a chat See [TLDef(0xB2DA71D2)] public partial class RecentMeUrlChat : RecentMeUrl { /// Chat ID public long chat_id; } - /// Recent t.me invite link to a chat
See
+ /// Recent t.me invite link to a chat See [TLDef(0xEB49081D)] public partial class RecentMeUrlChatInvite : RecentMeUrl { /// Chat invitation public ChatInviteBase chat_invite; } - /// Recent t.me stickerset installation URL
See
+ /// Recent t.me stickerset installation URL See [TLDef(0xBC0A57DC)] public partial class RecentMeUrlStickerSet : RecentMeUrl { @@ -9337,7 +9337,7 @@ namespace TL public StickerSetCoveredBase set; } - /// Recent t.me URLs
See
+ /// Recent t.me URLs See [TLDef(0x0E0310D7)] public partial class Help_RecentMeUrls : ITLObject { @@ -9351,7 +9351,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// A single media in an album or grouped media sent with messages.sendMultiMedia.
See
+ /// A single media in an album or grouped media sent with messages.sendMultiMedia. See [TLDef(0x1CC6E91F)] public partial class InputSingleMedia : ITLObject { @@ -9373,7 +9373,7 @@ namespace TL } } - /// Represents a bot logged in using the Telegram login widget
See
+ /// Represents a bot logged in using the Telegram login widget See [TLDef(0xA6F8F452)] public partial class WebAuthorization : ITLObject { @@ -9397,7 +9397,7 @@ namespace TL public string region; } - /// Web authorizations
See
+ /// Web authorizations See [TLDef(0xED56C9FC)] public partial class Account_WebAuthorizations : ITLObject { @@ -9407,26 +9407,26 @@ namespace TL public Dictionary users; } - /// A message
Derived classes: , , ,
See
+ /// A message Derived classes: , , , See public abstract partial class InputMessage : ITLObject { } - /// Message by ID
See
+ /// Message by ID See [TLDef(0xA676A322)] public partial class InputMessageID : InputMessage { /// Message ID public int id; } - /// Message to which the specified message replies to
See
+ /// Message to which the specified message replies to See [TLDef(0xBAD88395)] public partial class InputMessageReplyTo : InputMessage { /// ID of the message that replies to the message we need public int id; } - /// Pinned message
See
+ /// Pinned message See [TLDef(0x86872538)] public partial class InputMessagePinned : InputMessage { } - /// Used by bots for fetching information about the message that originated a callback query
See
+ /// Used by bots for fetching information about the message that originated a callback query See [TLDef(0xACFA1A7E)] public partial class InputMessageCallbackQuery : InputMessage { @@ -9436,16 +9436,16 @@ namespace TL public long query_id; } - ///
Derived classes: ,
See
+ /// Peer, or all peers in a certain folder Derived classes: , See public abstract partial class InputDialogPeerBase : ITLObject { } - /// A peer
See
+ /// A peer See [TLDef(0xFCAAFEB7)] public partial class InputDialogPeer : InputDialogPeerBase { /// Peer public InputPeer peer; } - /// All peers in a peer folder
See
+ /// All peers in a peer folder See [TLDef(0x64600527)] public partial class InputDialogPeerFolder : InputDialogPeerBase { @@ -9453,16 +9453,16 @@ namespace TL public int folder_id; } - ///
Derived classes: ,
See
+ /// Peer, or all peers in a folder Derived classes: , See public abstract partial class DialogPeerBase : ITLObject { } - /// Peer
See
+ /// Peer See [TLDef(0xE56DBF05)] public partial class DialogPeer : DialogPeerBase { /// Peer public Peer peer; } - /// Peer folder
See
+ /// Peer folder See [TLDef(0x514519E2)] public partial class DialogPeerFolder : DialogPeerBase { @@ -9470,7 +9470,7 @@ namespace TL public int folder_id; } - /// Found stickersets
See
+ /// Found stickersets See /// a null value means messages.foundStickerSetsNotModified [TLDef(0x8AF09DD2)] public partial class Messages_FoundStickerSets : ITLObject @@ -9481,7 +9481,7 @@ namespace TL public StickerSetCoveredBase[] sets; } - ///
See
+ /// See [TLDef(0x6242C773)] public partial class FileHash : ITLObject { @@ -9493,7 +9493,7 @@ namespace TL public byte[] hash; } - /// Info about an MTProxy used to connect.
See
+ /// Info about an MTProxy used to connect. See [TLDef(0x75588B3F)] public partial class InputClientProxy : ITLObject { @@ -9503,16 +9503,16 @@ namespace TL public int port; } - ///
Derived classes: ,
See
+ /// Derived classes: , See public abstract partial class Help_TermsOfServiceUpdateBase : ITLObject { } - /// No changes were made to telegram's terms of service
See
+ /// No changes were made to telegram's terms of service See [TLDef(0xE3309F7F)] public partial class Help_TermsOfServiceUpdateEmpty : Help_TermsOfServiceUpdateBase { /// New TOS updates will have to be queried using help.getTermsOfServiceUpdate in expires seconds public DateTime expires; } - /// Info about an update of telegram's terms of service. If the terms of service are declined, then the account.deleteAccount method should be called with the reason "Decline ToS update"
See
+ /// Info about an update of telegram's terms of service. If the terms of service are declined, then the account.deleteAccount method should be called with the reason "Decline ToS update" See [TLDef(0x28ECF961)] public partial class Help_TermsOfServiceUpdate : Help_TermsOfServiceUpdateBase { @@ -9522,13 +9522,13 @@ namespace TL public Help_TermsOfService terms_of_service; } - ///
Derived classes: ,
See
+ /// Secure passport file, for more info see the passport docs » Derived classes: , See public abstract partial class InputSecureFileBase : ITLObject { /// Secure file ID public abstract long ID { get; } } - /// Uploaded secure file, for more info see the passport docs »
See
+ /// Uploaded secure file, for more info see the passport docs » See [TLDef(0x3334B0F0)] public partial class InputSecureFileUploaded : InputSecureFileBase { @@ -9546,7 +9546,7 @@ namespace TL /// Secure file ID public override long ID => id; } - /// Preuploaded passport file, for more info see the passport docs »
See
+ /// Preuploaded passport file, for more info see the passport docs » See [TLDef(0x5367E5BE)] public partial class InputSecureFile : InputSecureFileBase { @@ -9559,7 +9559,7 @@ namespace TL public override long ID => id; } - /// Secure passport file, for more info see the passport docs »
See
+ /// Secure passport file, for more info see the passport docs » See /// a null value means secureFileEmpty [TLDef(0xE0277A62)] public partial class SecureFile : ITLObject @@ -9580,7 +9580,7 @@ namespace TL public byte[] secret; } - /// Secure passport data, for more info see the passport docs »
See
+ /// Secure passport data, for more info see the passport docs » See [TLDef(0x8AEABEC3)] public partial class SecureData : ITLObject { @@ -9592,16 +9592,16 @@ namespace TL public byte[] secret; } - /// Plaintext verified passport data.
Derived classes: ,
See
+ /// Plaintext verified passport data. Derived classes: , See public abstract partial class SecurePlainData : ITLObject { } - /// Phone number to use in telegram passport: it must be verified, first ».
See
+ /// Phone number to use in telegram passport: it must be verified, first ». See [TLDef(0x7D6099DD)] public partial class SecurePlainPhone : SecurePlainData { /// Phone number public string phone; } - /// Email address to use in telegram passport: it must be verified, first ».
See
+ /// Email address to use in telegram passport: it must be verified, first ». See [TLDef(0x21EC5A5F)] public partial class SecurePlainEmail : SecurePlainData { @@ -9609,7 +9609,7 @@ namespace TL public string email; } - /// Secure value type
See
+ /// Secure value type See public enum SecureValueType : uint { ///Personal details @@ -9640,7 +9640,7 @@ namespace TL Email = 0x8E3CA7EE, } - /// Secure value
See
+ /// Secure value See [TLDef(0x187FA0CA)] public partial class SecureValue : ITLObject { @@ -9684,7 +9684,7 @@ namespace TL } } - /// Secure value, for more info see the passport docs »
See
+ /// Secure value, for more info see the passport docs » See [TLDef(0xDB21D0A7)] public partial class InputSecureValue : ITLObject { @@ -9726,7 +9726,7 @@ namespace TL } } - /// Secure value hash
See
+ /// Secure value hash See [TLDef(0xED1ECDB0)] public partial class SecureValueHash : ITLObject { @@ -9736,7 +9736,7 @@ namespace TL public byte[] hash; } - ///
Derived classes: , , , , , , , ,
See
+ /// Secure value error Derived classes: , , , , , , , , See public abstract partial class SecureValueErrorBase : ITLObject { /// The section of the user's Telegram Passport which has the error, one of , , , , , @@ -9744,7 +9744,7 @@ namespace TL /// Error message public abstract string Text { get; } } - /// Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.
See
+ /// Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes. See [TLDef(0xE8A40BD9)] public partial class SecureValueErrorData : SecureValueErrorBase { @@ -9762,7 +9762,7 @@ namespace TL /// Error message public override string Text => text; } - /// Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.
See
+ /// Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes. See [TLDef(0x00BE3DFA)] public partial class SecureValueErrorFrontSide : SecureValueErrorBase { @@ -9778,7 +9778,7 @@ namespace TL /// Error message public override string Text => text; } - /// Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.
See
+ /// Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes. See [TLDef(0x868A2AA5)] public partial class SecureValueErrorReverseSide : SecureValueErrorBase { @@ -9794,7 +9794,7 @@ namespace TL /// Error message public override string Text => text; } - /// Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
See
+ /// Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes. See [TLDef(0xE537CED6)] public partial class SecureValueErrorSelfie : SecureValueErrorBase { @@ -9810,7 +9810,7 @@ namespace TL /// Error message public override string Text => text; } - /// Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.
See
+ /// Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes. See [TLDef(0x7A700873)] public partial class SecureValueErrorFile : SecureValueErrorBase { @@ -9826,7 +9826,7 @@ namespace TL /// Error message public override string Text => text; } - /// Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
See
+ /// Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes. See [TLDef(0x666220E9)] public partial class SecureValueErrorFiles : SecureValueErrorBase { @@ -9842,7 +9842,7 @@ namespace TL /// Error message public override string Text => text; } - /// Secure value error
See
+ /// Secure value error See [TLDef(0x869D758F)] public partial class SecureValueError : SecureValueErrorBase { @@ -9858,18 +9858,18 @@ namespace TL /// Error message public override string Text => text; } - /// Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
See
+ /// Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes. See [TLDef(0xA1144770)] public partial class SecureValueErrorTranslationFile : SecureValueErrorFile { } - /// Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation changes.
See
+ /// Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation changes. See [TLDef(0x34636DD8)] public partial class SecureValueErrorTranslationFiles : SecureValueErrorFiles { } - /// Encrypted credentials required to decrypt telegram passport data.
See
+ /// Encrypted credentials required to decrypt telegram passport data. See [TLDef(0x33F0EA47)] public partial class SecureCredentialsEncrypted : ITLObject { @@ -9881,7 +9881,7 @@ namespace TL public byte[] secret; } - /// Telegram Passport authorization form
See
+ /// Telegram Passport authorization form See [TLDef(0xAD2E1CD8)] public partial class Account_AuthorizationForm : ITLObject { @@ -9905,7 +9905,7 @@ namespace TL } } - /// The sent email code
See
+ /// The sent email code See [TLDef(0x811F854F)] public partial class Account_SentEmailCode : ITLObject { @@ -9915,7 +9915,7 @@ namespace TL public int length; } - /// Deep linking info
See
+ /// Deep linking info See /// a null value means help.deepLinkInfoEmpty [TLDef(0x6A4EE832)] public partial class Help_DeepLinkInfo : ITLObject @@ -9936,9 +9936,9 @@ namespace TL } } - /// Saved contact
Derived classes:
See
+ /// Saved contact Derived classes: See public abstract partial class SavedContact : ITLObject { } - /// Saved contact
See
+ /// Saved contact See [TLDef(0x1142BD56)] public partial class SavedPhoneContact : SavedContact { @@ -9952,7 +9952,7 @@ namespace TL public DateTime date; } - /// Takout info
See
+ /// Takout info See [TLDef(0x4DBA4501)] public partial class Account_Takeout : ITLObject { @@ -9960,10 +9960,10 @@ namespace TL public long id; } - /// Key derivation function to use when generating the password hash for SRP two-factor authorization
Derived classes:
See
+ /// Key derivation function to use when generating the password hash for SRP two-factor authorization Derived classes: See /// a null value means passwordKdfAlgoUnknown public abstract partial class PasswordKdfAlgo : ITLObject { } - /// This key derivation algorithm defines that SRP 2FA login must be used
See
+ /// This key derivation algorithm defines that SRP 2FA login must be used See [TLDef(0x3A912D4A)] public partial class PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow : PasswordKdfAlgo { @@ -9977,21 +9977,21 @@ namespace TL public byte[] p; } - /// KDF algorithm to use for computing telegram passport hash
Derived classes: ,
See
+ /// KDF algorithm to use for computing telegram passport hash Derived classes: , See /// a null value means securePasswordKdfAlgoUnknown public abstract partial class SecurePasswordKdfAlgo : ITLObject { /// Salt public byte[] salt; } - /// PBKDF2 with SHA512 and 100000 iterations KDF algo
See
+ /// PBKDF2 with SHA512 and 100000 iterations KDF algo See [TLDef(0xBBF2DDA0)] public partial class SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 : SecurePasswordKdfAlgo { } - /// SHA512 KDF algo
See
+ /// SHA512 KDF algo See [TLDef(0x86471D92)] public partial class SecurePasswordKdfAlgoSHA512 : SecurePasswordKdfAlgo { } - /// Secure settings
See
+ /// Secure settings See [TLDef(0x1527BCAC)] public partial class SecureSecretSettings : ITLObject { @@ -10003,7 +10003,7 @@ namespace TL public long secure_secret_id; } - /// Constructor for checking the validity of a 2FA SRP password (see SRP)
See
+ /// Constructor for checking the validity of a 2FA SRP password (see SRP) See /// a null value means inputCheckPasswordEmpty [TLDef(0xD27FF082)] public partial class InputCheckPasswordSRP : ITLObject @@ -10016,9 +10016,9 @@ namespace TL public byte[] M1; } - ///
Derived classes: ,
See
+ /// Required secure file type Derived classes: , See public abstract partial class SecureRequiredTypeBase : ITLObject { } - /// Required type
See
+ /// Required type See [TLDef(0x829D99DA)] public partial class SecureRequiredType : SecureRequiredTypeBase { @@ -10037,7 +10037,7 @@ namespace TL translation_required = 0x4, } } - /// One of
See
+ /// One of See [TLDef(0x027477B4)] public partial class SecureRequiredTypeOneOf : SecureRequiredTypeBase { @@ -10045,7 +10045,7 @@ namespace TL public SecureRequiredTypeBase[] types; } - /// Telegram passport configuration
See
+ /// Telegram passport configuration See /// a null value means help.passportConfigNotModified [TLDef(0xA098D6AF)] public partial class Help_PassportConfig : ITLObject @@ -10056,7 +10056,7 @@ namespace TL public DataJSON countries_langs; } - /// Event that occured in the application.
See
+ /// Event that occured in the application. See [TLDef(0x1D1B1245)] public partial class InputAppEvent : ITLObject { @@ -10070,9 +10070,9 @@ namespace TL public JSONValue data; } - /// JSON key: value pair
Derived classes:
See
+ /// JSON key: value pair Derived classes: See public abstract partial class JSONObjectValue : ITLObject { } - /// JSON key: value pair
See
+ /// JSON key: value pair See [TLDef(0xC0DE1BD9)] public partial class JsonObjectValue : JSONObjectValue { @@ -10082,40 +10082,40 @@ namespace TL public JSONValue value; } - /// JSON value
Derived classes: , , , , ,
See
+ /// JSON value Derived classes: , , , , , See public abstract partial class JSONValue : ITLObject { } - /// null JSON value
See
+ /// null JSON value See [TLDef(0x3F6D7B68)] public partial class JsonNull : JSONValue { } - /// JSON boolean value
See
+ /// JSON boolean value See [TLDef(0xC7345E6A)] public partial class JsonBool : JSONValue { /// Value public bool value; } - /// JSON numeric value
See
+ /// JSON numeric value See [TLDef(0x2BE0DFA4)] public partial class JsonNumber : JSONValue { /// Value public double value; } - /// JSON string
See
+ /// JSON string See [TLDef(0xB71E767A)] public partial class JsonString : JSONValue { /// Value public string value; } - /// JSON array
See
+ /// JSON array See [TLDef(0xF7444763)] public partial class JsonArray : JSONValue { /// JSON values public JSONValue[] value; } - /// JSON object value
See
+ /// JSON object value See [TLDef(0x99C1D49D)] public partial class JsonObject : JSONValue { @@ -10123,7 +10123,7 @@ namespace TL public JSONObjectValue[] value; } - /// Table cell
See
+ /// Table cell See [TLDef(0x34566B6A)] public partial class PageTableCell : ITLObject { @@ -10157,7 +10157,7 @@ namespace TL } } - /// Table row
See
+ /// Table row See [TLDef(0xE0C0C5E5)] public partial class PageTableRow : ITLObject { @@ -10165,7 +10165,7 @@ namespace TL public PageTableCell[] cells; } - /// Page caption
See
+ /// Page caption See [TLDef(0x6F747657)] public partial class PageCaption : ITLObject { @@ -10175,16 +10175,16 @@ namespace TL public RichText credit; } - /// Item in block list
Derived classes: ,
See
+ /// Item in block list Derived classes: , See public abstract partial class PageListItem : ITLObject { } - /// List item
See
+ /// List item See [TLDef(0xB92FB6CD)] public partial class PageListItemText : PageListItem { /// Text public RichText text; } - /// List item
See
+ /// List item See [TLDef(0x25E073FC)] public partial class PageListItemBlocks : PageListItem { @@ -10192,20 +10192,20 @@ namespace TL public PageBlock[] blocks; } - /// Represents an instant view ordered list
Derived classes: ,
See
+ /// Represents an instant view ordered list Derived classes: , See public abstract partial class PageListOrderedItem : ITLObject { /// Number of element within ordered list public string num; } - /// Ordered list of text items
See
+ /// Ordered list of text items See [TLDef(0x5E068047)] public partial class PageListOrderedItemText : PageListOrderedItem { /// Text public RichText text; } - /// Ordered list of IV blocks
See
+ /// Ordered list of IV blocks See [TLDef(0x98DD8936)] public partial class PageListOrderedItemBlocks : PageListOrderedItem { @@ -10213,7 +10213,7 @@ namespace TL public PageBlock[] blocks; } - /// Related article
See
+ /// Related article See [TLDef(0xB390DC08)] public partial class PageRelatedArticle : ITLObject { @@ -10249,7 +10249,7 @@ namespace TL } } - /// Instant view page
See
+ /// Instant view page See [TLDef(0x98657F0D)] public partial class Page : ITLObject { @@ -10279,7 +10279,7 @@ namespace TL } } - /// Localized name for telegram support
See
+ /// Localized name for telegram support See [TLDef(0x8C05F1C9)] public partial class Help_SupportName : ITLObject { @@ -10287,7 +10287,7 @@ namespace TL public string name; } - /// Internal use
See
+ /// Internal use See /// a null value means help.userInfoEmpty [TLDef(0x01EB3758)] public partial class Help_UserInfo : ITLObject @@ -10302,7 +10302,7 @@ namespace TL public DateTime date; } - /// A possible answer of a poll
See
+ /// A possible answer of a poll See [TLDef(0x6CA9C2E9)] public partial class PollAnswer : ITLObject { @@ -10312,7 +10312,7 @@ namespace TL public byte[] option; } - /// Poll
See
+ /// Poll See [TLDef(0x86E18161)] public partial class Poll : ITLObject { @@ -10346,7 +10346,7 @@ namespace TL } } - /// A poll answer, and how users voted on it
See
+ /// A poll answer, and how users voted on it See [TLDef(0x3B6DDAD2)] public partial class PollAnswerVoters : ITLObject { @@ -10366,7 +10366,7 @@ namespace TL } } - /// Results of poll
See
+ /// Results of poll See [TLDef(0xDCB82EA3)] public partial class PollResults : ITLObject { @@ -10398,7 +10398,7 @@ namespace TL } } - /// Number of online users in a chat
See
+ /// Number of online users in a chat See [TLDef(0xF041E250)] public partial class ChatOnlines : ITLObject { @@ -10406,7 +10406,7 @@ namespace TL public int onlines; } - /// URL with chat statistics
See
+ /// URL with chat statistics See [TLDef(0x47A971E0)] public partial class StatsURL : ITLObject { @@ -10414,7 +10414,7 @@ namespace TL public string url; } - /// Represents the rights of an admin in a channel/supergroup.
See
+ /// Represents the rights of an admin in a channel/supergroup. See [TLDef(0x5FB224D5)] public partial class ChatAdminRights : ITLObject { @@ -10448,7 +10448,7 @@ namespace TL } } - /// Represents the rights of a normal user in a supergroup/channel/chat. In this case, the flags are inverted: if set, a flag does not allow a user to do X.
See
+ /// Represents the rights of a normal user in a supergroup/channel/chat. In this case, the flags are inverted: if set, a flag does not allow a user to do X. See [TLDef(0x9F120418)] public partial class ChatBannedRights : ITLObject { @@ -10486,9 +10486,9 @@ namespace TL } } - ///
Derived classes: , ,
See
+ /// Wallpaper Derived classes: , , See public abstract partial class InputWallPaperBase : ITLObject { } - /// Wallpaper
See
+ /// Wallpaper See [TLDef(0xE630B979)] public partial class InputWallPaper : InputWallPaperBase { @@ -10497,14 +10497,14 @@ namespace TL /// Access hash public long access_hash; } - /// Wallpaper by slug (a unique ID)
See
+ /// Wallpaper by slug (a unique ID) See [TLDef(0x72091C80)] public partial class InputWallPaperSlug : InputWallPaperBase { /// Unique wallpaper ID public string slug; } - /// Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.
See
+ /// Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID. See [TLDef(0x967A462E)] public partial class InputWallPaperNoFile : InputWallPaperBase { @@ -10512,7 +10512,7 @@ namespace TL public long id; } - /// Installed wallpapers
See
+ /// Installed wallpapers See /// a null value means account.wallPapersNotModified [TLDef(0xCDC3858C)] public partial class Account_WallPapers : ITLObject @@ -10523,7 +10523,7 @@ namespace TL public WallPaperBase[] wallpapers; } - /// Settings used by telegram servers for sending the confirm code.
See
+ /// Settings used by telegram servers for sending the confirm code. See [TLDef(0xDEBEBE83)] public partial class CodeSettings : ITLObject { @@ -10541,7 +10541,7 @@ namespace TL } } - /// Wallpaper settings
See
+ /// Wallpaper settings See [TLDef(0x1DC1BCA4)] public partial class WallPaperSettings : ITLObject { @@ -10579,7 +10579,7 @@ namespace TL } } - /// Autodownload settings
See
+ /// Autodownload settings See [TLDef(0xE04232F3)] public partial class AutoDownloadSettings : ITLObject { @@ -10607,7 +10607,7 @@ namespace TL } } - /// Media autodownload settings
See
+ /// Media autodownload settings See [TLDef(0x63CACF26)] public partial class Account_AutoDownloadSettings : ITLObject { @@ -10619,7 +10619,7 @@ namespace TL public AutoDownloadSettings high; } - /// Emoji keyword
See
+ /// Emoji keyword See [TLDef(0xD5B3B9F9)] public partial class EmojiKeyword : ITLObject { @@ -10628,11 +10628,11 @@ namespace TL /// Emojis associated to keyword public string[] emoticons; } - /// Deleted emoji keyword
See
+ /// Deleted emoji keyword See [TLDef(0x236DF622)] public partial class EmojiKeywordDeleted : EmojiKeyword { } - /// Changes to emoji keywords
See
+ /// Changes to emoji keywords See [TLDef(0x5CC761BD)] public partial class EmojiKeywordsDifference : ITLObject { @@ -10646,7 +10646,7 @@ namespace TL public EmojiKeyword[] keywords; } - /// An HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation
See
+ /// An HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation See [TLDef(0xA575739D)] public partial class EmojiURL : ITLObject { @@ -10654,7 +10654,7 @@ namespace TL public string url; } - /// Emoji language
See
+ /// Emoji language See [TLDef(0xB3FB5361)] public partial class EmojiLanguage : ITLObject { @@ -10662,7 +10662,7 @@ namespace TL public string lang_code; } - /// Folder
See
+ /// Folder See [TLDef(0xFF544E65)] public partial class Folder : ITLObject { @@ -10688,7 +10688,7 @@ namespace TL } } - /// Peer in a folder
See
+ /// Peer in a folder See [TLDef(0xFBD2C296)] public partial class InputFolderPeer : ITLObject { @@ -10698,7 +10698,7 @@ namespace TL public int folder_id; } - /// Peer in a folder
See
+ /// Peer in a folder See [TLDef(0xE9BAA668)] public partial class FolderPeer : ITLObject { @@ -10708,7 +10708,7 @@ namespace TL public int folder_id; } - /// Indicates how many results would be found by a messages.search call with the same parameters
See
+ /// Indicates how many results would be found by a messages.search call with the same parameters See [TLDef(0xE844EBFF)] public partial class Messages_SearchCounter : ITLObject { @@ -10726,9 +10726,9 @@ namespace TL } } - /// URL authorization result
Derived classes: , ,
See
+ /// URL authorization result Derived classes: , , See public abstract partial class UrlAuthResult : ITLObject { } - /// Details about the authorization request, for more info click here »
See
+ /// Details about the authorization request, for more info click here » See [TLDef(0x92D33A0E)] public partial class UrlAuthResultRequest : UrlAuthResult { @@ -10745,18 +10745,18 @@ namespace TL request_write_access = 0x1, } } - /// Details about an accepted authorization request, for more info click here »
See
+ /// Details about an accepted authorization request, for more info click here » See [TLDef(0x8F8C0E4E)] public partial class UrlAuthResultAccepted : UrlAuthResult { /// The URL name of the website on which the user has logged in. public string url; } - /// Details about an accepted authorization request, for more info click here »
See
+ /// Details about an accepted authorization request, for more info click here » See [TLDef(0xA9D6DB1F)] public partial class UrlAuthResultDefault : UrlAuthResult { } - /// Geographical location of supergroup (geogroups)
See
+ /// Geographical location of supergroup (geogroups) See /// a null value means channelLocationEmpty [TLDef(0x209B82DB)] public partial class ChannelLocation : ITLObject @@ -10767,13 +10767,13 @@ namespace TL public string address; } - ///
Derived classes: ,
See
+ /// Geolocated peer Derived classes: , See public abstract partial class PeerLocatedBase : ITLObject { /// Validity period of current data public abstract DateTime Expires { get; } } - /// Peer geolocated nearby
See
+ /// Peer geolocated nearby See [TLDef(0xCA461B5D)] public partial class PeerLocated : PeerLocatedBase { @@ -10787,7 +10787,7 @@ namespace TL /// Validity period of current data public override DateTime Expires => expires; } - /// Current peer
See
+ /// Current peer See [TLDef(0xF8EC284B)] public partial class PeerSelfLocated : PeerLocatedBase { @@ -10798,7 +10798,7 @@ namespace TL public override DateTime Expires => expires; } - /// Restriction reason.
See
+ /// Restriction reason. See [TLDef(0xD072ACB4)] public partial class RestrictionReason : ITLObject { @@ -10810,9 +10810,9 @@ namespace TL public string text; } - ///
Derived classes: ,
See
+ /// Cloud theme Derived classes: , See public abstract partial class InputThemeBase : ITLObject { } - /// Theme
See
+ /// Theme See [TLDef(0x3C5693E9)] public partial class InputTheme : InputThemeBase { @@ -10821,7 +10821,7 @@ namespace TL /// Access hash public long access_hash; } - /// Theme by theme ID
See
+ /// Theme by theme ID See [TLDef(0xF5890DF1)] public partial class InputThemeSlug : InputThemeBase { @@ -10829,7 +10829,7 @@ namespace TL public string slug; } - /// Theme
See
+ /// Theme See [TLDef(0xA00E67D6)] public partial class Theme : ITLObject { @@ -10870,7 +10870,7 @@ namespace TL } } - /// Installed themes
See
+ /// Installed themes See /// a null value means account.themesNotModified [TLDef(0x9A3D8C6D)] public partial class Account_Themes : ITLObject @@ -10881,9 +10881,9 @@ namespace TL public Theme[] themes; } - ///
Derived classes: , ,
See
+ /// Login token (for QR code login) Derived classes: , , See public abstract partial class Auth_LoginTokenBase : ITLObject { } - /// Login token (for QR code login)
See
+ /// Login token (for QR code login) See [TLDef(0x629F1980)] public partial class Auth_LoginToken : Auth_LoginTokenBase { @@ -10892,7 +10892,7 @@ namespace TL /// Token to render in QR code public byte[] token; } - /// Repeat the query to the specified DC
See
+ /// Repeat the query to the specified DC See [TLDef(0x068E9916)] public partial class Auth_LoginTokenMigrateTo : Auth_LoginTokenBase { @@ -10901,7 +10901,7 @@ namespace TL /// Token to use for login public byte[] token; } - /// Login via token (QR code) succeded!
See
+ /// Login via token (QR code) succeded! See [TLDef(0x390D5C5E)] public partial class Auth_LoginTokenSuccess : Auth_LoginTokenBase { @@ -10909,7 +10909,7 @@ namespace TL public Auth_AuthorizationBase authorization; } - /// Sensitive content settings
See
+ /// Sensitive content settings See [TLDef(0x57E28221)] public partial class Account_ContentSettings : ITLObject { @@ -10925,7 +10925,7 @@ namespace TL } } - /// Inactive chat list
See
+ /// Inactive chat list See [TLDef(0xA927FEC5)] public partial class Messages_InactiveChats : ITLObject { @@ -10939,7 +10939,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Basic theme settings
See
+ /// Basic theme settings See public enum BaseTheme : uint { ///Classic theme @@ -10954,7 +10954,7 @@ namespace TL Arctic = 0x5B11125A, } - /// Theme settings
See
+ /// Theme settings See [TLDef(0x8FDE504F)] public partial class InputThemeSettings : ITLObject { @@ -10986,7 +10986,7 @@ namespace TL } } - /// Theme settings
See
+ /// Theme settings See [TLDef(0xFA58B6D4)] public partial class ThemeSettings : ITLObject { @@ -11016,9 +11016,9 @@ namespace TL } } - /// Webpage attributes
Derived classes:
See
+ /// Webpage attributes Derived classes: See public abstract partial class WebPageAttribute : ITLObject { } - /// Page theme
See
+ /// Page theme See [TLDef(0x54B56617)] public partial class WebPageAttributeTheme : WebPageAttribute { @@ -11038,7 +11038,7 @@ namespace TL } } - ///
Derived classes: , ,
See
+ /// How a user voted in a poll Derived classes: , , See public abstract partial class MessageUserVoteBase : ITLObject { /// User ID @@ -11046,7 +11046,7 @@ namespace TL /// When did the user cast the vote public abstract DateTime Date { get; } } - /// How a user voted in a poll
See
+ /// How a user voted in a poll See [TLDef(0x34D247B4)] public partial class MessageUserVote : MessageUserVoteBase { @@ -11062,7 +11062,7 @@ namespace TL /// When did the user cast the vote public override DateTime Date => date; } - /// How a user voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes)
See
+ /// How a user voted in a poll (reduced constructor, returned if an option was provided to messages.getPollVotes) See [TLDef(0x3CA5B0EC)] public partial class MessageUserVoteInputOption : MessageUserVoteBase { @@ -11076,7 +11076,7 @@ namespace TL /// When did the user cast the vote public override DateTime Date => date; } - /// How a user voted in a multiple-choice poll
See
+ /// How a user voted in a multiple-choice poll See [TLDef(0x8A65E557)] public partial class MessageUserVoteMultiple : MessageUserVoteBase { @@ -11093,7 +11093,7 @@ namespace TL public override DateTime Date => date; } - /// How users voted in a poll
See
+ /// How users voted in a poll See [TLDef(0x0823F649)] public partial class Messages_VotesList : ITLObject { @@ -11115,7 +11115,7 @@ namespace TL } } - /// Credit card info URL provided by the bank
See
+ /// Credit card info URL provided by the bank See [TLDef(0xF568028A)] public partial class BankCardOpenUrl : ITLObject { @@ -11125,7 +11125,7 @@ namespace TL public string name; } - /// Credit card info, provided by the card's bank(s)
See
+ /// Credit card info, provided by the card's bank(s) See [TLDef(0x3E24E573)] public partial class Payments_BankCardData : ITLObject { @@ -11135,7 +11135,7 @@ namespace TL public BankCardOpenUrl[] open_urls; } - /// Dialog filter AKA folder
See
+ /// Dialog filter AKA folder See [TLDef(0x7438F7E8)] public partial class DialogFilter : ITLObject { @@ -11177,7 +11177,7 @@ namespace TL } } - /// Suggested folders
See
+ /// Suggested folders See [TLDef(0x77744D4A)] public partial class DialogFilterSuggested : ITLObject { @@ -11187,7 +11187,7 @@ namespace TL public string description; } - /// Channel statistics date range
See
+ /// Channel statistics date range See [TLDef(0xB637EDAF)] public partial class StatsDateRangeDays : ITLObject { @@ -11197,7 +11197,7 @@ namespace TL public DateTime max_date; } - /// Statistics value couple; initial and final value for period of time currently in consideration
See
+ /// Statistics value couple; initial and final value for period of time currently in consideration See [TLDef(0xCB43ACDE)] public partial class StatsAbsValueAndPrev : ITLObject { @@ -11207,7 +11207,7 @@ namespace TL public double previous; } - /// Channel statistics percentage.
Compute the percentage simply by doing part * total / 100
See
+ /// Channel statistics percentage.
Compute the percentage simply by doing part * total / 100 See
[TLDef(0xCBCE2FE0)] public partial class StatsPercentValue : ITLObject { @@ -11217,23 +11217,23 @@ namespace TL public double total; } - ///
Derived classes: , ,
See
+ /// Channel statistics graph Derived classes: , , See public abstract partial class StatsGraphBase : ITLObject { } - /// This channel statistics graph must be generated asynchronously using stats.loadAsyncGraph to reduce server load
See
+ /// This channel statistics graph must be generated asynchronously using stats.loadAsyncGraph to reduce server load See [TLDef(0x4A27EB2D)] public partial class StatsGraphAsync : StatsGraphBase { /// Token to use for fetching the async graph public string token; } - /// An error occurred while generating the statistics graph
See
+ /// An error occurred while generating the statistics graph See [TLDef(0xBEDC9822)] public partial class StatsGraphError : StatsGraphBase { /// The error public string error; } - /// Channel statistics graph
See
+ /// Channel statistics graph See [TLDef(0x8EA464B6)] public partial class StatsGraph : StatsGraphBase { @@ -11251,7 +11251,7 @@ namespace TL } } - /// Message interaction counters
See
+ /// Message interaction counters See [TLDef(0xAD4FC9BD)] public partial class MessageInteractionCounters : ITLObject { @@ -11263,7 +11263,7 @@ namespace TL public int forwards; } - /// Channel statistics.
See
+ /// Channel statistics. See [TLDef(0xBDF78394)] public partial class Stats_BroadcastStats : ITLObject { @@ -11299,16 +11299,16 @@ namespace TL public MessageInteractionCounters[] recent_message_interactions; } - ///
Derived classes: ,
See
+ /// Info about pinned MTProxy or Public Service Announcement peers. Derived classes: , See public abstract partial class Help_PromoDataBase : ITLObject { } - /// No PSA/MTProxy info is available
See
+ /// No PSA/MTProxy info is available See [TLDef(0x98F6AC75)] public partial class Help_PromoDataEmpty : Help_PromoDataBase { /// Re-fetch PSA/MTProxy info after the specified number of seconds public DateTime expires; } - /// MTProxy/Public Service Announcement information
See
+ /// MTProxy/Public Service Announcement information See [TLDef(0x8C39793F)] public partial class Help_PromoData : Help_PromoDataBase { @@ -11340,7 +11340,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Animated profile picture in MPEG4 format
See
+ /// Animated profile picture in MPEG4 format See [TLDef(0xDE33B094)] public partial class VideoSize : ITLObject { @@ -11364,7 +11364,7 @@ namespace TL } } - /// Information about an active user in a supergroup
See
+ /// Information about an active user in a supergroup See [TLDef(0x9D04AF9B)] public partial class StatsGroupTopPoster : ITLObject { @@ -11376,7 +11376,7 @@ namespace TL public int avg_chars; } - /// Information about an active admin in a supergroup
See
+ /// Information about an active admin in a supergroup See [TLDef(0xD7584C87)] public partial class StatsGroupTopAdmin : ITLObject { @@ -11390,7 +11390,7 @@ namespace TL public int banned; } - /// Information about an active supergroup inviter
See
+ /// Information about an active supergroup inviter See [TLDef(0x535F779D)] public partial class StatsGroupTopInviter : ITLObject { @@ -11400,7 +11400,7 @@ namespace TL public int invitations; } - /// Supergroup statistics
See
+ /// Supergroup statistics See [TLDef(0xEF7FF916)] public partial class Stats_MegagroupStats : ITLObject { @@ -11440,7 +11440,7 @@ namespace TL public Dictionary users; } - /// Global privacy settings
See
+ /// Global privacy settings See [TLDef(0xBEA2F424)] public partial class GlobalPrivacySettings : ITLObject { @@ -11456,7 +11456,7 @@ namespace TL } } - /// Country code and phone number pattern of a specific country
See
+ /// Country code and phone number pattern of a specific country See [TLDef(0x4203C5EF)] public partial class Help_CountryCode : ITLObject { @@ -11478,7 +11478,7 @@ namespace TL } } - /// Name, ISO code, localized name and phone codes/patterns of a specific country
See
+ /// Name, ISO code, localized name and phone codes/patterns of a specific country See [TLDef(0xC3878E23)] public partial class Help_Country : ITLObject { @@ -11502,7 +11502,7 @@ namespace TL } } - /// Name, ISO code, localized name and phone codes/patterns of all available countries
See
+ /// Name, ISO code, localized name and phone codes/patterns of all available countries See /// a null value means help.countriesListNotModified [TLDef(0x87D0759E)] public partial class Help_CountriesList : ITLObject @@ -11513,7 +11513,7 @@ namespace TL public int hash; } - /// View, forward counter + info about replies of a specific message
See
+ /// View, forward counter + info about replies of a specific message See [TLDef(0x455B853D)] public partial class MessageViews : ITLObject { @@ -11537,7 +11537,7 @@ namespace TL } } - /// View, forward counter + info about replies
See
+ /// View, forward counter + info about replies See [TLDef(0xB6C4F543)] public partial class Messages_MessageViews : ITLObject { @@ -11551,7 +11551,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Information about a message thread
See
+ /// Information about a message thread See [TLDef(0xA6341782)] public partial class Messages_DiscussionMessage : ITLObject { @@ -11585,7 +11585,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Message replies and thread information
See
+ /// Message replies and thread information See [TLDef(0xA6D57763)] public partial class MessageReplyHeader : ITLObject { @@ -11607,7 +11607,7 @@ namespace TL } } - /// Info about the comment section of a channel post, or a simple message thread
See
+ /// Info about the comment section of a channel post, or a simple message thread See [TLDef(0x83D60FC2)] public partial class MessageReplies : ITLObject { @@ -11639,7 +11639,7 @@ namespace TL } } - /// Information about a blocked peer
See
+ /// Information about a blocked peer See [TLDef(0xE8FD8014)] public partial class PeerBlocked : ITLObject { @@ -11649,7 +11649,7 @@ namespace TL public DateTime date; } - /// Message statistics
See
+ /// Message statistics See [TLDef(0x8999F295)] public partial class Stats_MessageStats : ITLObject { @@ -11657,7 +11657,7 @@ namespace TL public StatsGraphBase views_graph; } - ///
Derived classes: ,
See
+ /// A group call Derived classes: , See public abstract partial class GroupCallBase : ITLObject { /// Group call ID @@ -11665,7 +11665,7 @@ namespace TL /// Group call access hash public abstract long AccessHash { get; } } - /// An ended group call
See
+ /// An ended group call See [TLDef(0x7780BCB4)] public partial class GroupCallDiscarded : GroupCallBase { @@ -11681,7 +11681,7 @@ namespace TL /// Group call access hash public override long AccessHash => access_hash; } - /// Info about a group call or livestream
See
+ /// Info about a group call or livestream See [TLDef(0xD597650C)] public partial class GroupCall : GroupCallBase { @@ -11740,7 +11740,7 @@ namespace TL public override long AccessHash => access_hash; } - /// Points to a specific group call
See
+ /// Points to a specific group call See [TLDef(0xD8AA840F)] public partial class InputGroupCall : ITLObject { @@ -11750,7 +11750,7 @@ namespace TL public long access_hash; } - /// Info about a group call participant
See
+ /// Info about a group call participant See [TLDef(0xEBA636FE)] public partial class GroupCallParticipant : ITLObject { @@ -11812,7 +11812,7 @@ namespace TL } } - /// Contains info about a group call, and partial info about its participants.
See
+ /// Contains info about a group call, and partial info about its participants. See [TLDef(0x9E727AAD)] public partial class Phone_GroupCall : ITLObject { @@ -11830,7 +11830,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Info about the participants of a group call or livestream
See
+ /// Info about the participants of a group call or livestream See [TLDef(0xF47751B6)] public partial class Phone_GroupParticipants : ITLObject { @@ -11850,7 +11850,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// Type of the chat from which the inline query was sent.
See
+ /// Type of the chat from which the inline query was sent. See public enum InlineQueryPeerType : uint { ///The inline query was sent in a private chat with the bot itself @@ -11865,7 +11865,7 @@ namespace TL Broadcast = 0x6334EE9A, } - /// ID of a specific chat import session, click here for more info ».
See
+ /// ID of a specific chat import session, click here for more info ». See [TLDef(0x1662AF0B)] public partial class Messages_HistoryImport : ITLObject { @@ -11873,7 +11873,7 @@ namespace TL public long id; } - /// Contains information about a chat export file generated by a foreign chat app, click here for more info.
If neither the pm or group flags are set, the specified chat export was generated from a chat of unknown type.
See
+ /// Contains information about a chat export file generated by a foreign chat app, click here for more info.
If neither the pm or group flags are set, the specified chat export was generated from a chat of unknown type. See
[TLDef(0x5E0FB7B9)] public partial class Messages_HistoryImportParsed : ITLObject { @@ -11893,7 +11893,7 @@ namespace TL } } - /// Messages found and affected by changes
See
+ /// Messages found and affected by changes See [TLDef(0xEF8D3E6C)] public partial class Messages_AffectedFoundMessages : ITLObject { @@ -11907,7 +11907,7 @@ namespace TL public int[] messages; } - /// When and which user joined the chat using a chat invite
See
+ /// When and which user joined the chat using a chat invite See [TLDef(0x8C5ADFD9)] public partial class ChatInviteImporter : ITLObject { @@ -11929,7 +11929,7 @@ namespace TL } } - /// Info about chat invites exported by a certain admin.
See
+ /// Info about chat invites exported by a certain admin. See [TLDef(0xBDC62DCC)] public partial class Messages_ExportedChatInvites : ITLObject { @@ -11941,7 +11941,7 @@ namespace TL public Dictionary users; } - ///
Derived classes: ,
See
+ /// Contains info about a chat invite, and eventually a pointer to the newest chat invite. Derived classes: , See public abstract partial class Messages_ExportedChatInviteBase : ITLObject { /// Info about the chat invite @@ -11949,7 +11949,7 @@ namespace TL /// Mentioned users public abstract Dictionary Users { get; } } - /// Info about a chat invite
See
+ /// Info about a chat invite See [TLDef(0x1871BE50)] public partial class Messages_ExportedChatInvite : Messages_ExportedChatInviteBase { @@ -11963,7 +11963,7 @@ namespace TL /// Mentioned users public override Dictionary Users => users; } - /// The specified chat invite was replaced with another one
See
+ /// The specified chat invite was replaced with another one See [TLDef(0x222600EF)] public partial class Messages_ExportedChatInviteReplaced : Messages_ExportedChatInviteBase { @@ -11980,7 +11980,7 @@ namespace TL public override Dictionary Users => users; } - /// Info about the users that joined the chat using a specific chat invite
See
+ /// Info about the users that joined the chat using a specific chat invite See [TLDef(0x81B6B00A)] public partial class Messages_ChatInviteImporters : ITLObject { @@ -11992,7 +11992,7 @@ namespace TL public Dictionary users; } - /// Info about chat invites generated by admins.
See
+ /// Info about chat invites generated by admins. See [TLDef(0xF2ECEF23)] public partial class ChatAdminWithInvites : ITLObject { @@ -12004,7 +12004,7 @@ namespace TL public int revoked_invites_count; } - /// Info about chat invites generated by admins.
See
+ /// Info about chat invites generated by admins. See [TLDef(0xB69B72D7)] public partial class Messages_ChatAdminsWithInvites : ITLObject { @@ -12014,7 +12014,7 @@ namespace TL public Dictionary users; } - /// Contains a confirmation text to be shown to the user, upon importing chat history, click here for more info ».
See
+ /// Contains a confirmation text to be shown to the user, upon importing chat history, click here for more info ». See [TLDef(0xA24DE717)] public partial class Messages_CheckedHistoryImportPeer : ITLObject { @@ -12022,7 +12022,7 @@ namespace TL public string confirm_text; } - /// A list of peers that can be used to join a group call, presenting yourself as a specific user/channel.
See
+ /// A list of peers that can be used to join a group call, presenting yourself as a specific user/channel. See [TLDef(0xAFE5623F)] public partial class Phone_JoinAsPeers : ITLObject { @@ -12036,7 +12036,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - /// An invite to a group call or livestream
See
+ /// An invite to a group call or livestream See [TLDef(0x204BD158)] public partial class Phone_ExportedGroupCallInvite : ITLObject { @@ -12044,7 +12044,7 @@ namespace TL public string link; } - /// Describes a group of video synchronization source identifiers
See
+ /// Describes a group of video synchronization source identifiers See [TLDef(0xDCB118B7)] public partial class GroupCallParticipantVideoSourceGroup : ITLObject { @@ -12054,7 +12054,7 @@ namespace TL public int[] sources; } - /// Info about a video stream
See
+ /// Info about a video stream See [TLDef(0x67753AC8)] public partial class GroupCallParticipantVideo : ITLObject { @@ -12076,7 +12076,7 @@ namespace TL } } - /// A suggested short name for a stickerpack
See
+ /// A suggested short name for a stickerpack See [TLDef(0x85FEA03F)] public partial class Stickers_SuggestedShortName : ITLObject { @@ -12084,31 +12084,31 @@ namespace TL public string short_name; } - /// Represents a scope where the bot commands, specified using bots.setBotCommands will be valid.
Derived classes: , , , , , ,
See
+ /// Represents a scope where the bot commands, specified using bots.setBotCommands will be valid. Derived classes: , , , , , , See public abstract partial class BotCommandScope : ITLObject { } - /// The commands will be valid in all dialogs
See
+ /// The commands will be valid in all dialogs See [TLDef(0x2F6CB2AB)] public partial class BotCommandScopeDefault : BotCommandScope { } - /// The specified bot commands will only be valid in all private chats with users.
See
+ /// The specified bot commands will only be valid in all private chats with users. See [TLDef(0x3C4F04D8)] public partial class BotCommandScopeUsers : BotCommandScope { } - /// The specified bot commands will be valid in all groups and supergroups.
See
+ /// The specified bot commands will be valid in all groups and supergroups. See [TLDef(0x6FE1A881)] public partial class BotCommandScopeChats : BotCommandScope { } - /// The specified bot commands will be valid only for chat administrators, in all groups and supergroups.
See
+ /// The specified bot commands will be valid only for chat administrators, in all groups and supergroups. See [TLDef(0xB9AA606A)] public partial class BotCommandScopeChatAdmins : BotCommandScope { } - /// The specified bot commands will be valid only in a specific dialog.
See
+ /// The specified bot commands will be valid only in a specific dialog. See [TLDef(0xDB9D897D)] public partial class BotCommandScopePeer : BotCommandScope { /// The dialog public InputPeer peer; } - /// The specified bot commands will be valid for all admins of the specified group or supergroup.
See
+ /// The specified bot commands will be valid for all admins of the specified group or supergroup. See [TLDef(0x3FD863D1)] public partial class BotCommandScopePeerAdmins : BotCommandScopePeer { } - /// The specified bot commands will be valid only for a specific user in the specified group or supergroup.
See
+ /// The specified bot commands will be valid only for a specific user in the specified group or supergroup. See [TLDef(0x0A1321F3)] public partial class BotCommandScopePeerUser : BotCommandScopePeer { @@ -12116,27 +12116,27 @@ namespace TL public InputUserBase user_id; } - ///
Derived classes: , ,
See
+ /// Result of an account.resetPassword request. Derived classes: , , See public abstract partial class Account_ResetPasswordResult : ITLObject { } - /// You recently requested a password reset that was canceled, please wait until the specified date before requesting another reset.
See
+ /// You recently requested a password reset that was canceled, please wait until the specified date before requesting another reset. See [TLDef(0xE3779861)] public partial class Account_ResetPasswordFailedWait : Account_ResetPasswordResult { /// Wait until this date before requesting another reset. public DateTime retry_date; } - /// You successfully requested a password reset, please wait until the specified date before finalizing the reset.
See
+ /// You successfully requested a password reset, please wait until the specified date before finalizing the reset. See [TLDef(0xE9EFFC7D)] public partial class Account_ResetPasswordRequestedWait : Account_ResetPasswordResult { /// Wait until this date before finalizing the reset. public DateTime until_date; } - /// The 2FA password was reset successfully.
See
+ /// The 2FA password was reset successfully. See [TLDef(0xE926D63E)] public partial class Account_ResetPasswordOk : Account_ResetPasswordResult { } - /// A sponsored message
See
+ /// A sponsored message See [TLDef(0xD151E19A)] public partial class SponsoredMessage : ITLObject { @@ -12165,7 +12165,7 @@ namespace TL } } - /// A set of sponsored messages associated to a channel
See
+ /// A set of sponsored messages associated to a channel See [TLDef(0x65A4C7D5)] public partial class Messages_SponsoredMessages : ITLObject { @@ -12179,7 +12179,7 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - ///
See
+ /// See [TLDef(0xC9B0539F)] public partial class SearchResultsCalendarPeriod : ITLObject { @@ -12189,7 +12189,7 @@ namespace TL public int count; } - ///
See
+ /// See [TLDef(0x147EE23C)] public partial class Messages_SearchResultsCalendar : ITLObject { @@ -12213,9 +12213,9 @@ namespace TL public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats); } - ///
See
+ /// See public abstract partial class SearchResultsPosition : ITLObject { } - ///
See
+ /// See [TLDef(0x7F648B67)] public partial class SearchResultPosition : SearchResultsPosition { @@ -12224,7 +12224,7 @@ namespace TL public int offset; } - ///
See
+ /// See [TLDef(0x53B22BAF)] public partial class Messages_SearchResultsPositions : ITLObject { @@ -12236,7 +12236,7 @@ namespace TL public static class Schema { - /// Invokes a query after successfull completion of one of the previous queries.
See
+ /// Invokes a query after successfull completion of one of the previous queries. See /// Message identifier on which a current query depends /// The query itself public static Task InvokeAfterMsg(this Client client, long msg_id, ITLFunction query) @@ -12248,7 +12248,7 @@ namespace TL return "InvokeAfterMsg"; }); - /// Invokes a query after a successfull completion of previous queries
See
+ /// Invokes a query after a successfull completion of previous queries See /// List of messages on which a current query depends /// The query itself public static Task InvokeAfterMsgs(this Client client, long[] msg_ids, ITLFunction query) @@ -12260,7 +12260,7 @@ namespace TL return "InvokeAfterMsgs"; }); - /// Initialize connection
See
+ /// Initialize connection See /// Application identifier (see. App configuration) /// Device model /// Operation system version @@ -12271,6 +12271,7 @@ namespace TL /// Info about an MTProto proxy /// Additional initConnection parameters.
For now, only the tz_offset field is supported, for specifying timezone offset in seconds. /// The query itself + /// Possible errors: 400 (details) public static ITLFunction InitConnection(int api_id, string device_model, string system_version, string app_version, string system_lang_code, string lang_pack, string lang_code, ITLFunction query, InputClientProxy proxy = null, JSONValue params_ = null) => writer => { @@ -12291,9 +12292,10 @@ namespace TL return "InitConnection"; }; - /// Invoke the specified query using the specified API layer
See
+ /// Invoke the specified query using the specified API layer See /// The layer to use /// The query + /// Possible errors: 400,403 (details) public static Task InvokeWithLayer(this Client client, int layer, ITLFunction query) => client.CallAsync(writer => { @@ -12303,7 +12305,7 @@ namespace TL return "InvokeWithLayer"; }); - /// Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries).
See
+ /// Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries). See /// The query public static Task InvokeWithoutUpdates(this Client client, ITLFunction query) => client.CallAsync(writer => @@ -12313,7 +12315,7 @@ namespace TL return "InvokeWithoutUpdates"; }); - /// Invoke with the given message range
See
+ /// Invoke with the given message range See /// Message range /// Query public static Task InvokeWithMessagesRange(this Client client, MessageRange range, ITLFunction query) @@ -12325,7 +12327,7 @@ namespace TL return "InvokeWithMessagesRange"; }); - /// Invoke a method within a takeout session
See
+ /// Invoke a method within a takeout session See /// Takeout session ID /// Query public static Task InvokeWithTakeout(this Client client, long takeout_id, ITLFunction query) @@ -12337,11 +12339,12 @@ namespace TL return "InvokeWithTakeout"; }); - /// Send the verification code for login
See
+ /// Send the verification code for login See /// Phone number in international format /// Application identifier (see App configuration) /// Application secret hash (see App configuration) /// Settings for the code type to send + /// Possible errors: 303,400,401,406 (details) public static Task Auth_SendCode(this Client client, string phone_number, int api_id, string api_hash, CodeSettings settings) => client.CallAsync(writer => { @@ -12353,11 +12356,12 @@ namespace TL return "Auth_SendCode"; }); - /// Registers a validated phone number in the system.
See
+ /// Registers a validated phone number in the system. See /// Phone number in the international format /// SMS-message ID /// New user first name /// New user last name + /// Possible errors: 400 (details) public static Task Auth_SignUp(this Client client, string phone_number, string phone_code_hash, string first_name, string last_name) => client.CallAsync(writer => { @@ -12369,10 +12373,11 @@ namespace TL return "Auth_SignUp"; }); - /// Signs in a user with a validated phone number.
See
+ /// Signs in a user with a validated phone number. See /// Phone number in the international format /// SMS-message ID, obtained from auth.sendCode /// Valid numerical code from the SMS-message + /// Possible errors: 400 (details) public static Task Auth_SignIn(this Client client, string phone_number, string phone_code_hash, string phone_code) => client.CallAsync(writer => { @@ -12383,7 +12388,7 @@ namespace TL return "Auth_SignIn"; }); - /// Logs out the user.
See
+ /// Logs out the user. See public static Task Auth_LogOut(this Client client) => client.CallAsync(writer => { @@ -12391,7 +12396,8 @@ namespace TL return "Auth_LogOut"; }); - /// Terminates all user's authorized sessions except for the current one.
See
+ /// Terminates all user's authorized sessions except for the current one. See + /// Possible errors: 406 (details) public static Task Auth_ResetAuthorizations(this Client client) => client.CallAsync(writer => { @@ -12399,8 +12405,9 @@ namespace TL return "Auth_ResetAuthorizations"; }); - /// Returns data for copying authorization to another data-centre.
See
+ /// Returns data for copying authorization to another data-centre. See /// Number of a target data-centre + /// Possible errors: 400 (details) public static Task Auth_ExportAuthorization(this Client client, int dc_id) => client.CallAsync(writer => { @@ -12409,9 +12416,10 @@ namespace TL return "Auth_ExportAuthorization"; }); - /// Logs in a user using a key transmitted from his native data-centre.
See
+ /// Logs in a user using a key transmitted from his native data-centre. See /// User ID /// Authorization key + /// Possible errors: 400 (details) public static Task Auth_ImportAuthorization(this Client client, long id, byte[] bytes) => client.CallAsync(writer => { @@ -12421,11 +12429,12 @@ namespace TL return "Auth_ImportAuthorization"; }); - /// Binds a temporary authorization key temp_auth_key_id to the permanent authorization key perm_auth_key_id. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.
See
+ /// Binds a temporary authorization key temp_auth_key_id to the permanent authorization key perm_auth_key_id. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one. See /// Permanent auth_key_id to bind to /// Random long from Binding message contents /// Unix timestamp to invalidate temporary key, see Binding message contents /// See Generating encrypted_message + /// Possible errors: 400 (details) public static Task Auth_BindTempAuthKey(this Client client, long perm_auth_key_id, long nonce, DateTime expires_at, byte[] encrypted_message) => client.CallAsync(writer => { @@ -12437,10 +12446,11 @@ namespace TL return "Auth_BindTempAuthKey"; }); - /// Login as a bot
See
+ /// Login as a bot See /// Application identifier (see. App configuration) /// Application identifier hash (see. App configuration) /// Bot token (see bots) + /// Possible errors: 400,401 (details) public static Task Auth_ImportBotAuthorization(this Client client, int flags, int api_id, string api_hash, string bot_auth_token) => client.CallAsync(writer => { @@ -12452,8 +12462,9 @@ namespace TL return "Auth_ImportBotAuthorization"; }); - /// Try logging to an account protected by a 2FA password.
See
+ /// Try logging to an account protected by a 2FA password. See /// The account's password (see SRP) + /// Possible errors: 400 (details) public static Task Auth_CheckPassword(this Client client, InputCheckPasswordSRP password) => client.CallAsync(writer => { @@ -12462,7 +12473,8 @@ namespace TL return "Auth_CheckPassword"; }); - /// Request recovery code of a 2FA password, only for accounts with a recovery email configured.
See
+ /// Request recovery code of a 2FA password, only for accounts with a recovery email configured. See + /// Possible errors: 400 (details) public static Task Auth_RequestPasswordRecovery(this Client client) => client.CallAsync(writer => { @@ -12470,9 +12482,10 @@ namespace TL return "Auth_RequestPasswordRecovery"; }); - /// Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.
See
+ /// Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery. See /// Code received via email /// New password + /// Possible errors: 400 (details) public static Task Auth_RecoverPassword(this Client client, string code, Account_PasswordInputSettings new_settings = null) => client.CallAsync(writer => { @@ -12484,9 +12497,10 @@ namespace TL return "Auth_RecoverPassword"; }); - /// Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info.
See
+ /// Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info. See /// The phone number /// The phone code hash obtained from auth.sendCode + /// Possible errors: 400,406 (details) public static Task Auth_ResendCode(this Client client, string phone_number, string phone_code_hash) => client.CallAsync(writer => { @@ -12496,9 +12510,10 @@ namespace TL return "Auth_ResendCode"; }); - /// Cancel the login verification code
See
+ /// Cancel the login verification code See /// Phone number /// Phone code hash from auth.sendCode + /// Possible errors: 400 (details) public static Task Auth_CancelCode(this Client client, string phone_number, string phone_code_hash) => client.CallAsync(writer => { @@ -12508,7 +12523,7 @@ namespace TL return "Auth_CancelCode"; }); - /// Delete all temporary authorization keys except for the ones specified
See
+ /// Delete all temporary authorization keys except for the ones specified See /// The auth keys that shouldn't be dropped. public static Task Auth_DropTempAuthKeys(this Client client, long[] except_auth_keys) => client.CallAsync(writer => @@ -12518,10 +12533,11 @@ namespace TL return "Auth_DropTempAuthKeys"; }); - /// Generate a login token, for login via QR code.
The generated login token should be encoded using base64url, then shown as a tg://login?token=base64encodedtoken URL in the QR code.
See
+ /// Generate a login token, for login via QR code.
The generated login token should be encoded using base64url, then shown as a tg://login?token=base64encodedtoken URL in the QR code. See
/// Application identifier (see. App configuration) /// Application identifier hash (see. App configuration) /// List of already logged-in user IDs, to prevent logging in twice with the same user + /// Possible errors: 400 (details) public static Task Auth_ExportLoginToken(this Client client, int api_id, string api_hash, long[] except_ids) => client.CallAsync(writer => { @@ -12532,8 +12548,9 @@ namespace TL return "Auth_ExportLoginToken"; }); - /// Login using a redirected login token, generated in case of DC mismatch during QR code login.
See
+ /// Login using a redirected login token, generated in case of DC mismatch during QR code login. See /// Login token + /// Possible errors: 400 (details) public static Task Auth_ImportLoginToken(this Client client, byte[] token) => client.CallAsync(writer => { @@ -12542,8 +12559,9 @@ namespace TL return "Auth_ImportLoginToken"; }); - /// Accept QR code login token, logging in the app that generated it.
See
+ /// Accept QR code login token, logging in the app that generated it. See /// Login token embedded in QR code, for more info, see login via QR code. + /// Possible errors: 400 (details) public static Task Auth_AcceptLoginToken(this Client client, byte[] token) => client.CallAsync(writer => { @@ -12552,8 +12570,9 @@ namespace TL return "Auth_AcceptLoginToken"; }); - /// Check if the 2FA recovery code sent using auth.requestPasswordRecovery is valid, before passing it to auth.recoverPassword.
See
+ /// Check if the 2FA recovery code sent using auth.requestPasswordRecovery is valid, before passing it to auth.recoverPassword. See /// Code received via email + /// Possible errors: 400 (details) public static Task Auth_CheckRecoveryPassword(this Client client, string code) => client.CallAsync(writer => { @@ -12562,13 +12581,14 @@ namespace TL return "Auth_CheckRecoveryPassword"; }); - /// Register device to receive PUSH notifications
See
+ /// Register device to receive PUSH notifications See /// Avoid receiving (silent and invisible background) notifications. Useful to save battery. /// Device token type.
Possible values:
1 - APNS (device token for apple push)
2 - FCM (firebase token for google firebase)
3 - MPNS (channel URI for microsoft push)
4 - Simple push (endpoint for firefox's simple push API)
5 - Ubuntu phone (token for ubuntu push)
6 - Blackberry (token for blackberry push)
7 - Unused
8 - WNS (windows push)
9 - APNS VoIP (token for apple push VoIP)
10 - Web push (web push, see below)
11 - MPNS VoIP (token for microsoft push VoIP)
12 - Tizen (token for tizen push)

For 10 web push, the token must be a JSON-encoded object containing the keys described in
PUSH updates /// Device token /// If is transmitted, a sandbox-certificate will be used during transmission. /// For FCM and APNS VoIP, optional encryption key used to encrypt push notifications /// List of user identifiers of other users currently using the client + /// Possible errors: 400 (details) public static Task Account_RegisterDevice(this Client client, int token_type, string token, bool app_sandbox, byte[] secret, long[] other_uids, bool no_muted = false) => client.CallAsync(writer => { @@ -12582,10 +12602,11 @@ namespace TL return "Account_RegisterDevice"; }); - /// Deletes a device by its token, stops sending PUSH-notifications to it.
See
+ /// Deletes a device by its token, stops sending PUSH-notifications to it. See /// Device token type.
Possible values:
1 - APNS (device token for apple push)
2 - FCM (firebase token for google firebase)
3 - MPNS (channel URI for microsoft push)
4 - Simple push (endpoint for firefox's simple push API)
5 - Ubuntu phone (token for ubuntu push)
6 - Blackberry (token for blackberry push)
7 - Unused
8 - WNS (windows push)
9 - APNS VoIP (token for apple push VoIP)
10 - Web push (web push, see below)
11 - MPNS VoIP (token for microsoft push VoIP)
12 - Tizen (token for tizen push)

For 10 web push, the token must be a JSON-encoded object containing the keys described in
PUSH updates /// Device token /// List of user identifiers of other users currently using the client + /// Possible errors: 400 (details) public static Task Account_UnregisterDevice(this Client client, int token_type, string token, long[] other_uids) => client.CallAsync(writer => { @@ -12596,9 +12617,10 @@ namespace TL return "Account_UnregisterDevice"; }); - /// Edits notification settings from a given user/group, from all users/all groups.
See
+ /// Edits notification settings from a given user/group, from all users/all groups. See /// Notification source /// Notification settings + /// Possible errors: 400 (details) public static Task Account_UpdateNotifySettings(this Client client, InputNotifyPeerBase peer, InputPeerNotifySettings settings) => client.CallAsync(writer => { @@ -12608,8 +12630,9 @@ namespace TL return "Account_UpdateNotifySettings"; }); - /// Gets current notification settings for a given user/group, from all users/all groups.
See
+ /// Gets current notification settings for a given user/group, from all users/all groups. See /// Notification source + /// Possible errors: 400 (details) public static Task Account_GetNotifySettings(this Client client, InputNotifyPeerBase peer) => client.CallAsync(writer => { @@ -12618,7 +12641,7 @@ namespace TL return "Account_GetNotifySettings"; }); - /// Resets all notification settings from users and groups.
See
+ /// Resets all notification settings from users and groups. See public static Task Account_ResetNotifySettings(this Client client) => client.CallAsync(writer => { @@ -12626,10 +12649,11 @@ namespace TL return "Account_ResetNotifySettings"; }); - /// Updates user profile.
See
+ /// Updates user profile. See /// New user first name /// New user last name /// New bio + /// Possible errors: 400 (details) public static Task Account_UpdateProfile(this Client client, string first_name = null, string last_name = null, string about = null) => client.CallAsync(writer => { @@ -12644,7 +12668,7 @@ namespace TL return "Account_UpdateProfile"; }); - /// Updates online user status.
See
+ /// Updates online user status. See /// If is transmitted, user status will change to . public static Task Account_UpdateStatus(this Client client, bool offline) => client.CallAsync(writer => @@ -12654,7 +12678,7 @@ namespace TL return "Account_UpdateStatus"; }); - /// Returns a list of available wallpapers.
See
+ /// Returns a list of available wallpapers. See /// Hash for pagination, for more info click here /// a null value means account.wallPapersNotModified public static Task Account_GetWallPapers(this Client client, long hash) @@ -12665,10 +12689,11 @@ namespace TL return "Account_GetWallPapers"; }); - /// Report a peer for violation of telegram's Terms of Service
See
+ /// Report a peer for violation of telegram's Terms of Service See /// The peer to report /// The reason why this peer is being reported /// Comment for report moderation + /// Possible errors: 400 (details) public static Task Account_ReportPeer(this Client client, InputPeer peer, ReportReason reason, string message) => client.CallAsync(writer => { @@ -12679,8 +12704,9 @@ namespace TL return "Account_ReportPeer"; }); - /// Validates a username and checks availability.
See
+ /// Validates a username and checks availability. See /// username
Accepted characters: A-z (case-insensitive), 0-9 and underscores.
Length: 5-32 characters. + /// Possible errors: 400 (
details) public static Task Account_CheckUsername(this Client client, string username) => client.CallAsync(writer => { @@ -12689,8 +12715,9 @@ namespace TL return "Account_CheckUsername"; }); - /// Changes username for the current user.
See
+ /// Changes username for the current user. See /// username or empty string if username is to be removed
Accepted characters: a-z (case-insensitive), 0-9 and underscores.
Length: 5-32 characters. + /// Possible errors: 400,401 (
details) public static Task Account_UpdateUsername(this Client client, string username) => client.CallAsync(writer => { @@ -12699,8 +12726,9 @@ namespace TL return "Account_UpdateUsername"; }); - /// Get privacy settings of current account
See
+ /// Get privacy settings of current account See /// Peer category whose privacy settings should be fetched + /// Possible errors: 400 (details) public static Task Account_GetPrivacy(this Client client, InputPrivacyKey key) => client.CallAsync(writer => { @@ -12709,9 +12737,10 @@ namespace TL return "Account_GetPrivacy"; }); - /// Change privacy settings of current account
See
+ /// Change privacy settings of current account See /// Peers to which the privacy rules apply /// New privacy rules + /// Possible errors: 400 (details) public static Task Account_SetPrivacy(this Client client, InputPrivacyKey key, InputPrivacyRule[] rules) => client.CallAsync(writer => { @@ -12721,8 +12750,9 @@ namespace TL return "Account_SetPrivacy"; }); - /// Delete the user's account from the telegram servers. Can be used, for example, to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured.
See
+ /// Delete the user's account from the telegram servers. Can be used, for example, to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured. See /// Why is the account being deleted, can be empty + /// Possible errors: 420 (details) public static Task Account_DeleteAccount(this Client client, string reason) => client.CallAsync(writer => { @@ -12731,7 +12761,7 @@ namespace TL return "Account_DeleteAccount"; }); - /// Get days to live of account
See
+ /// Get days to live of account See public static Task Account_GetAccountTTL(this Client client) => client.CallAsync(writer => { @@ -12739,8 +12769,9 @@ namespace TL return "Account_GetAccountTTL"; }); - /// Set account self-destruction period
See
+ /// Set account self-destruction period See /// Time to live in days + /// Possible errors: 400 (details) public static Task Account_SetAccountTTL(this Client client, AccountDaysTTL ttl) => client.CallAsync(writer => { @@ -12749,9 +12780,10 @@ namespace TL return "Account_SetAccountTTL"; }); - /// Verify a new phone number to associate to the current account
See
+ /// Verify a new phone number to associate to the current account See /// New phone number /// Phone code settings + /// Possible errors: 400,406 (details) public static Task Account_SendChangePhoneCode(this Client client, string phone_number, CodeSettings settings) => client.CallAsync(writer => { @@ -12761,10 +12793,11 @@ namespace TL return "Account_SendChangePhoneCode"; }); - /// Change the phone number of the current account
See
+ /// Change the phone number of the current account See /// New phone number /// Phone code hash received when calling account.sendChangePhoneCode /// Phone code received when calling account.sendChangePhoneCode + /// Possible errors: 400 (details) public static Task Account_ChangePhone(this Client client, string phone_number, string phone_code_hash, string phone_code) => client.CallAsync(writer => { @@ -12775,7 +12808,7 @@ namespace TL return "Account_ChangePhone"; }); - /// When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications.
See
+ /// When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications. See /// Inactivity period after which to start hiding message texts in PUSH notifications. public static Task Account_UpdateDeviceLocked(this Client client, int period) => client.CallAsync(writer => @@ -12785,7 +12818,7 @@ namespace TL return "Account_UpdateDeviceLocked"; }); - /// Get logged-in sessions
See
+ /// Get logged-in sessions See public static Task Account_GetAuthorizations(this Client client) => client.CallAsync(writer => { @@ -12793,8 +12826,9 @@ namespace TL return "Account_GetAuthorizations"; }); - /// Log out an active authorized session by its hash
See
+ /// Log out an active authorized session by its hash See /// Session hash + /// Possible errors: 400,406 (details) public static Task Account_ResetAuthorization(this Client client, long hash) => client.CallAsync(writer => { @@ -12803,7 +12837,7 @@ namespace TL return "Account_ResetAuthorization"; }); - /// Obtain configuration for two-factor authorization with password
See
+ /// Obtain configuration for two-factor authorization with password See public static Task Account_GetPassword(this Client client) => client.CallAsync(writer => { @@ -12811,8 +12845,9 @@ namespace TL return "Account_GetPassword"; }); - /// Get private info associated to the password info (recovery email, telegram passport info & so on)
See
+ /// Get private info associated to the password info (recovery email, telegram passport info & so on) See /// The password (see SRP) + /// Possible errors: 400 (details) public static Task Account_GetPasswordSettings(this Client client, InputCheckPasswordSRP password) => client.CallAsync(writer => { @@ -12821,9 +12856,10 @@ namespace TL return "Account_GetPasswordSettings"; }); - /// Set a new 2FA password
See
+ /// Set a new 2FA password See /// The old password (see SRP) /// The new password (see SRP) + /// Possible errors: 400 (details) public static Task Account_UpdatePasswordSettings(this Client client, InputCheckPasswordSRP password, Account_PasswordInputSettings new_settings) => client.CallAsync(writer => { @@ -12833,9 +12869,10 @@ namespace TL return "Account_UpdatePasswordSettings"; }); - /// Send confirmation code to cancel account deletion, for more info click here »
See
+ /// Send confirmation code to cancel account deletion, for more info click here » See /// The hash from the service notification, for more info click here » /// Phone code settings + /// Possible errors: 400 (details) public static Task Account_SendConfirmPhoneCode(this Client client, string hash, CodeSettings settings) => client.CallAsync(writer => { @@ -12845,9 +12882,10 @@ namespace TL return "Account_SendConfirmPhoneCode"; }); - /// Confirm a phone number to cancel account deletion, for more info click here »
See
+ /// Confirm a phone number to cancel account deletion, for more info click here » See /// Phone code hash, for more info click here » /// SMS code, for more info click here » + /// Possible errors: 400 (details) public static Task Account_ConfirmPhone(this Client client, string phone_code_hash, string phone_code) => client.CallAsync(writer => { @@ -12857,9 +12895,10 @@ namespace TL return "Account_ConfirmPhone"; }); - /// Get temporary payment password
See
+ /// Get temporary payment password See /// SRP password parameters /// Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 + /// Possible errors: 400 (details) public static Task Account_GetTmpPassword(this Client client, InputCheckPasswordSRP password, int period) => client.CallAsync(writer => { @@ -12869,7 +12908,7 @@ namespace TL return "Account_GetTmpPassword"; }); - /// Get web login widget authorizations
See
+ /// Get web login widget authorizations See public static Task Account_GetWebAuthorizations(this Client client) => client.CallAsync(writer => { @@ -12877,8 +12916,9 @@ namespace TL return "Account_GetWebAuthorizations"; }); - /// Log out an active web telegram login session
See
+ /// Log out an active web telegram login session See /// hash + /// Possible errors: 400 (details) public static Task Account_ResetWebAuthorization(this Client client, long hash) => client.CallAsync(writer => { @@ -12887,7 +12927,7 @@ namespace TL return "Account_ResetWebAuthorization"; }); - /// Reset all active web telegram login sessions
See
+ /// Reset all active web telegram login sessions See public static Task Account_ResetWebAuthorizations(this Client client) => client.CallAsync(writer => { @@ -12895,7 +12935,7 @@ namespace TL return "Account_ResetWebAuthorizations"; }); - /// Get all saved Telegram Passport documents, for more info see the passport docs »
See
+ /// Get all saved Telegram Passport documents, for more info see the passport docs » See public static Task Account_GetAllSecureValues(this Client client) => client.CallAsync(writer => { @@ -12903,7 +12943,7 @@ namespace TL return "Account_GetAllSecureValues"; }); - /// Get saved Telegram Passport document, for more info see the passport docs »
See
+ /// Get saved Telegram Passport document, for more info see the passport docs » See /// Requested value types public static Task Account_GetSecureValue(this Client client, SecureValueType[] types) => client.CallAsync(writer => @@ -12913,9 +12953,10 @@ namespace TL return "Account_GetSecureValue"; }); - /// Securely save Telegram Passport document, for more info see the passport docs »
See
+ /// Securely save Telegram Passport document, for more info see the passport docs » See /// Secure value, for more info see the passport docs » /// Passport secret hash, for more info see the passport docs » + /// Possible errors: 400 (details) public static Task Account_SaveSecureValue(this Client client, InputSecureValue value, long secure_secret_id) => client.CallAsync(writer => { @@ -12925,7 +12966,7 @@ namespace TL return "Account_SaveSecureValue"; }); - /// Delete stored Telegram Passport documents, for more info see the passport docs »
See
+ /// Delete stored Telegram Passport documents, for more info see the passport docs » See /// Document types to delete public static Task Account_DeleteSecureValue(this Client client, SecureValueType[] types) => client.CallAsync(writer => @@ -12935,10 +12976,11 @@ namespace TL return "Account_DeleteSecureValue"; }); - /// Returns a Telegram Passport authorization form for sharing data with a service
See
+ /// Returns a Telegram Passport authorization form for sharing data with a service See /// User identifier of the service's bot /// Telegram Passport element types requested by the service /// Service's public key + /// Possible errors: 400 (details) public static Task Account_GetAuthorizationForm(this Client client, long bot_id, string scope, string public_key) => client.CallAsync(writer => { @@ -12949,7 +12991,7 @@ namespace TL return "Account_GetAuthorizationForm"; }); - /// Sends a Telegram Passport authorization form, effectively sharing data with the service
See
+ /// Sends a Telegram Passport authorization form, effectively sharing data with the service See /// Bot ID /// Telegram Passport element types requested by the service /// Service's public key @@ -12967,9 +13009,10 @@ namespace TL return "Account_AcceptAuthorization"; }); - /// Send the verification phone code for telegram passport.
See
+ /// Send the verification phone code for telegram passport. See /// The phone number to verify /// Phone code settings + /// Possible errors: 400 (details) public static Task Account_SendVerifyPhoneCode(this Client client, string phone_number, CodeSettings settings) => client.CallAsync(writer => { @@ -12979,10 +13022,11 @@ namespace TL return "Account_SendVerifyPhoneCode"; }); - /// Verify a phone number for telegram passport.
See
+ /// Verify a phone number for telegram passport. See /// Phone number /// Phone code hash received from the call to account.sendVerifyPhoneCode /// Code received after the call to account.sendVerifyPhoneCode + /// Possible errors: 400 (details) public static Task Account_VerifyPhone(this Client client, string phone_number, string phone_code_hash, string phone_code) => client.CallAsync(writer => { @@ -12993,8 +13037,9 @@ namespace TL return "Account_VerifyPhone"; }); - /// Send the verification email code for telegram passport.
See
+ /// Send the verification email code for telegram passport. See /// The email where to send the code + /// Possible errors: 400 (details) public static Task Account_SendVerifyEmailCode(this Client client, string email) => client.CallAsync(writer => { @@ -13003,9 +13048,10 @@ namespace TL return "Account_SendVerifyEmailCode"; }); - /// Verify an email address for telegram passport.
See
+ /// Verify an email address for telegram passport. See /// The email to verify /// The verification code that was received + /// Possible errors: 400 (details) public static Task Account_VerifyEmail(this Client client, string email, string code) => client.CallAsync(writer => { @@ -13015,7 +13061,7 @@ namespace TL return "Account_VerifyEmail"; }); - /// Initialize account takeout session
See
+ /// Initialize account takeout session See /// Whether to export contacts /// Whether to export messages in private chats /// Whether to export messages in legacy groups @@ -13023,6 +13069,7 @@ namespace TL /// Whether to export messages in channels /// Whether to export files /// Maximum size of files to export + /// Possible errors: 420 (details) public static Task Account_InitTakeoutSession(this Client client, bool contacts = false, bool message_users = false, bool message_chats = false, bool message_megagroups = false, bool message_channels = false, bool files = false, int? file_max_size = null) => client.CallAsync(writer => { @@ -13033,8 +13080,9 @@ namespace TL return "Account_InitTakeoutSession"; }); - /// Finish account takeout session
See
+ /// Finish account takeout session See /// Data exported successfully + /// Possible errors: 403 (details) public static Task Account_FinishTakeoutSession(this Client client, bool success = false) => client.CallAsync(writer => { @@ -13043,8 +13091,9 @@ namespace TL return "Account_FinishTakeoutSession"; }); - /// Verify an email to use as 2FA recovery method.
See
+ /// Verify an email to use as 2FA recovery method. See /// The phone code that was received after setting a recovery email + /// Possible errors: 400 (details) public static Task Account_ConfirmPasswordEmail(this Client client, string code) => client.CallAsync(writer => { @@ -13053,7 +13102,7 @@ namespace TL return "Account_ConfirmPasswordEmail"; }); - /// Resend the code to verify an email to use as 2FA recovery method.
See
+ /// Resend the code to verify an email to use as 2FA recovery method. See public static Task Account_ResendPasswordEmail(this Client client) => client.CallAsync(writer => { @@ -13061,7 +13110,7 @@ namespace TL return "Account_ResendPasswordEmail"; }); - /// Cancel the code that was sent to verify an email to use as 2FA recovery method.
See
+ /// Cancel the code that was sent to verify an email to use as 2FA recovery method. See public static Task Account_CancelPasswordEmail(this Client client) => client.CallAsync(writer => { @@ -13069,7 +13118,7 @@ namespace TL return "Account_CancelPasswordEmail"; }); - /// Whether the user will receive notifications when contacts sign up
See
+ /// Whether the user will receive notifications when contacts sign up See public static Task Account_GetContactSignUpNotification(this Client client) => client.CallAsync(writer => { @@ -13077,7 +13126,7 @@ namespace TL return "Account_GetContactSignUpNotification"; }); - /// Toggle contact sign up notifications
See
+ /// Toggle contact sign up notifications See /// Whether to disable contact sign up notifications public static Task Account_SetContactSignUpNotification(this Client client, bool silent) => client.CallAsync(writer => @@ -13087,7 +13136,7 @@ namespace TL return "Account_SetContactSignUpNotification"; }); - /// Returns list of chats with non-default notification settings
See
+ /// Returns list of chats with non-default notification settings See /// If true, chats with non-default sound will also be returned /// If specified, only chats of the specified category will be returned public static Task Account_GetNotifyExceptions(this Client client, bool compare_sound = false, InputNotifyPeerBase peer = null) @@ -13100,8 +13149,9 @@ namespace TL return "Account_GetNotifyExceptions"; }); - /// Get info about a certain wallpaper
See
+ /// Get info about a certain wallpaper See /// The wallpaper to get info about + /// Possible errors: 400 (details) public static Task Account_GetWallPaper(this Client client, InputWallPaperBase wallpaper) => client.CallAsync(writer => { @@ -13110,10 +13160,11 @@ namespace TL return "Account_GetWallPaper"; }); - /// Create and upload a new wallpaper
See
+ /// Create and upload a new wallpaper See /// The JPG/PNG wallpaper /// MIME type of uploaded wallpaper /// Wallpaper settings + /// Possible errors: 400 (details) public static Task Account_UploadWallPaper(this Client client, InputFileBase file, string mime_type, WallPaperSettings settings) => client.CallAsync(writer => { @@ -13124,10 +13175,11 @@ namespace TL return "Account_UploadWallPaper"; }); - /// Install/uninstall wallpaper
See
+ /// Install/uninstall wallpaper See /// Wallpaper to save /// Uninstall wallpaper? /// Wallpaper settings + /// Possible errors: 400 (details) public static Task Account_SaveWallPaper(this Client client, InputWallPaperBase wallpaper, bool unsave, WallPaperSettings settings) => client.CallAsync(writer => { @@ -13138,9 +13190,10 @@ namespace TL return "Account_SaveWallPaper"; }); - /// Install wallpaper
See
+ /// Install wallpaper See /// Wallpaper to install /// Wallpaper settings + /// Possible errors: 400 (details) public static Task Account_InstallWallPaper(this Client client, InputWallPaperBase wallpaper, WallPaperSettings settings) => client.CallAsync(writer => { @@ -13150,7 +13203,7 @@ namespace TL return "Account_InstallWallPaper"; }); - /// Delete installed wallpapers
See
+ /// Delete installed wallpapers See public static Task Account_ResetWallPapers(this Client client) => client.CallAsync(writer => { @@ -13158,7 +13211,7 @@ namespace TL return "Account_ResetWallPapers"; }); - /// Get media autodownload settings
See
+ /// Get media autodownload settings See public static Task Account_GetAutoDownloadSettings(this Client client) => client.CallAsync(writer => { @@ -13166,7 +13219,7 @@ namespace TL return "Account_GetAutoDownloadSettings"; }); - /// Change media autodownload settings
See
+ /// 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 /// Media autodownload settings @@ -13179,11 +13232,12 @@ namespace TL return "Account_SaveAutoDownloadSettings"; }); - /// Upload theme
See
+ /// Upload theme See /// Theme file uploaded as described in files » /// Thumbnail /// File name /// MIME type, must be application/x-tgtheme-{format}, where format depends on the client + /// Possible errors: 400 (details) public static Task Account_UploadTheme(this Client client, InputFileBase file, string file_name, string mime_type, InputFileBase thumb = null) => client.CallAsync(writer => { @@ -13197,11 +13251,12 @@ namespace TL return "Account_UploadTheme"; }); - /// Create a theme
See
+ /// Create a theme See /// Unique theme ID /// Theme name /// Theme file /// Theme settings + /// Possible errors: 400 (details) public static Task Account_CreateTheme(this Client client, string slug, string title, InputDocument document = null, InputThemeSettings[] settings = null) => client.CallAsync(writer => { @@ -13216,13 +13271,14 @@ namespace TL return "Account_CreateTheme"; }); - /// Update theme
See
+ /// Update theme See /// Theme format, a string that identifies the theming engines supported by the client /// Theme to update /// Unique theme ID /// Theme name /// Theme file /// Theme settings + /// Possible errors: 400 (details) public static Task Account_UpdateTheme(this Client client, string format, InputThemeBase theme, string slug = null, string title = null, InputDocument document = null, InputThemeSettings[] settings = null) => client.CallAsync(writer => { @@ -13241,7 +13297,7 @@ namespace TL return "Account_UpdateTheme"; }); - /// Save a theme
See
+ /// Save a theme See /// Theme to save /// Unsave public static Task Account_SaveTheme(this Client client, InputThemeBase theme, bool unsave) @@ -13253,7 +13309,7 @@ namespace TL return "Account_SaveTheme"; }); - /// Install a theme
See
+ /// 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 @@ -13271,10 +13327,11 @@ namespace TL return "Account_InstallTheme"; }); - /// Get theme information
See
+ /// Get theme information See /// Theme format, a string that identifies the theming engines supported by the client /// Theme /// Document ID + /// Possible errors: 400 (details) public static Task Account_GetTheme(this Client client, string format, InputThemeBase theme, long document_id) => client.CallAsync(writer => { @@ -13285,7 +13342,7 @@ namespace TL return "Account_GetTheme"; }); - /// Get installed themes
See
+ /// Get installed themes See /// Theme format, a string that identifies the theming engines supported by the client /// Hash for pagination, for more info click here /// a null value means account.themesNotModified @@ -13298,8 +13355,9 @@ namespace TL return "Account_GetThemes"; }); - /// Set sensitive content settings (for viewing or hiding NSFW content)
See
+ /// Set sensitive content settings (for viewing or hiding NSFW content) See /// Enable NSFW content + /// Possible errors: 403 (details) public static Task Account_SetContentSettings(this Client client, bool sensitive_enabled = false) => client.CallAsync(writer => { @@ -13308,7 +13366,7 @@ namespace TL return "Account_SetContentSettings"; }); - /// Get sensitive content settings
See
+ /// Get sensitive content settings See public static Task Account_GetContentSettings(this Client client) => client.CallAsync(writer => { @@ -13316,7 +13374,7 @@ namespace TL return "Account_GetContentSettings"; }); - /// Get info about multiple wallpapers
See
+ /// Get info about multiple wallpapers See /// Wallpapers to fetch info about public static Task Account_GetMultiWallPapers(this Client client, InputWallPaperBase[] wallpapers) => client.CallAsync(writer => @@ -13326,7 +13384,7 @@ namespace TL return "Account_GetMultiWallPapers"; }); - /// Get global privacy settings
See
+ /// Get global privacy settings See public static Task Account_GetGlobalPrivacySettings(this Client client) => client.CallAsync(writer => { @@ -13334,8 +13392,9 @@ namespace TL return "Account_GetGlobalPrivacySettings"; }); - /// Set global privacy settings
See
+ /// Set global privacy settings See /// Global privacy settings + /// Possible errors: 400 (details) public static Task Account_SetGlobalPrivacySettings(this Client client, GlobalPrivacySettings settings) => client.CallAsync(writer => { @@ -13344,7 +13403,7 @@ namespace TL return "Account_SetGlobalPrivacySettings"; }); - /// Report a profile photo of a dialog
See
+ /// Report a profile photo of a dialog See /// The dialog /// Dialog photo ID /// Report reason @@ -13360,7 +13419,7 @@ namespace TL return "Account_ReportProfilePhoto"; }); - /// Initiate a 2FA password reset: can only be used if the user is already logged-in, see here for more info »
See
+ /// Initiate a 2FA password reset: can only be used if the user is already logged-in, see here for more info » See public static Task Account_ResetPassword(this Client client) => client.CallAsync(writer => { @@ -13368,7 +13427,8 @@ namespace TL return "Account_ResetPassword"; }); - /// Abort a pending 2FA password reset, see here for more info »
See
+ /// Abort a pending 2FA password reset, see here for more info » See + /// Possible errors: 400 (details) public static Task Account_DeclinePasswordReset(this Client client) => client.CallAsync(writer => { @@ -13376,7 +13436,7 @@ namespace TL return "Account_DeclinePasswordReset"; }); - /// Get all available chat themes
See
+ /// Get all available chat themes See /// Hash for pagination, for more info click here /// a null value means account.themesNotModified public static Task Account_GetChatThemes(this Client client, long hash) @@ -13387,8 +13447,9 @@ namespace TL return "Account_GetChatThemes"; }); - /// Returns basic user info according to their identifiers.
See
+ /// Returns basic user info according to their identifiers. See /// List of user identifiers + /// Possible errors: 400,401 (details) public static Task Users_GetUsers(this Client client, InputUserBase[] id) => client.CallAsync(writer => { @@ -13397,8 +13458,9 @@ namespace TL return "Users_GetUsers"; }); - /// Returns extended user info by ID.
See
+ /// Returns extended user info by ID. See /// User ID + /// Possible errors: 400 (details) public static Task Users_GetFullUser(this Client client, InputUserBase id) => client.CallAsync(writer => { @@ -13407,9 +13469,10 @@ namespace TL return "Users_GetFullUser"; }); - /// Notify the user that the sent passport data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change).
See
+ /// Notify the user that the sent passport data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change). See /// The user /// Errors + /// Possible errors: 400 (details) public static Task Users_SetSecureValueErrors(this Client client, InputUserBase id, SecureValueErrorBase[] errors) => client.CallAsync(writer => { @@ -13419,7 +13482,7 @@ namespace TL return "Users_SetSecureValueErrors"; }); - /// Get contact by telegram IDs
See
+ /// Get contact by telegram IDs See /// Hash for pagination, for more info click here public static Task Contacts_GetContactIDs(this Client client, long hash) => client.CallAsync(writer => @@ -13429,7 +13492,7 @@ namespace TL return "Contacts_GetContactIDs"; }); - /// Returns the list of contact statuses.
See
+ /// Returns the list of contact statuses. See public static Task Contacts_GetStatuses(this Client client) => client.CallAsync(writer => { @@ -13437,7 +13500,7 @@ namespace TL return "Contacts_GetStatuses"; }); - /// Returns the current user's contact list.
See
+ /// Returns the current user's contact list. See /// If there already is a full contact list on the client, a hash of a the list of contact IDs in ascending order may be passed in this parameter. If the contact set was not changed, will be returned. /// a null value means contacts.contactsNotModified public static Task Contacts_GetContacts(this Client client, long hash) @@ -13448,7 +13511,7 @@ namespace TL return "Contacts_GetContacts"; }); - /// Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.
See
+ /// Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info. See /// List of contacts to import public static Task Contacts_ImportContacts(this Client client, InputContact[] contacts) => client.CallAsync(writer => @@ -13458,7 +13521,7 @@ namespace TL return "Contacts_ImportContacts"; }); - /// Deletes several contacts from the list.
See
+ /// Deletes several contacts from the list. See /// User ID list public static Task Contacts_DeleteContacts(this Client client, InputUserBase[] id) => client.CallAsync(writer => @@ -13468,7 +13531,7 @@ namespace TL return "Contacts_DeleteContacts"; }); - /// Delete contacts by phone number
See
+ /// Delete contacts by phone number See /// Phone numbers public static Task Contacts_DeleteByPhones(this Client client, string[] phones) => client.CallAsync(writer => @@ -13478,8 +13541,9 @@ namespace TL return "Contacts_DeleteByPhones"; }); - /// Adds the user to the blacklist.
See
+ /// Adds the user to the blacklist. See /// User ID + /// Possible errors: 400 (details) public static Task Contacts_Block(this Client client, InputPeer id) => client.CallAsync(writer => { @@ -13488,8 +13552,9 @@ namespace TL return "Contacts_Block"; }); - /// Deletes the user from the blacklist.
See
+ /// Deletes the user from the blacklist. See /// User ID + /// Possible errors: 400 (details) public static Task Contacts_Unblock(this Client client, InputPeer id) => client.CallAsync(writer => { @@ -13498,7 +13563,7 @@ namespace TL return "Contacts_Unblock"; }); - /// Returns the list of blocked users.
See
+ /// Returns the list of blocked users. See /// The number of list elements to be skipped /// The number of list elements to be returned public static Task Contacts_GetBlocked(this Client client, int offset, int limit) @@ -13510,9 +13575,10 @@ namespace TL return "Contacts_GetBlocked"; }); - /// Returns users found by username substring.
See
+ /// Returns users found by username substring. See /// Target substring /// Maximum number of users to be returned + /// Possible errors: 400 (details) public static Task Contacts_Search(this Client client, string q, int limit) => client.CallAsync(writer => { @@ -13522,8 +13588,9 @@ namespace TL return "Contacts_Search"; }); - /// Resolve a @username to get peer info
See
+ /// Resolve a @username to get peer info See /// @username to resolve + /// Possible errors: 400,401 (details) public static Task Contacts_ResolveUsername(this Client client, string username) => client.CallAsync(writer => { @@ -13532,7 +13599,7 @@ namespace TL return "Contacts_ResolveUsername"; }); - /// Get most used peers
See
+ /// Get most used peers See /// Users we've chatted most frequently with /// Most used bots /// Most used inline bots @@ -13545,6 +13612,7 @@ namespace TL /// Maximum number of results to return, see pagination /// Hash for pagination, for more info click here /// a null value means contacts.topPeersNotModified + /// Possible errors: 400 (details) public static Task Contacts_GetTopPeers(this Client client, int offset, int limit, long hash, bool correspondents = false, bool bots_pm = false, bool bots_inline = false, bool phone_calls = false, bool forward_users = false, bool forward_chats = false, bool groups = false, bool channels = false) => client.CallAsync(writer => { @@ -13556,9 +13624,10 @@ namespace TL return "Contacts_GetTopPeers"; }); - /// Reset rating of top peer
See
+ /// Reset rating of top peer See /// Top peer category /// Peer whose rating should be reset + /// Possible errors: 400 (details) public static Task Contacts_ResetTopPeerRating(this Client client, TopPeerCategory category, InputPeer peer) => client.CallAsync(writer => { @@ -13568,7 +13637,7 @@ namespace TL return "Contacts_ResetTopPeerRating"; }); - /// Delete saved contacts
See
+ /// Delete saved contacts See public static Task Contacts_ResetSaved(this Client client) => client.CallAsync(writer => { @@ -13576,7 +13645,8 @@ namespace TL return "Contacts_ResetSaved"; }); - /// Get all contacts
See
+ /// Get all contacts See + /// Possible errors: 403 (details) public static Task Contacts_GetSaved(this Client client) => client.CallAsync(writer => { @@ -13584,7 +13654,7 @@ namespace TL return "Contacts_GetSaved"; }); - /// Enable/disable top peers
See
+ /// Enable/disable top peers See /// Enable/disable public static Task Contacts_ToggleTopPeers(this Client client, bool enabled) => client.CallAsync(writer => @@ -13594,12 +13664,13 @@ namespace TL return "Contacts_ToggleTopPeers"; }); - /// Add an existing telegram user as contact.
See
+ /// Add an existing telegram user as contact. See /// Allow the other user to see our phone number? /// Telegram ID of the other user /// First name /// Last name /// User's phone number + /// Possible errors: 400 (details) public static Task Contacts_AddContact(this Client client, InputUserBase id, string first_name, string last_name, string phone, bool add_phone_privacy_exception = false) => client.CallAsync(writer => { @@ -13612,8 +13683,9 @@ namespace TL return "Contacts_AddContact"; }); - /// If the of a new user allow us to add him as contact, add that user as contact
See
+ /// If the of a new user allow us to add him as contact, add that user as contact See /// The user to add as contact + /// Possible errors: 400 (details) public static Task Contacts_AcceptContact(this Client client, InputUserBase id) => client.CallAsync(writer => { @@ -13622,10 +13694,11 @@ namespace TL return "Contacts_AcceptContact"; }); - /// Get contacts near you
See
+ /// Get contacts near you See /// While the geolocation of the current user is public, clients should update it in the background every half-an-hour or so, while setting this flag.
Do this only if the new location is more than 1 KM away from the previous one, or if the previous location is unknown. /// Geolocation /// If set, the geolocation of the current user will be public for the specified number of seconds; pass 0x7fffffff to disable expiry, 0 to make the current geolocation private; if the flag isn't set, no changes will be applied. + /// Possible errors: 400,406 (
details) public static Task Contacts_GetLocated(this Client client, InputGeoPoint geo_point, bool background = false, int? self_expires = null) => client.CallAsync(writer => { @@ -13637,7 +13710,7 @@ namespace TL return "Contacts_GetLocated"; }); - /// Stop getting notifications about thread replies of a certain user in @replies
See
+ /// Stop getting notifications about thread replies of a certain user in @replies See /// Whether to delete the specified message as well /// Whether to delete all @replies messages from this user as well /// Whether to also report this user for spam @@ -13651,7 +13724,7 @@ namespace TL return "Contacts_BlockFromReplies"; }); - /// Returns the list of messages by their IDs.
See
+ /// Returns the list of messages by their IDs. See /// Message ID list public static Task Messages_GetMessages(this Client client, InputMessage[] id) => client.CallAsync(writer => @@ -13661,7 +13734,7 @@ namespace TL return "Messages_GetMessages"; }); - /// Returns the current user dialog list.
See
+ /// Returns the current user dialog list. See /// Exclude pinned dialogs /// Peer folder ID, for more info click here /// Offsets for pagination, for more info click here @@ -13669,6 +13742,7 @@ namespace TL /// Offset peer for pagination /// Number of list elements to be returned /// Hash for pagination, for more info click here + /// Possible errors: 400 (details) public static Task Messages_GetDialogs(this Client client, DateTime offset_date, int offset_id, InputPeer offset_peer, int limit, long hash, bool exclude_pinned = false, int? folder_id = null) => client.CallAsync(writer => { @@ -13684,7 +13758,7 @@ namespace TL return "Messages_GetDialogs"; }); - /// Gets back the conversation history with one interlocutor / within a chat
See
+ /// Gets back the conversation history with one interlocutor / within a chat See /// Target peer /// Only return messages starting from the specified message ID /// Only return messages sent before the specified date @@ -13693,6 +13767,7 @@ namespace TL /// If a positive value was transferred, the method will return only messages with IDs less than max_id /// If a positive value was transferred, the method will return only messages with IDs more than min_id /// Result hash + /// Possible errors: 400,401 (details) public static Task Messages_GetHistory(this Client client, InputPeer peer, int offset_id, DateTime offset_date, int add_offset, int limit, int max_id, int min_id, long hash) => client.CallAsync(writer => { @@ -13708,7 +13783,7 @@ namespace TL return "Messages_GetHistory"; }); - /// Gets back found messages
See
+ /// Gets back found messages See /// User or chat, histories with which are searched, or constructor for global search /// Text search request /// Only return messages sent by the specified user ID @@ -13722,6 +13797,7 @@ namespace TL /// Maximum message ID to return /// Minimum message ID to return /// Hash + /// Possible errors: 400 (details) public static Task Messages_Search(this Client client, InputPeer peer, string q, MessagesFilter filter, DateTime min_date, DateTime max_date, int offset_id, int add_offset, int limit, int max_id, int min_id, long hash, InputPeer from_id = null, int? top_msg_id = null) => client.CallAsync(writer => { @@ -13745,9 +13821,10 @@ namespace TL return "Messages_Search"; }); - /// Marks message history as read.
See
+ /// Marks message history as read. See /// Target user or group /// If a positive value is passed, only messages with identifiers less or equal than the given one will be read + /// Possible errors: 400 (details) public static Task Messages_ReadHistory(this Client client, InputPeer peer, int max_id) => client.CallAsync(writer => { @@ -13757,11 +13834,12 @@ namespace TL return "Messages_ReadHistory"; }); - /// Deletes communication history.
See
+ /// Deletes communication history. See /// Just clear history for the current user, without actually removing messages for every chat user /// Whether to delete the message history for all chat participants /// User or chat, communication history of which will be deleted /// Maximum ID of message to delete + /// Possible errors: 400 (details) public static Task Messages_DeleteHistory(this Client client, InputPeer peer, int max_id, bool just_clear = false, bool revoke = false, DateTime? min_date = null, DateTime? max_date = null) => client.CallAsync(writer => { @@ -13776,9 +13854,10 @@ namespace TL return "Messages_DeleteHistory"; }); - /// Deletes messages by their identifiers.
See
+ /// Deletes messages by their identifiers. See /// Whether to delete messages for all participants of the chat /// Message ID list + /// Possible errors: 403 (details) public static Task Messages_DeleteMessages(this Client client, int[] id, bool revoke = false) => client.CallAsync(writer => { @@ -13788,7 +13867,7 @@ namespace TL return "Messages_DeleteMessages"; }); - /// Confirms receipt of messages by a client, cancels PUSH-notification sending.
See
+ /// Confirms receipt of messages by a client, cancels PUSH-notification sending. See /// Maximum message ID available in a client. public static Task Messages_ReceivedMessages(this Client client, int max_id) => client.CallAsync(writer => @@ -13798,10 +13877,11 @@ namespace TL return "Messages_ReceivedMessages"; }); - /// Sends a current user typing event (see for all event types) to a conversation partner or group.
See
+ /// Sends a current user typing event (see for all event types) to a conversation partner or group. See /// Target user or group /// Thread ID /// Type of action
Parameter added in Layer 17. + /// Possible errors: 400,403 (details) public static Task Messages_SetTyping(this Client client, InputPeer peer, SendMessageAction action, int? top_msg_id = null) => client.CallAsync(writer => { @@ -13814,7 +13894,7 @@ namespace TL return "Messages_SetTyping"; }); - /// Sends a message to a chat
See
+ /// Sends a message to a chat See /// 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 @@ -13826,6 +13906,7 @@ namespace TL /// Reply markup for sending bot buttons /// Message entities for sending styled text /// Scheduled message date for scheduled messages + /// Possible errors: 400,401,403,420 (details) public static Task Messages_SendMessage(this Client client, InputPeer peer, string message, long random_id, bool no_webpage = false, bool silent = false, bool background = false, bool clear_draft = false, int? reply_to_msg_id = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null) => client.CallAsync(writer => { @@ -13845,7 +13926,7 @@ namespace TL return "Messages_SendMessage"; }); - /// Send a media
See
+ /// Send a media See /// Send message silently (no notification should be triggered) /// Send message in background /// Clear the draft @@ -13857,6 +13938,7 @@ namespace TL /// Reply markup for bot keyboards /// Message entities for styled text /// Scheduled message date for scheduled messages + /// Possible errors: 400,403,420 (details) public static Task Messages_SendMedia(this Client client, InputPeer peer, InputMedia media, string message, long random_id, bool silent = false, bool background = false, bool clear_draft = false, int? reply_to_msg_id = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null) => client.CallAsync(writer => { @@ -13877,7 +13959,7 @@ namespace TL return "Messages_SendMedia"; }); - /// Forwards messages by their IDs.
See
+ /// Forwards messages by their IDs. See /// 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 @@ -13888,6 +13970,7 @@ namespace TL /// Random ID to prevent resending of messages /// Destination peer /// Scheduled message date for scheduled messages + /// Possible errors: 400,403,420 (details) public static Task Messages_ForwardMessages(this Client client, InputPeer from_peer, int[] id, long[] random_id, InputPeer to_peer, bool silent = false, bool background = false, bool with_my_score = false, bool drop_author = false, bool drop_media_captions = false, DateTime? schedule_date = null) => client.CallAsync(writer => { @@ -13902,8 +13985,9 @@ namespace TL return "Messages_ForwardMessages"; }); - /// Report a new incoming chat for spam, if the of the chat allow us to do that
See
+ /// Report a new incoming chat for spam, if the of the chat allow us to do that See /// Peer to report + /// Possible errors: 400 (details) public static Task Messages_ReportSpam(this Client client, InputPeer peer) => client.CallAsync(writer => { @@ -13912,8 +13996,9 @@ namespace TL return "Messages_ReportSpam"; }); - /// Get peer settings
See
+ /// Get peer settings See /// The peer + /// Possible errors: 400 (details) public static Task Messages_GetPeerSettings(this Client client, InputPeer peer) => client.CallAsync(writer => { @@ -13922,11 +14007,12 @@ namespace TL return "Messages_GetPeerSettings"; }); - /// Report a message in a chat for violation of telegram's Terms of Service
See
+ /// Report a message in a chat for violation of telegram's Terms of Service See /// Peer /// IDs of messages to report /// Why are these messages being reported /// Comment for report moderation + /// Possible errors: 400 (details) public static Task Messages_Report(this Client client, InputPeer peer, int[] id, ReportReason reason, string message) => client.CallAsync(writer => { @@ -13938,8 +14024,9 @@ namespace TL return "Messages_Report"; }); - /// Returns chat basic info on their IDs.
See
+ /// Returns chat basic info on their IDs. See /// List of chat IDs + /// Possible errors: 400 (details) public static Task Messages_GetChats(this Client client, long[] id) => client.CallAsync(writer => { @@ -13948,8 +14035,9 @@ namespace TL return "Messages_GetChats"; }); - /// Returns full chat info according to its ID.
See
+ /// Returns full chat info according to its ID. See /// Chat ID + /// Possible errors: 400 (details) public static Task Messages_GetFullChat(this Client client, long chat_id) => client.CallAsync(writer => { @@ -13958,9 +14046,10 @@ namespace TL return "Messages_GetFullChat"; }); - /// Chanages chat name and sends a service message on it.
See
+ /// Chanages chat name and sends a service message on it. See /// Chat ID /// New chat name, different from the old one + /// Possible errors: 400 (details) public static Task Messages_EditChatTitle(this Client client, long chat_id, string title) => client.CallAsync(writer => { @@ -13970,9 +14059,10 @@ namespace TL return "Messages_EditChatTitle"; }); - /// Changes chat photo and sends a service message on it
See
+ /// Changes chat photo and sends a service message on it See /// Chat ID /// Photo to be set + /// Possible errors: 400 (details) public static Task Messages_EditChatPhoto(this Client client, long chat_id, InputChatPhotoBase photo) => client.CallAsync(writer => { @@ -13982,10 +14072,11 @@ namespace TL return "Messages_EditChatPhoto"; }); - /// Adds a user to a chat and sends a service message on it.
See
+ /// Adds a user to a chat and sends a service message on it. See /// Chat ID /// User ID to be added /// Number of last messages to be forwarded + /// Possible errors: 400,403 (details) public static Task Messages_AddChatUser(this Client client, long chat_id, InputUserBase user_id, int fwd_limit) => client.CallAsync(writer => { @@ -13996,10 +14087,11 @@ namespace TL return "Messages_AddChatUser"; }); - /// Deletes a user from a chat and sends a service message on it.
See
+ /// Deletes a user from a chat and sends a service message on it. See /// Remove the entire chat history of the specified user in this chat. /// Chat ID /// User ID to be deleted + /// Possible errors: 400 (details) public static Task Messages_DeleteChatUser(this Client client, long chat_id, InputUserBase user_id, bool revoke_history = false) => client.CallAsync(writer => { @@ -14010,9 +14102,10 @@ namespace TL return "Messages_DeleteChatUser"; }); - /// Creates a new chat.
See
+ /// Creates a new chat. See /// List of user IDs to be invited /// Chat name + /// Possible errors: 400,403 (details) public static Task Messages_CreateChat(this Client client, InputUserBase[] users, string title) => client.CallAsync(writer => { @@ -14022,9 +14115,10 @@ namespace TL return "Messages_CreateChat"; }); - /// Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.
See
+ /// Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length. See /// Value of the version parameter from , avialable at the client /// Length of the required random sequence + /// Possible errors: 400 (details) public static Task Messages_GetDhConfig(this Client client, int version, int random_length) => client.CallAsync(writer => { @@ -14034,10 +14128,11 @@ namespace TL return "Messages_GetDhConfig"; }); - /// Sends a request to start a secret chat to the user.
See
+ /// Sends a request to start a secret chat to the user. See /// User ID /// Unique client request ID required to prevent resending. This also doubles as the chat ID. /// A = g ^ a mod p, see Wikipedia + /// Possible errors: 400 (details) public static Task Messages_RequestEncryption(this Client client, InputUserBase user_id, int random_id, byte[] g_a) => client.CallAsync(writer => { @@ -14048,10 +14143,11 @@ namespace TL return "Messages_RequestEncryption"; }); - /// Confirms creation of a secret chat
See
+ /// Confirms creation of a secret chat See /// Secret chat ID /// B = g ^ b mod p, see Wikipedia /// 64-bit fingerprint of the received key + /// Possible errors: 400 (details) public static Task Messages_AcceptEncryption(this Client client, InputEncryptedChat peer, byte[] g_b, long key_fingerprint) => client.CallAsync(writer => { @@ -14062,9 +14158,10 @@ namespace TL return "Messages_AcceptEncryption"; }); - /// Cancels a request for creation and/or delete info on secret chat.
See
+ /// Cancels a request for creation and/or delete info on secret chat. See /// Whether to delete the entire chat history for the other user as well /// Secret chat ID + /// Possible errors: 400 (details) public static Task Messages_DiscardEncryption(this Client client, int chat_id, bool delete_history = false) => client.CallAsync(writer => { @@ -14074,9 +14171,10 @@ namespace TL return "Messages_DiscardEncryption"; }); - /// Send typing event by the current user to a secret chat.
See
+ /// Send typing event by the current user to a secret chat. See /// Secret chat ID /// Typing.
Possible values:
, if the user started typing and more than 5 seconds have passed since the last request
, if the user stopped typing + /// Possible errors: 400 (
details) public static Task Messages_SetEncryptedTyping(this Client client, InputEncryptedChat peer, bool typing) => client.CallAsync(writer => { @@ -14086,9 +14184,10 @@ namespace TL return "Messages_SetEncryptedTyping"; }); - /// Marks message history within a secret chat as read.
See
+ /// Marks message history within a secret chat as read. See /// Secret chat ID /// Maximum date value for received messages in history + /// Possible errors: 400 (details) public static Task Messages_ReadEncryptedHistory(this Client client, InputEncryptedChat peer, DateTime max_date) => client.CallAsync(writer => { @@ -14098,11 +14197,12 @@ namespace TL return "Messages_ReadEncryptedHistory"; }); - /// Sends a text message to a secret chat.
See
+ /// Sends a text message to a secret chat. See /// Send encrypted message without a notification /// Secret chat ID /// Unique client message ID, necessary to avoid message resending /// TL-serialization of type, encrypted with a key that was created during chat initialization + /// Possible errors: 400,403 (details) public static Task Messages_SendEncrypted(this Client client, InputEncryptedChat peer, long random_id, byte[] data, bool silent = false) => client.CallAsync(writer => { @@ -14114,12 +14214,13 @@ namespace TL return "Messages_SendEncrypted"; }); - /// Sends a message with a file attachment to a secret chat
See
+ /// Sends a message with a file attachment to a secret chat See /// Whether to send the file without triggering a notification /// Secret chat ID /// Unique client message ID necessary to prevent message resending /// TL-serialization of type, encrypted with a key generated during chat initialization /// File attachment for the secret chat + /// Possible errors: 400 (details) public static Task Messages_SendEncryptedFile(this Client client, InputEncryptedChat peer, long random_id, byte[] data, InputEncryptedFileBase file, bool silent = false) => client.CallAsync(writer => { @@ -14132,10 +14233,11 @@ namespace TL return "Messages_SendEncryptedFile"; }); - /// Sends a service message to a secret chat.
See
+ /// Sends a service message to a secret chat. See /// Secret chat ID /// Unique client message ID required to prevent message resending /// TL-serialization of type, encrypted with a key generated during chat initialization + /// Possible errors: 400,403 (details) public static Task Messages_SendEncryptedService(this Client client, InputEncryptedChat peer, long random_id, byte[] data) => client.CallAsync(writer => { @@ -14146,8 +14248,9 @@ namespace TL return "Messages_SendEncryptedService"; }); - /// Confirms receipt of messages in a secret chat by client, cancels push notifications.
See
+ /// Confirms receipt of messages in a secret chat by client, cancels push notifications. See /// Maximum qts value available at the client + /// Possible errors: 400 (details) public static Task Messages_ReceivedQueue(this Client client, int max_qts) => client.CallAsync(writer => { @@ -14156,8 +14259,9 @@ namespace TL return "Messages_ReceivedQueue"; }); - /// Report a secret chat for spam
See
+ /// Report a secret chat for spam See /// The secret chat to report + /// Possible errors: 400 (details) public static Task Messages_ReportEncryptedSpam(this Client client, InputEncryptedChat peer) => client.CallAsync(writer => { @@ -14166,7 +14270,7 @@ namespace TL return "Messages_ReportEncryptedSpam"; }); - /// Notifies the sender about the recipient having listened a voice message or watched a video.
See
+ /// Notifies the sender about the recipient having listened a voice message or watched a video. See /// Message ID list public static Task Messages_ReadMessageContents(this Client client, int[] id) => client.CallAsync(writer => @@ -14176,10 +14280,11 @@ namespace TL return "Messages_ReadMessageContents"; }); - /// Get stickers by emoji
See
+ /// Get stickers by emoji See /// The emoji /// Hash for pagination, for more info click here /// a null value means messages.stickersNotModified + /// Possible errors: 400 (details) public static Task Messages_GetStickers(this Client client, string emoticon, long hash) => client.CallAsync(writer => { @@ -14189,7 +14294,7 @@ namespace TL return "Messages_GetStickers"; }); - /// Get all installed stickers
See
+ /// Get all installed stickers See /// Hash for pagination, for more info click here /// a null value means messages.allStickersNotModified public static Task Messages_GetAllStickers(this Client client, long hash) @@ -14200,10 +14305,11 @@ namespace TL return "Messages_GetAllStickers"; }); - /// Get preview of webpage
See
+ /// Get preview of webpage See /// Message from which to extract the preview /// Message entities for styled text /// a null value means messageMediaEmpty + /// Possible errors: 400 (details) public static Task Messages_GetWebPagePreview(this Client client, string message, MessageEntity[] entities = null) => client.CallAsync(writer => { @@ -14215,11 +14321,12 @@ namespace TL return "Messages_GetWebPagePreview"; }); - /// Export an invite link for a chat
See
+ /// Export an invite link for a chat See /// Legacy flag, reproducing legacy behavior of this method: if set, revokes all previous links before creating a new one. Kept for bot API BC, should not be used by modern clients. /// Chat /// Expiration date /// Maximum number of users that can join using this link + /// Possible errors: 400,403 (details) public static Task Messages_ExportChatInvite(this Client client, InputPeer peer, bool legacy_revoke_permanent = false, bool request_needed = false, DateTime? expire_date = null, int? usage_limit = null, string title = null) => client.CallAsync(writer => { @@ -14235,8 +14342,9 @@ namespace TL return "Messages_ExportChatInvite"; }); - /// Check the validity of a chat invite link and get basic info about it
See
+ /// Check the validity of a chat invite link and get basic info about it See /// Invite hash in t.me/joinchat/hash + /// Possible errors: 400 (details) public static Task Messages_CheckChatInvite(this Client client, string hash) => client.CallAsync(writer => { @@ -14245,8 +14353,9 @@ namespace TL return "Messages_CheckChatInvite"; }); - /// Import a chat invite and join a private chat/supergroup/channel
See
+ /// Import a chat invite and join a private chat/supergroup/channel See /// hash from t.me/joinchat/hash + /// Possible errors: 400 (details) public static Task Messages_ImportChatInvite(this Client client, string hash) => client.CallAsync(writer => { @@ -14255,8 +14364,9 @@ namespace TL return "Messages_ImportChatInvite"; }); - /// Get info about a stickerset
See
+ /// Get info about a stickerset See /// Stickerset + /// Possible errors: 400 (details) public static Task Messages_GetStickerSet(this Client client, InputStickerSet stickerset) => client.CallAsync(writer => { @@ -14265,9 +14375,10 @@ namespace TL return "Messages_GetStickerSet"; }); - /// Install a stickerset
See
+ /// Install a stickerset See /// Stickerset to install /// Whether to archive stickerset + /// Possible errors: 400 (details) public static Task Messages_InstallStickerSet(this Client client, InputStickerSet stickerset, bool archived) => client.CallAsync(writer => { @@ -14277,8 +14388,9 @@ namespace TL return "Messages_InstallStickerSet"; }); - /// Uninstall a stickerset
See
+ /// Uninstall a stickerset See /// The stickerset to uninstall + /// Possible errors: 400 (details) public static Task Messages_UninstallStickerSet(this Client client, InputStickerSet stickerset) => client.CallAsync(writer => { @@ -14287,11 +14399,12 @@ namespace TL return "Messages_UninstallStickerSet"; }); - /// Start a conversation with a bot using a deep linking parameter
See
+ /// Start a conversation with a bot using a deep linking parameter See /// 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 /// Deep linking parameter + /// Possible errors: 400 (details) public static Task Messages_StartBot(this Client client, InputUserBase bot, InputPeer peer, long random_id, string start_param) => client.CallAsync(writer => { @@ -14303,10 +14416,11 @@ namespace TL return "Messages_StartBot"; }); - /// Get and increase the view counter of a message sent or forwarded from a channel
See
+ /// Get and increase the view counter of a message sent or forwarded from a channel See /// Peer where the message was found /// ID of message /// Whether to mark the message as viewed and increment the view counter + /// Possible errors: 400 (details) public static Task Messages_GetMessagesViews(this Client client, InputPeer peer, int[] id, bool increment) => client.CallAsync(writer => { @@ -14317,10 +14431,11 @@ namespace TL return "Messages_GetMessagesViews"; }); - /// Make a user admin in a legacy group.
See
+ /// Make a user admin in a legacy group. See /// The ID of the group /// The user to make admin /// Whether to make him admin + /// Possible errors: 400 (details) public static Task Messages_EditChatAdmin(this Client client, long chat_id, InputUserBase user_id, bool is_admin) => client.CallAsync(writer => { @@ -14331,8 +14446,9 @@ namespace TL return "Messages_EditChatAdmin"; }); - /// Turn a legacy group into a supergroup
See
+ /// Turn a legacy group into a supergroup See /// Legacy group to migrate + /// Possible errors: 400,403 (details) public static Task Messages_MigrateChat(this Client client, long chat_id) => client.CallAsync(writer => { @@ -14341,7 +14457,7 @@ namespace TL return "Messages_MigrateChat"; }); - /// Search for messages and peers globally
See
+ /// Search for messages and peers globally See /// Peer folder ID, for more info click here /// Query /// Global search filter @@ -14351,6 +14467,7 @@ namespace TL /// Offsets for pagination, for more info click here /// Offsets for pagination, for more info click here /// Offsets for pagination, for more info click here + /// Possible errors: 400 (details) public static Task Messages_SearchGlobal(this Client client, string q, MessagesFilter filter, DateTime min_date, DateTime max_date, int offset_rate, InputPeer offset_peer, int offset_id, int limit, int? folder_id = null) => client.CallAsync(writer => { @@ -14369,7 +14486,7 @@ namespace TL return "Messages_SearchGlobal"; }); - /// Reorder installed stickersets
See
+ /// Reorder installed stickersets See /// Reorder mask stickersets /// New stickerset order by stickerset IDs public static Task Messages_ReorderStickerSets(this Client client, long[] order, bool masks = false) @@ -14381,10 +14498,11 @@ namespace TL return "Messages_ReorderStickerSets"; }); - /// Get a document by its SHA256 hash, mainly used for gifs
See
+ /// Get a document by its SHA256 hash, mainly used for gifs See /// SHA256 of file /// Size of the file in bytes /// Mime type + /// Possible errors: 400 (details) public static Task Messages_GetDocumentByHash(this Client client, byte[] sha256, int size, string mime_type) => client.CallAsync(writer => { @@ -14395,7 +14513,7 @@ namespace TL return "Messages_GetDocumentByHash"; }); - /// Get saved GIFs
See
+ /// Get saved GIFs See /// Hash for pagination, for more info click here /// a null value means messages.savedGifsNotModified public static Task Messages_GetSavedGifs(this Client client, long hash) @@ -14406,9 +14524,10 @@ namespace TL return "Messages_GetSavedGifs"; }); - /// Add GIF to saved gifs list
See
+ /// Add GIF to saved gifs list See /// GIF to save /// Whether to remove GIF from saved gifs list + /// Possible errors: 400 (details) public static Task Messages_SaveGif(this Client client, InputDocument id, bool unsave) => client.CallAsync(writer => { @@ -14418,12 +14537,13 @@ namespace TL return "Messages_SaveGif"; }); - /// Query an inline bot
See
+ /// Query an inline bot See /// The bot to query /// The currently opened chat /// The geolocation, if requested /// The query /// The offset within the results, will be passed directly as-is to the bot. + /// Possible errors: -503,400 (details) public static Task Messages_GetInlineBotResults(this Client client, InputUserBase bot, InputPeer peer, string query, string offset, InputGeoPoint geo_point = null) => client.CallAsync(writer => { @@ -14438,7 +14558,7 @@ namespace TL return "Messages_GetInlineBotResults"; }); - /// Answer an inline query, for bots only
See
+ /// Answer an inline query, for bots only See /// Set this flag if the results are composed of media files /// Set this flag if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query /// Unique identifier for the answered query @@ -14446,6 +14566,7 @@ namespace TL /// The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300. /// Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don‘t support pagination. Offset length can’t exceed 64 bytes. /// If passed, clients will display a button with specified text that switches the user to a private chat with the bot and sends the bot a start message with a certain parameter. + /// Possible errors: 400,403 (details) public static Task Messages_SetInlineBotResults(this Client client, long query_id, InputBotInlineResultBase[] results, DateTime cache_time, bool gallery = false, bool private_ = false, string next_offset = null, InlineBotSwitchPM switch_pm = null) => client.CallAsync(writer => { @@ -14461,7 +14582,7 @@ namespace TL return "Messages_SetInlineBotResults"; }); - /// Send a result obtained using messages.getInlineBotResults.
See
+ /// Send a result obtained using messages.getInlineBotResults. See /// 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 @@ -14472,6 +14593,7 @@ namespace TL /// Query ID from messages.getInlineBotResults /// Result ID from messages.getInlineBotResults /// Scheduled message date for scheduled messages + /// Possible errors: 400,403,420 (details) public static Task Messages_SendInlineBotResult(this Client client, InputPeer peer, long random_id, long query_id, string id, bool silent = false, bool background = false, bool clear_draft = false, bool hide_via = false, int? reply_to_msg_id = null, DateTime? schedule_date = null) => client.CallAsync(writer => { @@ -14488,9 +14610,10 @@ namespace TL return "Messages_SendInlineBotResult"; }); - /// Find out if a media message's caption can be edited
See
+ /// Find out if a media message's caption can be edited See /// Peer where the media was sent /// ID of message + /// Possible errors: 400,403 (details) public static Task Messages_GetMessageEditData(this Client client, InputPeer peer, int id) => client.CallAsync(writer => { @@ -14500,7 +14623,7 @@ namespace TL return "Messages_GetMessageEditData"; }); - /// Edit message
See
+ /// Edit message See /// Disable webpage preview /// Where was the message sent /// ID of the message to edit @@ -14509,6 +14632,7 @@ namespace TL /// Reply markup for inline keyboards /// Message entities for styled text /// Scheduled message date for scheduled messages + /// Possible errors: 400,403 (details) public static Task Messages_EditMessage(this Client client, InputPeer peer, int id, bool no_webpage = false, string message = null, InputMedia media = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null) => client.CallAsync(writer => { @@ -14529,13 +14653,14 @@ namespace TL return "Messages_EditMessage"; }); - /// Edit an inline bot message
See
+ /// Edit an inline bot message See /// Disable webpage preview /// Sent inline message ID /// Message /// Media /// Reply markup for inline keyboards /// Message entities for styled text + /// Possible errors: 400 (details) public static Task Messages_EditInlineBotMessage(this Client client, InputBotInlineMessageIDBase id, bool no_webpage = false, string message = null, InputMedia media = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null) => client.CallAsync(writer => { @@ -14553,12 +14678,13 @@ namespace TL return "Messages_EditInlineBotMessage"; }); - /// Press an inline callback button and get a callback answer from the bot
See
+ /// Press an inline callback button and get a callback answer from the bot See /// Whether this is a "play game" button /// Where was the inline keyboard sent /// ID of the Message with the inline keyboard /// Callback data /// For buttons , the SRP payload generated using SRP. + /// Possible errors: -503,400 (details) public static Task Messages_GetBotCallbackAnswer(this Client client, InputPeer peer, int msg_id, bool game = false, byte[] data = null, InputCheckPasswordSRP password = null) => client.CallAsync(writer => { @@ -14573,12 +14699,13 @@ namespace TL return "Messages_GetBotCallbackAnswer"; }); - /// Set the callback answer to a user button press (bots only)
See
+ /// Set the callback answer to a user button press (bots only) See /// Whether to show the message as a popup instead of a toast notification /// Query ID /// Popup to show /// URL to open /// Cache validity + /// Possible errors: 400 (details) public static Task Messages_SetBotCallbackAnswer(this Client client, long query_id, DateTime cache_time, bool alert = false, string message = null, string url = null) => client.CallAsync(writer => { @@ -14593,8 +14720,9 @@ namespace TL return "Messages_SetBotCallbackAnswer"; }); - /// Get dialog info of specified peers
See
+ /// Get dialog info of specified peers See /// Peers + /// Possible errors: 400 (details) public static Task Messages_GetPeerDialogs(this Client client, InputDialogPeerBase[] peers) => client.CallAsync(writer => { @@ -14603,12 +14731,13 @@ namespace TL return "Messages_GetPeerDialogs"; }); - /// Save a message draft associated to a chat.
See
+ /// Save a message draft associated to a chat. See /// Disable generation of the webpage preview /// Message ID the message should reply to /// Destination of the message that should be sent /// The draft /// Message entities for styled text + /// Possible errors: 400 (details) public static Task Messages_SaveDraft(this Client client, InputPeer peer, string message, bool no_webpage = false, int? reply_to_msg_id = null, MessageEntity[] entities = null) => client.CallAsync(writer => { @@ -14623,7 +14752,7 @@ namespace TL return "Messages_SaveDraft"; }); - /// Save get all message drafts.
See
+ /// Save get all message drafts. See public static Task Messages_GetAllDrafts(this Client client) => client.CallAsync(writer => { @@ -14631,7 +14760,7 @@ namespace TL return "Messages_GetAllDrafts"; }); - /// Get featured stickers
See
+ /// Get featured stickers See /// Hash for pagination, for more info click here public static Task Messages_GetFeaturedStickers(this Client client, long hash) => client.CallAsync(writer => @@ -14641,7 +14770,7 @@ namespace TL return "Messages_GetFeaturedStickers"; }); - /// Mark new featured stickers as read
See
+ /// Mark new featured stickers as read See /// IDs of stickersets to mark as read public static Task Messages_ReadFeaturedStickers(this Client client, long[] id) => client.CallAsync(writer => @@ -14651,7 +14780,7 @@ namespace TL return "Messages_ReadFeaturedStickers"; }); - /// Get recent stickers
See
+ /// Get recent stickers See /// Get stickers recently attached to photo or video files /// Hash for pagination, for more info click here /// a null value means messages.recentStickersNotModified @@ -14664,10 +14793,11 @@ namespace TL return "Messages_GetRecentStickers"; }); - /// Add/remove sticker from recent stickers list
See
+ /// Add/remove sticker from recent stickers list See /// Whether to add/remove stickers recently attached to photo or video files /// Sticker /// Whether to save or unsave the sticker + /// Possible errors: 400 (details) public static Task Messages_SaveRecentSticker(this Client client, InputDocument id, bool unsave, bool attached = false) => client.CallAsync(writer => { @@ -14678,7 +14808,7 @@ namespace TL return "Messages_SaveRecentSticker"; }); - /// Clear recent stickers
See
+ /// Clear recent stickers See /// Set this flag to clear the list of stickers recently attached to photo or video files public static Task Messages_ClearRecentStickers(this Client client, bool attached = false) => client.CallAsync(writer => @@ -14688,7 +14818,7 @@ namespace TL return "Messages_ClearRecentStickers"; }); - /// Get all archived stickers
See
+ /// Get all archived stickers See /// Get mask stickers /// Offsets for pagination, for more info click here /// Maximum number of results to return, see pagination @@ -14702,7 +14832,7 @@ namespace TL return "Messages_GetArchivedStickers"; }); - /// Get installed mask stickers
See
+ /// Get installed mask stickers See /// Hash for pagination, for more info click here /// a null value means messages.allStickersNotModified public static Task Messages_GetMaskStickers(this Client client, long hash) @@ -14713,7 +14843,7 @@ namespace TL return "Messages_GetMaskStickers"; }); - /// Get stickers attached to a photo or video
See
+ /// Get stickers attached to a photo or video See /// Stickered media public static Task Messages_GetAttachedStickers(this Client client, InputStickeredMedia media) => client.CallAsync(writer => @@ -14723,13 +14853,14 @@ namespace TL return "Messages_GetAttachedStickers"; }); - /// Use this method to set the score of the specified user in a game sent as a normal message (bots only).
See
+ /// Use this method to set the score of the specified user in a game sent as a normal message (bots only). See /// Set this flag if the game message should be automatically edited to include the current scoreboard /// Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters /// Unique identifier of target chat /// Identifier of the sent message /// User identifier /// New score + /// Possible errors: 400 (details) public static Task Messages_SetGameScore(this Client client, InputPeer peer, int id, InputUserBase user_id, int score, bool edit_message = false, bool force = false) => client.CallAsync(writer => { @@ -14742,12 +14873,13 @@ namespace TL return "Messages_SetGameScore"; }); - /// Use this method to set the score of the specified user in a game sent as an inline message (bots only).
See
+ /// Use this method to set the score of the specified user in a game sent as an inline message (bots only). See /// Set this flag if the game message should be automatically edited to include the current scoreboard /// Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters /// ID of the inline message /// User identifier /// New score + /// Possible errors: 400 (details) public static Task Messages_SetInlineGameScore(this Client client, InputBotInlineMessageIDBase id, InputUserBase user_id, int score, bool edit_message = false, bool force = false) => client.CallAsync(writer => { @@ -14759,10 +14891,11 @@ namespace TL return "Messages_SetInlineGameScore"; }); - /// Get highscores of a game
See
+ /// Get highscores of a game See /// Where was the game sent /// ID of message with game media attachment /// Get high scores made by a certain user + /// Possible errors: 400 (details) public static Task Messages_GetGameHighScores(this Client client, InputPeer peer, int id, InputUserBase user_id) => client.CallAsync(writer => { @@ -14773,9 +14906,10 @@ namespace TL return "Messages_GetGameHighScores"; }); - /// Get highscores of a game sent using an inline bot
See
+ /// Get highscores of a game sent using an inline bot See /// ID of inline message /// Get high scores of a certain user + /// Possible errors: 400 (details) public static Task Messages_GetInlineGameHighScores(this Client client, InputBotInlineMessageIDBase id, InputUserBase user_id) => client.CallAsync(writer => { @@ -14785,10 +14919,11 @@ namespace TL return "Messages_GetInlineGameHighScores"; }); - /// Get chats in common with a user
See
+ /// Get chats in common with a user See /// User ID /// Maximum ID of chat to return (see pagination) /// Maximum number of results to return, see pagination + /// Possible errors: 400 (details) public static Task Messages_GetCommonChats(this Client client, InputUserBase user_id, long max_id, int limit) => client.CallAsync(writer => { @@ -14799,7 +14934,7 @@ namespace TL return "Messages_GetCommonChats"; }); - /// Get all chats, channels and supergroups
See
+ /// Get all chats, channels and supergroups See /// Except these chats/channels/supergroups public static Task Messages_GetAllChats(this Client client, long[] except_ids) => client.CallAsync(writer => @@ -14809,9 +14944,10 @@ namespace TL return "Messages_GetAllChats"; }); - /// Get instant view page
See
+ /// Get instant view page See /// URL of IV page to fetch /// Hash for pagination, for more info click here + /// Possible errors: 400 (details) public static Task Messages_GetWebPage(this Client client, string url, int hash) => client.CallAsync(writer => { @@ -14821,9 +14957,10 @@ namespace TL return "Messages_GetWebPage"; }); - /// Pin/unpin a dialog
See
+ /// Pin/unpin a dialog See /// Whether to pin or unpin the dialog /// The dialog to pin + /// Possible errors: 400 (details) public static Task Messages_ToggleDialogPin(this Client client, InputDialogPeerBase peer, bool pinned = false) => client.CallAsync(writer => { @@ -14833,10 +14970,11 @@ namespace TL return "Messages_ToggleDialogPin"; }); - /// Reorder pinned dialogs
See
+ /// Reorder pinned dialogs See /// If set, dialogs pinned server-side but not present in the order field will be unpinned. /// Peer folder ID, for more info click here /// New dialog order + /// Possible errors: 400 (details) public static Task Messages_ReorderPinnedDialogs(this Client client, int folder_id, InputDialogPeerBase[] order, bool force = false) => client.CallAsync(writer => { @@ -14847,8 +14985,9 @@ namespace TL return "Messages_ReorderPinnedDialogs"; }); - /// Get pinned dialogs
See
+ /// Get pinned dialogs See /// Peer folder ID, for more info click here + /// Possible errors: 400 (details) public static Task Messages_GetPinnedDialogs(this Client client, int folder_id) => client.CallAsync(writer => { @@ -14857,10 +14996,11 @@ namespace TL return "Messages_GetPinnedDialogs"; }); - /// If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the bot will receive an update. Use this method to reply to shipping queries.
See
+ /// If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the bot will receive an update. Use this method to reply to shipping queries. See /// Unique identifier for the query to be answered /// Error message in human readable form that explains why it is impossible to complete the order (e.g. "Sorry, delivery to your desired address is unavailable'). Telegram will display this message to the user. /// A vector of available shipping options. + /// Possible errors: 400 (details) public static Task Messages_SetBotShippingResults(this Client client, long query_id, string error = null, ShippingOption[] shipping_options = null) => client.CallAsync(writer => { @@ -14874,10 +15014,11 @@ namespace TL return "Messages_SetBotShippingResults"; }); - /// Once the user has confirmed their payment and shipping details, the bot receives an update.
Use this method to respond to such pre-checkout queries.
Note: Telegram must receive an answer within 10 seconds after the pre-checkout query was sent.
See
+ /// Once the user has confirmed their payment and shipping details, the bot receives an update.
Use this method to respond to such pre-checkout queries.
Note: Telegram must receive an answer within 10 seconds after the pre-checkout query was sent. See
/// Set this flag if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order, otherwise do not set it, and set the error field, instead /// Unique identifier for the query to be answered /// Required if the success isn't set. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user. + /// Possible errors: 400 (details) public static Task Messages_SetBotPrecheckoutResults(this Client client, long query_id, bool success = false, string error = null) => client.CallAsync(writer => { @@ -14889,10 +15030,11 @@ namespace TL return "Messages_SetBotPrecheckoutResults"; }); - /// Upload a file and associate it to a chat (without actually sending it to the chat)
See
+ /// Upload a file and associate it to a chat (without actually sending it to the chat) See /// The chat, can be an for bots /// File uploaded in chunks as described in files » /// a null value means messageMediaEmpty + /// Possible errors: 400,403 (details) public static Task Messages_UploadMedia(this Client client, InputPeer peer, InputMedia media) => client.CallAsync(writer => { @@ -14902,10 +15044,11 @@ namespace TL return "Messages_UploadMedia"; }); - /// Notify the other user in a private chat that a screenshot of the chat was taken
See
+ /// Notify the other user in a private chat that a screenshot of the chat was taken See /// Other user /// ID of message that was screenshotted, can be 0 /// Random ID to avoid message resending + /// Possible errors: 400 (details) public static Task Messages_SendScreenshotNotification(this Client client, InputPeer peer, int reply_to_msg_id, long random_id) => client.CallAsync(writer => { @@ -14916,7 +15059,7 @@ namespace TL return "Messages_SendScreenshotNotification"; }); - /// Get faved stickers
See
+ /// Get faved stickers See /// Hash for pagination, for more info click here /// a null value means messages.favedStickersNotModified public static Task Messages_GetFavedStickers(this Client client, long hash) @@ -14927,9 +15070,10 @@ namespace TL return "Messages_GetFavedStickers"; }); - /// Mark a sticker as favorite
See
+ /// Mark a sticker as favorite See /// Sticker to mark as favorite /// Unfavorite + /// Possible errors: 400 (details) public static Task Messages_FaveSticker(this Client client, InputDocument id, bool unfave) => client.CallAsync(writer => { @@ -14939,13 +15083,14 @@ namespace TL return "Messages_FaveSticker"; }); - /// Get unread messages where we were mentioned
See
+ /// Get unread messages where we were mentioned See /// Peer where to look for mentions /// Offsets for pagination, for more info click here /// Offsets for pagination, for more info click here /// Maximum number of results to return, see pagination /// Maximum message ID to return, see pagination /// Minimum message ID to return, see pagination + /// Possible errors: 400 (details) public static Task Messages_GetUnreadMentions(this Client client, InputPeer peer, int offset_id, int add_offset, int limit, int max_id, int min_id) => client.CallAsync(writer => { @@ -14959,8 +15104,9 @@ namespace TL return "Messages_GetUnreadMentions"; }); - /// Mark mentions as read
See
+ /// Mark mentions as read See /// Dialog + /// Possible errors: 400 (details) public static Task Messages_ReadMentions(this Client client, InputPeer peer) => client.CallAsync(writer => { @@ -14969,7 +15115,7 @@ namespace TL return "Messages_ReadMentions"; }); - /// Get live location history of a certain user
See
+ /// Get live location history of a certain user See /// User /// Maximum number of results to return, see pagination /// Hash for pagination, for more info click here @@ -14983,7 +15129,7 @@ namespace TL return "Messages_GetRecentLocations"; }); - /// Send an album or grouped media
See
+ /// Send an album or grouped media See /// Whether to send the album silently (no notification triggered) /// Send in background? /// Whether to clear drafts @@ -14991,6 +15137,7 @@ namespace TL /// The message to reply to /// The medias to send /// Scheduled message date for scheduled messages + /// Possible errors: 400,420 (details) public static Task Messages_SendMultiMedia(this Client client, InputPeer peer, InputSingleMedia[] multi_media, bool silent = false, bool background = false, bool clear_draft = false, int? reply_to_msg_id = null, DateTime? schedule_date = null) => client.CallAsync(writer => { @@ -15005,7 +15152,7 @@ namespace TL return "Messages_SendMultiMedia"; }); - /// Upload encrypted file and associate it to a secret chat
See
+ /// Upload encrypted file and associate it to a secret chat See /// The secret chat to associate the file to /// The file /// a null value means encryptedFileEmpty @@ -15018,7 +15165,7 @@ namespace TL return "Messages_UploadEncryptedFile"; }); - /// Search for stickersets
See
+ /// Search for stickersets See /// Exclude featured stickersets from results /// Query string /// Hash for pagination, for more info click here @@ -15033,7 +15180,7 @@ namespace TL return "Messages_SearchStickerSets"; }); - /// Get message ranges for saving the user's chat history
See
+ /// Get message ranges for saving the user's chat history See public static Task Messages_GetSplitRanges(this Client client) => client.CallAsync(writer => { @@ -15041,7 +15188,7 @@ namespace TL return "Messages_GetSplitRanges"; }); - /// Manually mark dialog as unread
See
+ /// Manually mark dialog as unread See /// Mark as unread/read /// Dialog public static Task Messages_MarkDialogUnread(this Client client, InputDialogPeerBase peer, bool unread = false) @@ -15053,7 +15200,7 @@ namespace TL return "Messages_MarkDialogUnread"; }); - /// Get dialogs manually marked as unread
See
+ /// Get dialogs manually marked as unread See public static Task Messages_GetDialogUnreadMarks(this Client client) => client.CallAsync(writer => { @@ -15061,7 +15208,7 @@ namespace TL return "Messages_GetDialogUnreadMarks"; }); - /// Clear all drafts.
See
+ /// Clear all drafts. See public static Task Messages_ClearAllDrafts(this Client client) => client.CallAsync(writer => { @@ -15069,12 +15216,13 @@ namespace TL return "Messages_ClearAllDrafts"; }); - /// Pin a message
See
+ /// Pin a message See /// Pin the message silently, without triggering a notification /// Whether the message should unpinned or pinned /// Whether the message should only be pinned on the local side of a one-to-one chat /// The peer where to pin the message /// The message to pin or unpin + /// Possible errors: 400,403 (details) public static Task Messages_UpdatePinnedMessage(this Client client, InputPeer peer, int id, bool silent = false, bool unpin = false, bool pm_oneside = false) => client.CallAsync(writer => { @@ -15085,10 +15233,11 @@ namespace TL return "Messages_UpdatePinnedMessage"; }); - /// Vote in a
See
+ /// Vote in a See /// The chat where the poll was sent /// The message ID of the poll /// The options that were chosen + /// Possible errors: 400 (details) public static Task Messages_SendVote(this Client client, InputPeer peer, int msg_id, byte[][] options) => client.CallAsync(writer => { @@ -15099,9 +15248,10 @@ namespace TL return "Messages_SendVote"; }); - /// Get poll results
See
+ /// Get poll results See /// Peer where the poll was found /// Message ID of poll message + /// Possible errors: 400 (details) public static Task Messages_GetPollResults(this Client client, InputPeer peer, int msg_id) => client.CallAsync(writer => { @@ -15111,8 +15261,9 @@ namespace TL return "Messages_GetPollResults"; }); - /// Get count of online users in a chat
See
+ /// Get count of online users in a chat See /// The chat + /// Possible errors: 400 (details) public static Task Messages_GetOnlines(this Client client, InputPeer peer) => client.CallAsync(writer => { @@ -15121,9 +15272,10 @@ namespace TL return "Messages_GetOnlines"; }); - /// Edit the description of a group/supergroup/channel.
See
+ /// Edit the description of a group/supergroup/channel. See /// The group/supergroup/channel. /// The new description + /// Possible errors: 400,403 (details) public static Task Messages_EditChatAbout(this Client client, InputPeer peer, string about) => client.CallAsync(writer => { @@ -15133,9 +15285,10 @@ namespace TL return "Messages_EditChatAbout"; }); - /// Edit the default banned rights of a channel/supergroup/group.
See
+ /// Edit the default banned rights of a channel/supergroup/group. See /// The peer /// The new global rights + /// Possible errors: 400,403 (details) public static Task Messages_EditChatDefaultBannedRights(this Client client, InputPeer peer, ChatBannedRights banned_rights) => client.CallAsync(writer => { @@ -15145,7 +15298,7 @@ namespace TL return "Messages_EditChatDefaultBannedRights"; }); - /// Get localized emoji keywords
See
+ /// Get localized emoji keywords See /// Language code public static Task Messages_GetEmojiKeywords(this Client client, string lang_code) => client.CallAsync(writer => @@ -15155,7 +15308,7 @@ namespace TL return "Messages_GetEmojiKeywords"; }); - /// Get changed emoji keywords
See
+ /// Get changed emoji keywords See /// Language code /// Previous emoji keyword localization version public static Task Messages_GetEmojiKeywordsDifference(this Client client, string lang_code, int from_version) @@ -15167,7 +15320,7 @@ namespace TL return "Messages_GetEmojiKeywordsDifference"; }); - /// Get info about an emoji keyword localization
See
+ /// Get info about an emoji keyword localization See /// Language codes public static Task Messages_GetEmojiKeywordsLanguages(this Client client, string[] lang_codes) => client.CallAsync(writer => @@ -15177,7 +15330,7 @@ namespace TL return "Messages_GetEmojiKeywordsLanguages"; }); - /// Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation
See
+ /// Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation See /// Language code for which the emoji replacements will be suggested public static Task Messages_GetEmojiURL(this Client client, string lang_code) => client.CallAsync(writer => @@ -15187,9 +15340,10 @@ namespace TL return "Messages_GetEmojiURL"; }); - /// Get the number of results that would be found by a messages.search call with the same parameters
See
+ /// Get the number of results that would be found by a messages.search call with the same parameters See /// Peer where to search /// Search filters + /// Possible errors: 400 (details) public static Task Messages_GetSearchCounters(this Client client, InputPeer peer, MessagesFilter[] filters) => client.CallAsync(writer => { @@ -15199,7 +15353,7 @@ namespace TL return "Messages_GetSearchCounters"; }); - /// Get more info about a Seamless Telegram Login authorization request, for more info click here »
See
+ /// Get more info about a Seamless Telegram Login authorization request, for more info click here » See /// Peer where the message is located /// The message /// The ID of the button with the authorization request @@ -15220,7 +15374,7 @@ namespace TL return "Messages_RequestUrlAuth"; }); - /// Use this to accept a Seamless Telegram Login authorization request, for more info click here »
See
+ /// Use this to accept a Seamless Telegram Login authorization request, for more info click here » See /// Set this flag to allow the bot to send messages to you (if requested) /// The location of the message /// Message ID of the message with the login button @@ -15242,7 +15396,7 @@ namespace TL return "Messages_AcceptUrlAuth"; }); - /// Should be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the .
See
+ /// Should be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the . See /// Peer public static Task Messages_HidePeerSettingsBar(this Client client, InputPeer peer) => client.CallAsync(writer => @@ -15252,9 +15406,10 @@ namespace TL return "Messages_HidePeerSettingsBar"; }); - /// Get scheduled messages
See
+ /// Get scheduled messages See /// Peer /// Hash for pagination, for more info click here + /// Possible errors: 400 (details) public static Task Messages_GetScheduledHistory(this Client client, InputPeer peer, long hash) => client.CallAsync(writer => { @@ -15264,9 +15419,10 @@ namespace TL return "Messages_GetScheduledHistory"; }); - /// Get scheduled messages
See
+ /// Get scheduled messages See /// Peer /// IDs of scheduled messages + /// Possible errors: 400 (details) public static Task Messages_GetScheduledMessages(this Client client, InputPeer peer, int[] id) => client.CallAsync(writer => { @@ -15276,9 +15432,10 @@ namespace TL return "Messages_GetScheduledMessages"; }); - /// Send scheduled messages right away
See
+ /// Send scheduled messages right away See /// Peer /// Scheduled message IDs + /// Possible errors: 400 (details) public static Task Messages_SendScheduledMessages(this Client client, InputPeer peer, int[] id) => client.CallAsync(writer => { @@ -15288,7 +15445,7 @@ namespace TL return "Messages_SendScheduledMessages"; }); - /// Delete scheduled messages
See
+ /// Delete scheduled messages See /// Peer /// Scheduled message IDs public static Task Messages_DeleteScheduledMessages(this Client client, InputPeer peer, int[] id) @@ -15300,12 +15457,13 @@ namespace TL return "Messages_DeleteScheduledMessages"; }); - /// Get poll results for non-anonymous polls
See
+ /// Get poll results for non-anonymous polls See /// Chat where the poll was sent /// Message ID /// Get only results for the specified poll option /// Offset for results, taken from the next_offset field of , initially an empty string.
Note: if no more results are available, the method call will return an empty next_offset; thus, avoid providing the next_offset returned in if it is empty, to avoid an infinite loop. /// Number of results to return + /// Possible errors: 400,403 (
details) public static Task Messages_GetPollVotes(this Client client, InputPeer peer, int id, int limit, byte[] option = null, string offset = null) => client.CallAsync(writer => { @@ -15321,7 +15479,7 @@ namespace TL return "Messages_GetPollVotes"; }); - /// Apply changes to multiple stickersets
See
+ /// Apply changes to multiple stickersets See /// Uninstall the specified stickersets /// Archive the specified stickersets /// Unarchive the specified stickersets @@ -15335,7 +15493,7 @@ namespace TL return "Messages_ToggleStickerSets"; }); - /// Get folders
See
+ /// Get folders See public static Task Messages_GetDialogFilters(this Client client) => client.CallAsync(writer => { @@ -15343,7 +15501,7 @@ namespace TL return "Messages_GetDialogFilters"; }); - /// Get suggested folders
See
+ /// Get suggested folders See public static Task Messages_GetSuggestedDialogFilters(this Client client) => client.CallAsync(writer => { @@ -15351,9 +15509,10 @@ namespace TL return "Messages_GetSuggestedDialogFilters"; }); - /// Update folder
See
+ /// Update folder See /// Folder ID /// Folder info + /// Possible errors: 400 (details) public static Task Messages_UpdateDialogFilter(this Client client, int id, DialogFilter filter = null) => client.CallAsync(writer => { @@ -15365,7 +15524,7 @@ namespace TL return "Messages_UpdateDialogFilter"; }); - /// Reorder folders
See
+ /// Reorder folders See /// New folder order public static Task Messages_UpdateDialogFiltersOrder(this Client client, int[] order) => client.CallAsync(writer => @@ -15375,7 +15534,7 @@ namespace TL return "Messages_UpdateDialogFiltersOrder"; }); - /// Method for fetching previously featured stickers
See
+ /// Method for fetching previously featured stickers See /// Offset /// Maximum number of results to return, see pagination /// Hash for pagination, for more info click here @@ -15389,7 +15548,7 @@ namespace TL return "Messages_GetOldFeaturedStickers"; }); - /// Get messages in a reply thread
See
+ /// Get messages in a reply thread See /// Peer /// Message ID /// Offsets for pagination, for more info click here @@ -15399,6 +15558,7 @@ namespace TL /// If a positive value was transferred, the method will return only messages with ID smaller than max_id /// If a positive value was transferred, the method will return only messages with ID bigger than min_id /// Hash for pagination, for more info click here + /// Possible errors: 400 (details) public static Task Messages_GetReplies(this Client client, InputPeer peer, int msg_id, int offset_id, DateTime offset_date, int add_offset, int limit, int max_id, int min_id, long hash) => client.CallAsync(writer => { @@ -15415,9 +15575,10 @@ namespace TL return "Messages_GetReplies"; }); - /// Get discussion message from the associated discussion group of a channel to show it on top of the comment section, without actually joining the group
See
+ /// Get discussion message from the associated discussion group of a channel to show it on top of the comment section, without actually joining the group See /// Channel ID /// Message ID + /// Possible errors: 400 (details) public static Task Messages_GetDiscussionMessage(this Client client, InputPeer peer, int msg_id) => client.CallAsync(writer => { @@ -15427,10 +15588,11 @@ namespace TL return "Messages_GetDiscussionMessage"; }); - /// Mark a thread as read
See
+ /// Mark a thread as read See /// Group ID /// ID of message that started the thread /// ID up to which thread messages were read + /// Possible errors: 400 (details) public static Task Messages_ReadDiscussion(this Client client, InputPeer peer, int msg_id, int read_max_id) => client.CallAsync(writer => { @@ -15441,7 +15603,7 @@ namespace TL return "Messages_ReadDiscussion"; }); - /// Unpin all pinned messages
See
+ /// Unpin all pinned messages See /// Chat where to unpin public static Task Messages_UnpinAllMessages(this Client client, InputPeer peer) => client.CallAsync(writer => @@ -15451,8 +15613,9 @@ namespace TL return "Messages_UnpinAllMessages"; }); - /// Delete a chat
See
+ /// Delete a chat See /// Chat ID + /// Possible errors: 400 (details) public static Task Messages_DeleteChat(this Client client, long chat_id) => client.CallAsync(writer => { @@ -15461,7 +15624,7 @@ namespace TL return "Messages_DeleteChat"; }); - /// Delete the entire phone call history.
See
+ /// Delete the entire phone call history. See /// Whether to remove phone call history for participants as well public static Task Messages_DeletePhoneCallHistory(this Client client, bool revoke = false) => client.CallAsync(writer => @@ -15471,7 +15634,7 @@ namespace TL return "Messages_DeletePhoneCallHistory"; }); - /// Obtains information about a chat export file, generated by a foreign chat app, click here for more info about imported chats ».
See
+ /// Obtains information about a chat export file, generated by a foreign chat app, click here for more info about imported chats ». See /// Beginning of the message file; up to 100 lines. public static Task Messages_CheckHistoryImport(this Client client, string import_head) => client.CallAsync(writer => @@ -15481,10 +15644,11 @@ namespace TL return "Messages_CheckHistoryImport"; }); - /// Import chat history from a foreign chat app into a specific Telegram chat, click here for more info about imported chats ».
See
+ /// Import chat history from a foreign chat app into a specific Telegram chat, click here for more info about imported chats ». See /// The Telegram chat where the history should be imported. /// File with messages to import. /// Number of media files associated with the chat that will be uploaded using messages.uploadImportedMedia. + /// Possible errors: 400,406 (details) public static Task Messages_InitHistoryImport(this Client client, InputPeer peer, InputFileBase file, int media_count) => client.CallAsync(writer => { @@ -15495,7 +15659,7 @@ namespace TL return "Messages_InitHistoryImport"; }); - /// 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 /// The Telegram chat where the media will be imported /// Identifier of a history import session, returned by messages.initHistoryImport /// File name @@ -15512,9 +15676,10 @@ namespace TL return "Messages_UploadImportedMedia"; }); - /// Complete the history import process, importing all messages into the chat.
To be called only after initializing the import with messages.initHistoryImport and uploading all files using messages.uploadImportedMedia.
See
+ /// Complete the history import process, importing all messages into the chat.
To be called only after initializing the import with messages.initHistoryImport and uploading all files using messages.uploadImportedMedia. See
/// The Telegram chat where the messages should be imported, click here for more info » /// Identifier of a history import session, returned by messages.initHistoryImport. + /// Possible errors: 400 (details) public static Task Messages_StartHistoryImport(this Client client, InputPeer peer, long import_id) => client.CallAsync(writer => { @@ -15524,7 +15689,7 @@ namespace TL return "Messages_StartHistoryImport"; }); - /// Get info about the chat invites of a specific chat
See
+ /// Get info about the chat invites of a specific chat See /// Whether to fetch revoked chat invites /// Chat /// Whether to only fetch chat invites from this admin @@ -15546,7 +15711,7 @@ namespace TL return "Messages_GetExportedChatInvites"; }); - /// Get info about a chat invite
See
+ /// Get info about a chat invite See /// Chat /// Invite link public static Task Messages_GetExportedChatInvite(this Client client, InputPeer peer, string link) @@ -15558,12 +15723,13 @@ namespace TL return "Messages_GetExportedChatInvite"; }); - /// Edit an exported chat invite
See
+ /// Edit an exported chat invite See /// Whether to revoke the chat invite /// Chat /// Invite link /// New expiration date /// Maximum number of users that can join using this link + /// Possible errors: 400 (details) public static Task Messages_EditExportedChatInvite(this Client client, InputPeer peer, string link, bool revoked = false, DateTime? expire_date = null, int? usage_limit = null, bool? request_needed = default, string title = null) => client.CallAsync(writer => { @@ -15582,7 +15748,7 @@ namespace TL return "Messages_EditExportedChatInvite"; }); - /// Delete all revoked chat invites
See
+ /// Delete all revoked chat invites See /// Chat /// ID of the admin that originally generated the revoked chat invites public static Task Messages_DeleteRevokedExportedChatInvites(this Client client, InputPeer peer, InputUserBase admin_id) @@ -15594,7 +15760,7 @@ namespace TL return "Messages_DeleteRevokedExportedChatInvites"; }); - /// Delete a chat invite
See
+ /// Delete a chat invite See /// Peer /// Invite link public static Task Messages_DeleteExportedChatInvite(this Client client, InputPeer peer, string link) @@ -15606,7 +15772,7 @@ namespace TL return "Messages_DeleteExportedChatInvite"; }); - /// Get info about chat invites generated by admins.
See
+ /// Get info about chat invites generated by admins. See /// Chat public static Task Messages_GetAdminsWithInvites(this Client client, InputPeer peer) => client.CallAsync(writer => @@ -15616,7 +15782,7 @@ namespace TL return "Messages_GetAdminsWithInvites"; }); - /// 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 /// Chat /// Invite link /// Offsets for pagination, for more info click here @@ -15638,9 +15804,10 @@ namespace TL return "Messages_GetChatInviteImporters"; }); - /// Set maximum Time-To-Live of all messages in the specified chat
See
+ /// Set maximum Time-To-Live of all messages in the specified chat See /// The dialog /// Automatically delete all messages sent in the chat after this many seconds + /// Possible errors: 400 (details) public static Task Messages_SetHistoryTTL(this Client client, InputPeer peer, int period) => client.CallAsync(writer => { @@ -15650,8 +15817,9 @@ namespace TL return "Messages_SetHistoryTTL"; }); - /// Check whether chat history exported from another chat app can be imported into a specific Telegram chat, click here for more info ».
See
+ /// Check whether chat history exported from another chat app can be imported into a specific Telegram chat, click here for more info ». See /// The chat where we want to import history ». + /// Possible errors: 400 (details) public static Task Messages_CheckHistoryImportPeer(this Client client, InputPeer peer) => client.CallAsync(writer => { @@ -15660,9 +15828,10 @@ namespace TL return "Messages_CheckHistoryImportPeer"; }); - /// Change the chat theme of a certain chat
See
+ /// Change the chat theme of a certain chat See /// Private chat where to change theme /// Emoji, identifying a specific chat theme; a list of chat themes can be fetched using account.getChatThemes + /// Possible errors: 400 (details) public static Task Messages_SetChatTheme(this Client client, InputPeer peer, string emoticon) => client.CallAsync(writer => { @@ -15672,9 +15841,10 @@ namespace TL return "Messages_SetChatTheme"; }); - /// Get which users read a specific message: only available for groups and supergroups with less than chat_read_mark_size_threshold members, read receipts will be stored for chat_read_mark_expire_period seconds after the message was sent, see client configuration for more info ».
See
+ /// Get which users read a specific message: only available for groups and supergroups with less than chat_read_mark_size_threshold members, read receipts will be stored for chat_read_mark_expire_period seconds after the message was sent, see client configuration for more info ». See /// Dialog /// Message ID + /// Possible errors: 400 (details) public static Task Messages_GetMessageReadParticipants(this Client client, InputPeer peer, int msg_id) => client.CallAsync(writer => { @@ -15684,7 +15854,7 @@ namespace TL return "Messages_GetMessageReadParticipants"; }); - ///
See
+ /// See public static Task Messages_GetSearchResultsCalendar(this Client client, InputPeer peer, MessagesFilter filter, int offset_id, DateTime offset_date) => client.CallAsync(writer => { @@ -15696,7 +15866,7 @@ namespace TL return "Messages_GetSearchResultsCalendar"; }); - ///
See
+ /// See public static Task Messages_GetSearchResultsPositions(this Client client, InputPeer peer, MessagesFilter filter, int offset_id, int limit) => client.CallAsync(writer => { @@ -15708,7 +15878,7 @@ namespace TL return "Messages_GetSearchResultsPositions"; }); - ///
See
+ /// See public static Task Messages_HideChatJoinRequest(this Client client, InputPeer peer, InputUserBase user_id, bool approved = false) => client.CallAsync(writer => { @@ -15719,7 +15889,7 @@ namespace TL return "Messages_HideChatJoinRequest"; }); - /// Returns a current state of updates.
See
+ /// Returns a current state of updates. See public static Task Updates_GetState(this Client client) => client.CallAsync(writer => { @@ -15727,11 +15897,12 @@ namespace TL return "Updates_GetState"; }); - /// Get new updates.
See
+ /// Get new updates. See /// 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. /// QTS, see updates. + /// Possible errors: 400,401,403 (details) public static Task Updates_GetDifference(this Client client, int pts, DateTime date, int qts, int? pts_total_limit = null) => client.CallAsync(writer => { @@ -15745,12 +15916,13 @@ namespace TL return "Updates_GetDifference"; }); - /// Returns the difference between the current state of updates of a certain channel and transmitted.
See
+ /// Returns the difference between the current state of updates of a certain channel and transmitted. See /// Set to true to skip some possibly unneeded updates and reduce server-side load /// The channel /// Messsage filter /// Persistent timestamp (see updates) /// How many updates to fetch, max 100000
Ordinary (non-bot) users are supposed to pass 10-100 + /// Possible errors: 400,403 (details) public static Task Updates_GetChannelDifference(this Client client, InputChannelBase channel, ChannelMessagesFilter filter, int pts, int limit, bool force = false) => client.CallAsync(writer => { @@ -15763,8 +15935,9 @@ namespace TL return "Updates_GetChannelDifference"; }); - /// Installs a previously uploaded photo as a profile photo.
See
+ /// Installs a previously uploaded photo as a profile photo. See /// Input photo + /// Possible errors: 400 (details) public static Task Photos_UpdateProfilePhoto(this Client client, InputPhoto id) => client.CallAsync(writer => { @@ -15773,10 +15946,11 @@ namespace TL return "Photos_UpdateProfilePhoto"; }); - /// Updates current user profile photo.
See
+ /// Updates current user profile photo. See /// File saved in parts by means of upload.saveFilePart method /// Animated profile picture video /// Floating point UNIX timestamp in seconds, indicating the frame of the video that should be used as static preview. + /// Possible errors: 400 (details) public static Task Photos_UploadProfilePhoto(this Client client, InputFileBase file = null, InputFileBase video = null, double? video_start_ts = null) => client.CallAsync(writer => { @@ -15791,7 +15965,7 @@ namespace TL return "Photos_UploadProfilePhoto"; }); - /// Deletes profile photos.
See
+ /// Deletes profile photos. See /// Input photos to delete public static Task Photos_DeletePhotos(this Client client, InputPhoto[] id) => client.CallAsync(writer => @@ -15801,11 +15975,12 @@ namespace TL return "Photos_DeletePhotos"; }); - /// Returns the list of user photos.
See
+ /// Returns the list of user photos. See /// User ID /// Number of list elements to be skipped /// If a positive value was transferred, the method will return only photos with IDs less than the set one /// Number of list elements to be returned + /// Possible errors: 400 (details) public static Task Photos_GetUserPhotos(this Client client, InputUserBase user_id, int offset, long max_id, int limit) => client.CallAsync(writer => { @@ -15817,10 +15992,11 @@ namespace TL return "Photos_GetUserPhotos"; }); - /// Saves a part of file for futher sending to one of the methods.
See
+ /// Saves a part of file for futher sending to one of the methods. See /// Random file identifier created by the client /// Numerical order of a part /// Binary data, contend of a part + /// Possible errors: 400 (details) public static Task Upload_SaveFilePart(this Client client, long file_id, int file_part, byte[] bytes) => client.CallAsync(writer => { @@ -15831,12 +16007,13 @@ namespace TL return "Upload_SaveFilePart"; }); - /// Returns content of a whole file or its part.
See
+ /// Returns content of a whole file or its part. See /// 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 /// Number of bytes to be skipped /// Number of bytes to be returned + /// Possible errors: 400,401,406 (details) public static Task Upload_GetFile(this Client client, InputFileLocationBase location, int offset, int limit, bool precise = false, bool cdn_supported = false) => client.CallAsync(writer => { @@ -15848,11 +16025,12 @@ namespace TL return "Upload_GetFile"; }); - /// Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.
See
+ /// Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods. See /// Random file id, created by the client /// Part sequence number /// Total number of parts /// Binary data, part contents + /// Possible errors: 400 (details) public static Task Upload_SaveBigFilePart(this Client client, long file_id, int file_part, int file_total_parts, byte[] bytes) => client.CallAsync(writer => { @@ -15864,10 +16042,11 @@ namespace TL return "Upload_SaveBigFilePart"; }); - ///
See
+ /// See /// The file to download /// Number of bytes to be skipped /// Number of bytes to be returned + /// Possible errors: 400 (details) public static Task Upload_GetWebFile(this Client client, InputWebFileLocationBase location, int offset, int limit) => client.CallAsync(writer => { @@ -15878,7 +16057,7 @@ namespace TL return "Upload_GetWebFile"; }); - /// Download a CDN file.
See
+ /// Download a CDN file. See /// File token /// Offset of chunk to download /// Length of chunk to download @@ -15892,9 +16071,10 @@ namespace TL return "Upload_GetCdnFile"; }); - /// Request a reupload of a certain file to a CDN DC.
See
+ /// Request a reupload of a certain file to a CDN DC. See /// File token /// Request token + /// Possible errors: 400 (details) public static Task Upload_ReuploadCdnFile(this Client client, byte[] file_token, byte[] request_token) => client.CallAsync(writer => { @@ -15904,9 +16084,10 @@ namespace TL return "Upload_ReuploadCdnFile"; }); - /// Get SHA256 hashes for verifying downloaded CDN files
See
+ /// Get SHA256 hashes for verifying downloaded CDN files See /// File /// Offset from which to start getting hashes + /// Possible errors: 400 (details) public static Task Upload_GetCdnFileHashes(this Client client, byte[] file_token, int offset) => client.CallAsync(writer => { @@ -15916,9 +16097,10 @@ namespace TL return "Upload_GetCdnFileHashes"; }); - /// Get SHA256 hashes for verifying downloaded files
See
+ /// Get SHA256 hashes for verifying downloaded files See /// File /// Offset from which to get file hashes + /// Possible errors: 400 (details) public static Task Upload_GetFileHashes(this Client client, InputFileLocationBase location, int offset) => client.CallAsync(writer => { @@ -15928,7 +16110,8 @@ namespace TL return "Upload_GetFileHashes"; }); - /// Returns current configuration, including data center configuration.
See
+ /// Returns current configuration, including data center configuration. See + /// Possible errors: 400,403 (details) public static Task Help_GetConfig(this Client client) => client.CallAsync(Help_GetConfig); public static string Help_GetConfig(BinaryWriter writer) { @@ -15936,7 +16119,7 @@ namespace TL return "Help_GetConfig"; } - /// Returns info on data centre nearest to the user.
See
+ /// Returns info on data centre nearest to the user. See public static Task Help_GetNearestDc(this Client client) => client.CallAsync(writer => { @@ -15944,7 +16127,7 @@ namespace TL return "Help_GetNearestDc"; }); - /// Returns information on update availability for the current application.
See
+ /// Returns information on update availability for the current application. See /// Source /// a null value means help.noAppUpdate public static Task Help_GetAppUpdate(this Client client, string source) @@ -15955,7 +16138,7 @@ namespace TL return "Help_GetAppUpdate"; }); - /// Returns localized text of a text message with an invitation.
See
+ /// Returns localized text of a text message with an invitation. See public static Task Help_GetInviteText(this Client client) => client.CallAsync(writer => { @@ -15963,7 +16146,7 @@ namespace TL return "Help_GetInviteText"; }); - /// Returns the support user for the 'ask a question' feature.
See
+ /// Returns the support user for the 'ask a question' feature. See public static Task Help_GetSupport(this Client client) => client.CallAsync(writer => { @@ -15971,7 +16154,7 @@ namespace TL return "Help_GetSupport"; }); - /// Get changelog of current app.
Typically, an constructor will be returned, containing one or more updates with app-specific changelogs.
See
+ /// Get changelog of current app.
Typically, an constructor will be returned, containing one or more updates with app-specific changelogs. See
/// Previous app version public static Task Help_GetAppChangelog(this Client client, string prev_app_version) => client.CallAsync(writer => @@ -15981,7 +16164,7 @@ namespace TL return "Help_GetAppChangelog"; }); - /// Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only
See
+ /// Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only See /// Number of pending updates /// Error message, if present public static Task Help_SetBotUpdatesStatus(this Client client, int pending_updates_count, string message) @@ -15993,7 +16176,8 @@ namespace TL return "Help_SetBotUpdatesStatus"; }); - /// Get configuration for CDN file downloads.
See
+ /// Get configuration for CDN file downloads. See + /// Possible errors: 401 (details) public static Task Help_GetCdnConfig(this Client client) => client.CallAsync(writer => { @@ -16001,7 +16185,7 @@ namespace TL return "Help_GetCdnConfig"; }); - /// Get recently used t.me links
See
+ /// Get recently used t.me links See /// Referer public static Task Help_GetRecentMeUrls(this Client client, string referer) => client.CallAsync(writer => @@ -16011,7 +16195,7 @@ namespace TL return "Help_GetRecentMeUrls"; }); - /// Look for updates of telegram's terms of service
See
+ /// Look for updates of telegram's terms of service See public static Task Help_GetTermsOfServiceUpdate(this Client client) => client.CallAsync(writer => { @@ -16019,7 +16203,7 @@ namespace TL return "Help_GetTermsOfServiceUpdate"; }); - /// Accept the new terms of service
See
+ /// Accept the new terms of service See /// ID of terms of service public static Task Help_AcceptTermsOfService(this Client client, DataJSON id) => client.CallAsync(writer => @@ -16029,7 +16213,7 @@ namespace TL return "Help_AcceptTermsOfService"; }); - /// Get info about a t.me link
See
+ /// Get info about a t.me link See /// Path in t.me/path /// a null value means help.deepLinkInfoEmpty public static Task Help_GetDeepLinkInfo(this Client client, string path) @@ -16040,7 +16224,7 @@ namespace TL return "Help_GetDeepLinkInfo"; }); - /// Get app-specific configuration, see client configuration for more info on the result.
See
+ /// Get app-specific configuration, see client configuration for more info on the result. See public static Task Help_GetAppConfig(this Client client) => client.CallAsync(writer => { @@ -16048,7 +16232,7 @@ namespace TL return "Help_GetAppConfig"; }); - /// Saves logs of application on the server.
See
+ /// Saves logs of application on the server. See /// List of input events public static Task Help_SaveAppLog(this Client client, InputAppEvent[] events) => client.CallAsync(writer => @@ -16058,7 +16242,7 @@ namespace TL return "Help_SaveAppLog"; }); - /// Get passport configuration
See
+ /// Get passport configuration See /// Hash for pagination, for more info click here /// a null value means help.passportConfigNotModified public static Task Help_GetPassportConfig(this Client client, int hash) @@ -16069,7 +16253,8 @@ namespace TL return "Help_GetPassportConfig"; }); - /// Get localized name of the telegram support user
See
+ /// Get localized name of the telegram support user See + /// Possible errors: 403 (details) public static Task Help_GetSupportName(this Client client) => client.CallAsync(writer => { @@ -16077,9 +16262,10 @@ namespace TL return "Help_GetSupportName"; }); - /// Internal use
See
+ /// Internal use See /// User ID /// a null value means help.userInfoEmpty + /// Possible errors: 403 (details) public static Task Help_GetUserInfo(this Client client, InputUserBase user_id) => client.CallAsync(writer => { @@ -16088,11 +16274,12 @@ namespace TL return "Help_GetUserInfo"; }); - /// Internal use
See
+ /// Internal use See /// User /// Message /// Message entities for styled text /// a null value means help.userInfoEmpty + /// Possible errors: 400 (details) public static Task Help_EditUserInfo(this Client client, InputUserBase user_id, string message, MessageEntity[] entities) => client.CallAsync(writer => { @@ -16103,7 +16290,7 @@ namespace TL return "Help_EditUserInfo"; }); - /// Get MTProxy/Public Service Announcement information
See
+ /// Get MTProxy/Public Service Announcement information See public static Task Help_GetPromoData(this Client client) => client.CallAsync(writer => { @@ -16111,7 +16298,7 @@ namespace TL return "Help_GetPromoData"; }); - /// Hide MTProxy/Public Service Announcement information
See
+ /// Hide MTProxy/Public Service Announcement information See /// Peer to hide public static Task Help_HidePromoData(this Client client, InputPeer peer) => client.CallAsync(writer => @@ -16121,7 +16308,7 @@ namespace TL return "Help_HidePromoData"; }); - /// Dismiss a suggestion, see here for more info ».
See
+ /// Dismiss a suggestion, see here for more info ». See /// In the case of pending suggestions in , the channel ID. /// Suggestion, see here for more info ». public static Task Help_DismissSuggestion(this Client client, InputPeer peer, string suggestion) @@ -16133,7 +16320,7 @@ namespace TL return "Help_DismissSuggestion"; }); - /// Get name, ISO code, localized name and phone codes/patterns of all available countries
See
+ /// Get name, ISO code, localized name and phone codes/patterns of all available countries See /// Language code of the current user /// Hash for pagination, for more info click here /// a null value means help.countriesListNotModified @@ -16146,9 +16333,10 @@ namespace TL return "Help_GetCountriesList"; }); - /// Mark channel/supergroup history as read
See
+ /// Mark channel/supergroup history as read See /// Channel/supergroup /// ID of message up to which messages should be marked as read + /// Possible errors: 400 (details) public static Task Channels_ReadHistory(this Client client, InputChannelBase channel, int max_id) => client.CallAsync(writer => { @@ -16158,9 +16346,10 @@ namespace TL return "Channels_ReadHistory"; }); - /// Delete messages in a channel/supergroup
See
+ /// Delete messages in a channel/supergroup See /// Channel/supergroup /// IDs of messages to delete + /// Possible errors: 400,403 (details) public static Task Channels_DeleteMessages(this Client client, InputChannelBase channel, int[] id) => client.CallAsync(writer => { @@ -16170,9 +16359,10 @@ namespace TL return "Channels_DeleteMessages"; }); - /// Delete all messages sent by a certain user in a supergroup
See
+ /// Delete all messages sent by a certain user in a supergroup See /// Supergroup /// User whose messages should be deleted + /// Possible errors: 400,403 (details) public static Task Channels_DeleteUserHistory(this Client client, InputChannelBase channel, InputUserBase user_id) => client.CallAsync(writer => { @@ -16182,10 +16372,11 @@ namespace TL return "Channels_DeleteUserHistory"; }); - /// Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup
See
+ /// Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup See /// Supergroup /// ID of the user that sent the spam messages /// IDs of spam messages + /// Possible errors: 400 (details) public static Task Channels_ReportSpam(this Client client, InputChannelBase channel, InputUserBase user_id, int[] id) => client.CallAsync(writer => { @@ -16196,9 +16387,10 @@ namespace TL return "Channels_ReportSpam"; }); - /// Get channel/supergroup messages
See
+ /// Get channel/supergroup messages See /// Channel/supergroup /// IDs of messages to get + /// Possible errors: 400 (details) public static Task Channels_GetMessages(this Client client, InputChannelBase channel, InputMessage[] id) => client.CallAsync(writer => { @@ -16208,13 +16400,14 @@ namespace TL return "Channels_GetMessages"; }); - /// Get the participants of a supergroup/channel
See
+ /// Get the participants of a supergroup/channel See /// Channel /// Which participant types to fetch /// Offset /// Limit /// Hash /// a null value means channels.channelParticipantsNotModified + /// Possible errors: 400 (details) public static Task Channels_GetParticipants(this Client client, InputChannelBase channel, ChannelParticipantsFilter filter, int offset, int limit, long hash) => client.CallAsync(writer => { @@ -16227,9 +16420,10 @@ namespace TL return "Channels_GetParticipants"; }); - /// Get info about a channel/supergroup participant
See
+ /// Get info about a channel/supergroup participant See /// Channel/supergroup /// Participant to get info about + /// Possible errors: 400 (details) public static Task Channels_GetParticipant(this Client client, InputChannelBase channel, InputPeer participant) => client.CallAsync(writer => { @@ -16239,8 +16433,9 @@ namespace TL return "Channels_GetParticipant"; }); - /// Get info about channels/supergroups
See
+ /// Get info about channels/supergroups See /// IDs of channels/supergroups to get info about + /// Possible errors: 400 (details) public static Task Channels_GetChannels(this Client client, InputChannelBase[] id) => client.CallAsync(writer => { @@ -16249,8 +16444,9 @@ namespace TL return "Channels_GetChannels"; }); - /// Get full info about a channel
See
+ /// Get full info about a channel See /// The channel to get info about + /// Possible errors: 400,403 (details) public static Task Channels_GetFullChannel(this Client client, InputChannelBase channel) => client.CallAsync(writer => { @@ -16259,7 +16455,7 @@ namespace TL return "Channels_GetFullChannel"; }); - /// Create a supergroup/channel.
See
+ /// Create a supergroup/channel. See /// 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 @@ -16267,6 +16463,7 @@ namespace TL /// Channel description /// Geogroup location /// Geogroup address + /// Possible errors: 400,403 (details) public static Task Channels_CreateChannel(this Client client, string title, string about, bool broadcast = false, bool megagroup = false, bool for_import = false, InputGeoPoint geo_point = null, string address = null) => client.CallAsync(writer => { @@ -16281,11 +16478,12 @@ namespace TL return "Channels_CreateChannel"; }); - /// Modify the admin rights of a user in a supergroup/channel.
See
+ /// Modify the admin rights of a user in a supergroup/channel. See /// The supergroup/channel. /// The ID of the user whose admin rights should be modified /// The admin rights /// Indicates the role (rank) of the admin in the group: just an arbitrary string + /// Possible errors: 400,403,406 (details) public static Task Channels_EditAdmin(this Client client, InputChannelBase channel, InputUserBase user_id, ChatAdminRights admin_rights, string rank) => client.CallAsync(writer => { @@ -16297,9 +16495,10 @@ namespace TL return "Channels_EditAdmin"; }); - /// Edit the name of a channel/supergroup
See
+ /// Edit the name of a channel/supergroup See /// Channel/supergroup /// New name + /// Possible errors: 400,403 (details) public static Task Channels_EditTitle(this Client client, InputChannelBase channel, string title) => client.CallAsync(writer => { @@ -16309,9 +16508,10 @@ namespace TL return "Channels_EditTitle"; }); - /// Change the photo of a channel/supergroup
See
+ /// Change the photo of a channel/supergroup See /// Channel/supergroup whose photo should be edited /// New photo + /// Possible errors: 400,403 (details) public static Task Channels_EditPhoto(this Client client, InputChannelBase channel, InputChatPhotoBase photo) => client.CallAsync(writer => { @@ -16321,9 +16521,10 @@ namespace TL return "Channels_EditPhoto"; }); - /// Check if a username is free and can be assigned to a channel/supergroup
See
+ /// Check if a username is free and can be assigned to a channel/supergroup See /// The channel/supergroup that will assigned the specified username /// The username to check + /// Possible errors: 400 (details) public static Task Channels_CheckUsername(this Client client, InputChannelBase channel, string username) => client.CallAsync(writer => { @@ -16333,9 +16534,10 @@ namespace TL return "Channels_CheckUsername"; }); - /// Change the username of a supergroup/channel
See
+ /// Change the username of a supergroup/channel See /// Channel /// New username + /// Possible errors: 400,403 (details) public static Task Channels_UpdateUsername(this Client client, InputChannelBase channel, string username) => client.CallAsync(writer => { @@ -16345,8 +16547,9 @@ namespace TL return "Channels_UpdateUsername"; }); - /// Join a channel/supergroup
See
+ /// Join a channel/supergroup See /// Channel/supergroup to join + /// Possible errors: 400 (details) public static Task Channels_JoinChannel(this Client client, InputChannelBase channel) => client.CallAsync(writer => { @@ -16355,8 +16558,9 @@ namespace TL return "Channels_JoinChannel"; }); - /// Leave a channel/supergroup
See
+ /// Leave a channel/supergroup See /// Channel/supergroup to leave + /// Possible errors: 400,403 (details) public static Task Channels_LeaveChannel(this Client client, InputChannelBase channel) => client.CallAsync(writer => { @@ -16365,9 +16569,10 @@ namespace TL return "Channels_LeaveChannel"; }); - /// Invite users to a channel/supergroup
See
+ /// Invite users to a channel/supergroup See /// Channel/supergroup /// Users to invite + /// Possible errors: 400,403 (details) public static Task Channels_InviteToChannel(this Client client, InputChannelBase channel, InputUserBase[] users) => client.CallAsync(writer => { @@ -16377,8 +16582,9 @@ namespace TL return "Channels_InviteToChannel"; }); - /// Delete a channel/supergroup
See
+ /// Delete a channel/supergroup See /// Channel/supergroup to delete + /// Possible errors: 400,403 (details) public static Task Channels_DeleteChannel(this Client client, InputChannelBase channel) => client.CallAsync(writer => { @@ -16387,11 +16593,12 @@ namespace TL return "Channels_DeleteChannel"; }); - /// Get link and embed info of a message in a channel/supergroup
See
+ /// Get link and embed info of a message in a channel/supergroup See /// Whether to include other grouped media (for albums) /// Whether to also include a thread ID, if available, inside of the link /// Channel /// Message ID + /// Possible errors: 400 (details) public static Task Channels_ExportMessageLink(this Client client, InputChannelBase channel, int id, bool grouped = false, bool thread = false) => client.CallAsync(writer => { @@ -16402,9 +16609,10 @@ namespace TL return "Channels_ExportMessageLink"; }); - /// Enable/disable message signatures in channels
See
+ /// Enable/disable message signatures in channels See /// Channel /// Value + /// Possible errors: 400 (details) public static Task Channels_ToggleSignatures(this Client client, InputChannelBase channel, bool enabled) => client.CallAsync(writer => { @@ -16414,9 +16622,10 @@ namespace TL return "Channels_ToggleSignatures"; }); - /// Get channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups.
See
+ /// Get channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups. See /// Get geogroups /// If set and the user has reached the limit of owned public channels/supergroups/geogroups, instead of returning the channel list one of the specified errors will be returned.
Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in channels.checkUsername/channels.updateUsername. + /// Possible errors: 400 (details) public static Task Channels_GetAdminedPublicChannels(this Client client, bool by_location = false, bool check_limit = false) => client.CallAsync(writer => { @@ -16425,10 +16634,11 @@ namespace TL return "Channels_GetAdminedPublicChannels"; }); - /// Ban/unban/kick a user in a supergroup/channel.
See
+ /// Ban/unban/kick a user in a supergroup/channel. See /// The supergroup/channel. /// Participant to ban /// The banned rights + /// Possible errors: 400,403 (details) public static Task Channels_EditBanned(this Client client, InputChannelBase channel, InputPeer participant, ChatBannedRights banned_rights) => client.CallAsync(writer => { @@ -16439,7 +16649,7 @@ namespace TL return "Channels_EditBanned"; }); - /// Get the admin log of a channel/supergroup
See
+ /// Get the admin log of a channel/supergroup See /// Channel /// Search query, can be empty /// Event filter @@ -16447,6 +16657,7 @@ namespace TL /// Maximum ID of message to return (see pagination) /// Minimum ID of message to return (see pagination) /// Maximum number of results to return, see pagination + /// Possible errors: 400,403 (details) public static Task Channels_GetAdminLog(this Client client, InputChannelBase channel, string q, long max_id, long min_id, int limit, ChannelAdminLogEventsFilter events_filter = null, InputUserBase[] admins = null) => client.CallAsync(writer => { @@ -16464,9 +16675,10 @@ namespace TL return "Channels_GetAdminLog"; }); - /// Associate a stickerset to the supergroup
See
+ /// Associate a stickerset to the supergroup See /// Supergroup /// The stickerset to associate + /// Possible errors: 400,406 (details) public static Task Channels_SetStickers(this Client client, InputChannelBase channel, InputStickerSet stickerset) => client.CallAsync(writer => { @@ -16476,9 +16688,10 @@ namespace TL return "Channels_SetStickers"; }); - /// Mark channel/supergroup message contents as read
See
+ /// Mark channel/supergroup message contents as read See /// Channel/supergroup /// IDs of messages whose contents should be marked as read + /// Possible errors: 400 (details) public static Task Channels_ReadMessageContents(this Client client, InputChannelBase channel, int[] id) => client.CallAsync(writer => { @@ -16488,9 +16701,10 @@ namespace TL return "Channels_ReadMessageContents"; }); - /// Delete the history of a supergroup
See
+ /// Delete the history of a supergroup See /// Supergroup whose history must be deleted /// ID of message up to which the history must be deleted + /// Possible errors: 400 (details) public static Task Channels_DeleteHistory(this Client client, InputChannelBase channel, int max_id) => client.CallAsync(writer => { @@ -16500,9 +16714,10 @@ namespace TL return "Channels_DeleteHistory"; }); - /// Hide/unhide message history for new channel/supergroup users
See
+ /// Hide/unhide message history for new channel/supergroup users See /// Channel/supergroup /// Hide/unhide + /// Possible errors: 400 (details) public static Task Channels_TogglePreHistoryHidden(this Client client, InputChannelBase channel, bool enabled) => client.CallAsync(writer => { @@ -16512,8 +16727,9 @@ namespace TL return "Channels_TogglePreHistoryHidden"; }); - /// Get a list of channels/supergroups we left
See
+ /// Get a list of channels/supergroups we left See /// Offset for pagination + /// Possible errors: 403 (details) public static Task Channels_GetLeftChannels(this Client client, int offset) => client.CallAsync(writer => { @@ -16522,7 +16738,7 @@ namespace TL return "Channels_GetLeftChannels"; }); - /// Get all groups that can be used as discussion groups.
See
+ /// Get all groups that can be used as discussion groups. See public static Task Channels_GetGroupsForDiscussion(this Client client) => client.CallAsync(writer => { @@ -16530,9 +16746,10 @@ namespace TL return "Channels_GetGroupsForDiscussion"; }); - /// Associate a group to a channel as discussion group for that channel
See
+ /// Associate a group to a channel as discussion group for that channel See /// Channel /// Discussion group to associate to the channel + /// Possible errors: 400 (details) public static Task Channels_SetDiscussionGroup(this Client client, InputChannelBase broadcast, InputChannelBase group) => client.CallAsync(writer => { @@ -16542,10 +16759,11 @@ namespace TL return "Channels_SetDiscussionGroup"; }); - /// Transfer channel ownership
See
+ /// Transfer channel ownership See /// Channel /// New channel owner /// 2FA password of account + /// Possible errors: 400,403 (details) public static Task Channels_EditCreator(this Client client, InputChannelBase channel, InputUserBase user_id, InputCheckPasswordSRP password) => client.CallAsync(writer => { @@ -16556,10 +16774,11 @@ namespace TL return "Channels_EditCreator"; }); - /// Edit location of geogroup
See
+ /// Edit location of geogroup See /// Geogroup /// New geolocation /// Address string + /// Possible errors: 400 (details) public static Task Channels_EditLocation(this Client client, InputChannelBase channel, InputGeoPoint geo_point, string address) => client.CallAsync(writer => { @@ -16570,9 +16789,10 @@ namespace TL return "Channels_EditLocation"; }); - /// Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds
See
+ /// Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds See /// The supergroup /// Users will only be able to send one message every seconds seconds, 0 to disable the limitation + /// Possible errors: 400 (details) public static Task Channels_ToggleSlowMode(this Client client, InputChannelBase channel, int seconds) => client.CallAsync(writer => { @@ -16582,7 +16802,7 @@ namespace TL return "Channels_ToggleSlowMode"; }); - /// Get inactive channels and supergroups
See
+ /// Get inactive channels and supergroups See public static Task Channels_GetInactiveChannels(this Client client) => client.CallAsync(writer => { @@ -16590,7 +16810,7 @@ namespace TL return "Channels_GetInactiveChannels"; }); - ///
See
+ /// See public static Task Channels_ConvertToGigagroup(this Client client, InputChannelBase channel) => client.CallAsync(writer => { @@ -16599,9 +16819,10 @@ namespace TL return "Channels_ConvertToGigagroup"; }); - /// Mark a specific sponsored message as read
See
+ /// Mark a specific sponsored message as read See /// Peer /// Message ID + /// Possible errors: 400 (details) public static Task Channels_ViewSponsoredMessage(this Client client, InputChannelBase channel, byte[] random_id) => client.CallAsync(writer => { @@ -16611,7 +16832,7 @@ namespace TL return "Channels_ViewSponsoredMessage"; }); - /// Get a list of sponsored messages
See
+ /// Get a list of sponsored messages See /// Peer public static Task Channels_GetSponsoredMessages(this Client client, InputChannelBase channel) => client.CallAsync(writer => @@ -16621,9 +16842,10 @@ namespace TL return "Channels_GetSponsoredMessages"; }); - /// Sends a custom request; for bots only
See
+ /// Sends a custom request; for bots only See /// The method name /// JSON-serialized method parameters + /// Possible errors: 400 (details) public static Task Bots_SendCustomRequest(this Client client, string custom_method, DataJSON params_) => client.CallAsync(writer => { @@ -16633,9 +16855,10 @@ namespace TL return "Bots_SendCustomRequest"; }); - /// Answers a custom query; for bots only
See
+ /// Answers a custom query; for bots only See /// Identifier of a custom query /// JSON-serialized answer to the query + /// Possible errors: 400 (details) public static Task Bots_AnswerWebhookJSONQuery(this Client client, long query_id, DataJSON data) => client.CallAsync(writer => { @@ -16645,10 +16868,11 @@ namespace TL return "Bots_AnswerWebhookJSONQuery"; }); - /// Set bot command list
See
+ /// Set bot command list See /// Command scope /// Language code /// Bot commands + /// Possible errors: 400 (details) public static Task Bots_SetBotCommands(this Client client, BotCommandScope scope, string lang_code, BotCommand[] commands) => client.CallAsync(writer => { @@ -16659,7 +16883,7 @@ namespace TL return "Bots_SetBotCommands"; }); - /// Clear bot commands for the specified bot scope and language code
See
+ /// Clear bot commands for the specified bot scope and language code See /// Command scope /// Language code public static Task Bots_ResetBotCommands(this Client client, BotCommandScope scope, string lang_code) @@ -16671,7 +16895,7 @@ namespace TL return "Bots_ResetBotCommands"; }); - /// Obtain a list of bot commands for the specified bot scope and language code
See
+ /// Obtain a list of bot commands for the specified bot scope and language code See /// Command scope /// Language code public static Task Bots_GetBotCommands(this Client client, BotCommandScope scope, string lang_code) @@ -16683,10 +16907,11 @@ namespace TL return "Bots_GetBotCommands"; }); - /// Get a payment form
See
+ /// Get a payment form See /// The peer where the payment form was sent /// Message ID of payment form /// A JSON object with the following keys, containing color theme information (integers, RGB24) to pass to the payment provider, to apply in eventual verification pages:
bg_color - Background color
text_color - Text color
hint_color - Hint text color
link_color - Link color
button_color - Button color
button_text_color - Button text color + /// Possible errors: 400 (
details) public static Task Payments_GetPaymentForm(this Client client, InputPeer peer, int msg_id, DataJSON theme_params = null) => client.CallAsync(writer => { @@ -16699,9 +16924,10 @@ namespace TL return "Payments_GetPaymentForm"; }); - /// Get payment receipt
See
+ /// Get payment receipt See /// The peer where the payment receipt was sent /// Message ID of receipt + /// Possible errors: 400 (details) public static Task Payments_GetPaymentReceipt(this Client client, InputPeer peer, int msg_id) => client.CallAsync(writer => { @@ -16711,11 +16937,12 @@ namespace TL return "Payments_GetPaymentReceipt"; }); - /// Submit requested order information for validation
See
+ /// Submit requested order information for validation See /// Save order information to re-use it for future orders /// Peer where the payment form was sent /// Message ID of payment form /// Requested order information + /// Possible errors: 400 (details) public static Task Payments_ValidateRequestedInfo(this Client client, InputPeer peer, int msg_id, PaymentRequestedInfo info, bool save = false) => client.CallAsync(writer => { @@ -16727,7 +16954,7 @@ namespace TL return "Payments_ValidateRequestedInfo"; }); - /// Send compiled payment form
See
+ /// Send compiled payment form See /// Form ID /// The peer where the payment form was sent /// Message ID of form @@ -16735,6 +16962,7 @@ namespace TL /// Chosen shipping option ID /// Payment credentials /// Tip, in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). + /// Possible errors: 400 (details) public static Task Payments_SendPaymentForm(this Client client, long form_id, InputPeer peer, int msg_id, InputPaymentCredentialsBase credentials, string requested_info_id = null, string shipping_option_id = null, long? tip_amount = null) => client.CallAsync(writer => { @@ -16753,7 +16981,7 @@ namespace TL return "Payments_SendPaymentForm"; }); - /// Get saved payment information
See
+ /// Get saved payment information See public static Task Payments_GetSavedInfo(this Client client) => client.CallAsync(writer => { @@ -16761,7 +16989,7 @@ namespace TL return "Payments_GetSavedInfo"; }); - /// Clear saved payment information
See
+ /// Clear saved payment information See /// Remove saved payment credentials /// Clear the last order settings saved by the user public static Task Payments_ClearSavedInfo(this Client client, bool credentials = false, bool info = false) @@ -16772,8 +17000,9 @@ namespace TL return "Payments_ClearSavedInfo"; }); - /// Get info about a credit card
See
+ /// Get info about a credit card See /// Credit card number + /// Possible errors: 400 (details) public static Task Payments_GetBankCardData(this Client client, string number) => client.CallAsync(writer => { @@ -16782,7 +17011,7 @@ namespace TL return "Payments_GetBankCardData"; }); - /// Create a stickerset, bots only.
See
+ /// Create a stickerset, bots only. See /// Whether this is a mask stickerset /// Whether this is an animated stickerset /// Stickerset owner @@ -16791,6 +17020,7 @@ namespace TL /// Thumbnail /// Stickers /// Used when importing stickers using the sticker import SDKs, specifies the name of the software that created the stickers + /// Possible errors: 400 (details) public static Task Stickers_CreateStickerSet(this Client client, InputUserBase user_id, string title, string short_name, InputStickerSetItem[] stickers, bool masks = false, bool animated = false, InputDocument thumb = null, string software = null) => client.CallAsync(writer => { @@ -16807,8 +17037,9 @@ namespace TL return "Stickers_CreateStickerSet"; }); - /// Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot.
See
+ /// Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot. See /// The sticker to remove + /// Possible errors: 400 (details) public static Task Stickers_RemoveStickerFromSet(this Client client, InputDocument sticker) => client.CallAsync(writer => { @@ -16817,9 +17048,10 @@ namespace TL return "Stickers_RemoveStickerFromSet"; }); - /// Changes the absolute position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot
See
+ /// Changes the absolute position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot See /// The sticker /// The new position of the sticker, zero-based + /// Possible errors: 400 (details) public static Task Stickers_ChangeStickerPosition(this Client client, InputDocument sticker, int position) => client.CallAsync(writer => { @@ -16829,9 +17061,10 @@ namespace TL return "Stickers_ChangeStickerPosition"; }); - /// Add a sticker to a stickerset, bots only. The sticker set must have been created by the bot.
See
+ /// Add a sticker to a stickerset, bots only. The sticker set must have been created by the bot. See /// The stickerset /// The sticker + /// Possible errors: 400 (details) public static Task Stickers_AddStickerToSet(this Client client, InputStickerSet stickerset, InputStickerSetItem sticker) => client.CallAsync(writer => { @@ -16841,9 +17074,10 @@ namespace TL return "Stickers_AddStickerToSet"; }); - /// Set stickerset thumbnail
See
+ /// Set stickerset thumbnail See /// Stickerset /// Thumbnail + /// Possible errors: 400 (details) public static Task Stickers_SetStickerSetThumb(this Client client, InputStickerSet stickerset, InputDocument thumb) => client.CallAsync(writer => { @@ -16853,8 +17087,9 @@ namespace TL return "Stickers_SetStickerSetThumb"; }); - /// Check whether the given short name is available
See
+ /// Check whether the given short name is available See /// Short name + /// Possible errors: 400 (details) public static Task Stickers_CheckShortName(this Client client, string short_name) => client.CallAsync(writer => { @@ -16863,8 +17098,9 @@ namespace TL return "Stickers_CheckShortName"; }); - /// Suggests a short name for a given stickerpack name
See
+ /// Suggests a short name for a given stickerpack name See /// Sticker pack name + /// Possible errors: 400 (details) public static Task Stickers_SuggestShortName(this Client client, string title) => client.CallAsync(writer => { @@ -16873,7 +17109,7 @@ namespace TL return "Stickers_SuggestShortName"; }); - /// Get phone call configuration to be passed to libtgvoip's shared config
See
+ /// Get phone call configuration to be passed to libtgvoip's shared config See public static Task Phone_GetCallConfig(this Client client) => client.CallAsync(writer => { @@ -16881,12 +17117,13 @@ namespace TL return "Phone_GetCallConfig"; }); - /// Start a telegram phone call
See
+ /// Start a telegram phone call See /// Whether to start a video call /// Destination of the phone call /// Random ID to avoid resending the same object /// Parameter for E2E encryption key exchange » /// Phone call settings + /// Possible errors: 400,403 (details) public static Task Phone_RequestCall(this Client client, InputUserBase user_id, int random_id, byte[] g_a_hash, PhoneCallProtocol protocol, bool video = false) => client.CallAsync(writer => { @@ -16899,10 +17136,11 @@ namespace TL return "Phone_RequestCall"; }); - /// Accept incoming call
See
+ /// Accept incoming call See /// The call to accept /// Parameter for E2E encryption key exchange » /// Phone call settings + /// Possible errors: 400 (details) public static Task Phone_AcceptCall(this Client client, InputPhoneCall peer, byte[] g_b, PhoneCallProtocol protocol) => client.CallAsync(writer => { @@ -16913,11 +17151,12 @@ namespace TL return "Phone_AcceptCall"; }); - /// Complete phone call E2E encryption key exchange »
See
+ /// Complete phone call E2E encryption key exchange » See /// The phone call /// Parameter for E2E encryption key exchange » /// Key fingerprint /// Phone call settings + /// Possible errors: 400 (details) public static Task Phone_ConfirmCall(this Client client, InputPhoneCall peer, byte[] g_a, long key_fingerprint, PhoneCallProtocol protocol) => client.CallAsync(writer => { @@ -16929,8 +17168,9 @@ namespace TL return "Phone_ConfirmCall"; }); - /// Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.
See
+ /// Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended. See /// The phone call we're currently in + /// Possible errors: 400 (details) public static Task Phone_ReceivedCall(this Client client, InputPhoneCall peer) => client.CallAsync(writer => { @@ -16939,12 +17179,13 @@ namespace TL return "Phone_ReceivedCall"; }); - /// Refuse or end running call
See
+ /// Refuse or end running call See /// Whether this is a video call /// The phone call /// Call duration /// Why was the call discarded /// Preferred libtgvoip relay ID + /// Possible errors: 400 (details) public static Task Phone_DiscardCall(this Client client, InputPhoneCall peer, int duration, PhoneCallDiscardReason reason, long connection_id, bool video = false) => client.CallAsync(writer => { @@ -16957,11 +17198,12 @@ namespace TL return "Phone_DiscardCall"; }); - /// Rate a call
See
+ /// Rate a call See /// Whether the user decided on their own initiative to rate the call /// The call to rate /// Rating in 1-5 stars /// An additional comment + /// Possible errors: 400 (details) public static Task Phone_SetCallRating(this Client client, InputPhoneCall peer, int rating, string comment, bool user_initiative = false) => client.CallAsync(writer => { @@ -16973,9 +17215,10 @@ namespace TL return "Phone_SetCallRating"; }); - /// Send phone call debug data to server
See
+ /// Send phone call debug data to server See /// Phone call /// Debug statistics obtained from libtgvoip + /// Possible errors: 400 (details) public static Task Phone_SaveCallDebug(this Client client, InputPhoneCall peer, DataJSON debug) => client.CallAsync(writer => { @@ -16985,7 +17228,7 @@ namespace TL return "Phone_SaveCallDebug"; }); - /// Send VoIP signaling data
See
+ /// Send VoIP signaling data See /// Phone call /// Signaling payload public static Task Phone_SendSignalingData(this Client client, InputPhoneCall peer, byte[] data) @@ -16997,11 +17240,12 @@ namespace TL return "Phone_SendSignalingData"; }); - /// Create a group call or livestream
See
+ /// Create a group call or livestream See /// Associate the group call or livestream to the provided group/supergroup/channel /// Unique client message ID required to prevent creation of duplicate group calls /// Call title /// For scheduled group call or livestreams, the absolute date when the group call will start + /// Possible errors: 400 (details) public static Task Phone_CreateGroupCall(this Client client, InputPeer peer, int random_id, string title = null, DateTime? schedule_date = null) => client.CallAsync(writer => { @@ -17016,13 +17260,14 @@ namespace TL return "Phone_CreateGroupCall"; }); - /// Join a group call
See
+ /// Join a group call See /// If set, the user will be muted by default upon joining. /// 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: https://t.me/username?voicechat=hash /// WebRTC parameters + /// Possible errors: 400 (details) public static Task Phone_JoinGroupCall(this Client client, InputGroupCall call, InputPeer join_as, DataJSON params_, bool muted = false, bool video_stopped = false, string invite_hash = null) => client.CallAsync(writer => { @@ -17036,7 +17281,7 @@ namespace TL return "Phone_JoinGroupCall"; }); - /// Leave a group call
See
+ /// Leave a group call See /// The group call /// Your source ID public static Task Phone_LeaveGroupCall(this Client client, InputGroupCall call, int source) @@ -17048,9 +17293,10 @@ namespace TL return "Phone_LeaveGroupCall"; }); - /// Invite a set of users to a group call.
See
+ /// Invite a set of users to a group call. See /// The group call /// The users to invite. + /// Possible errors: 403 (details) public static Task Phone_InviteToGroupCall(this Client client, InputGroupCall call, InputUserBase[] users) => client.CallAsync(writer => { @@ -17060,7 +17306,7 @@ namespace TL return "Phone_InviteToGroupCall"; }); - /// Terminate a group call
See
+ /// Terminate a group call See /// The group call to terminate public static Task Phone_DiscardGroupCall(this Client client, InputGroupCall call) => client.CallAsync(writer => @@ -17070,10 +17316,11 @@ namespace TL return "Phone_DiscardGroupCall"; }); - /// Change group call settings
See
+ /// Change group call settings See /// Invalidate existing invite links /// Group call /// Whether all users will bthat join this group calle muted by default upon joining the group call + /// Possible errors: 400 (details) public static Task Phone_ToggleGroupCallSettings(this Client client, InputGroupCall call, bool reset_invite_hash = false, bool? join_muted = default) => client.CallAsync(writer => { @@ -17085,7 +17332,7 @@ namespace TL return "Phone_ToggleGroupCallSettings"; }); - /// Get info about a group call
See
+ /// Get info about a group call See /// The group call /// Maximum number of results to return, see pagination public static Task Phone_GetGroupCall(this Client client, InputGroupCall call, int limit) @@ -17097,7 +17344,7 @@ namespace TL return "Phone_GetGroupCall"; }); - /// Get group call participants
See
+ /// Get group call participants See /// Group call /// If specified, will fetch group participant info about the specified peers /// If specified, will fetch group participant info about the specified WebRTC source IDs @@ -17115,7 +17362,7 @@ namespace TL return "Phone_GetGroupParticipants"; }); - /// Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs
See
+ /// Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs See /// Group call /// Source IDs public static Task Phone_CheckGroupCall(this Client client, InputGroupCall call, int[] sources) @@ -17127,7 +17374,7 @@ namespace TL return "Phone_CheckGroupCall"; }); - /// Start or stop recording a group call: the recorded audio and video streams will be automatically sent to Saved messages (the chat with ourselves).
See
+ /// Start or stop recording a group call: the recorded audio and video streams will be automatically sent to Saved messages (the chat with ourselves). See /// Whether to start or stop recording /// Whether to also record video streams /// The group call or livestream @@ -17146,7 +17393,7 @@ namespace TL return "Phone_ToggleGroupCallRecord"; }); - /// Edit information about a given group call participant
See
+ /// Edit information about a given group call participant See /// The group call /// The group call participant (can also be the user itself) /// Whether to mute or unmute the specified participant @@ -17155,6 +17402,7 @@ namespace TL /// Start or stop the video stream /// Pause or resume the video stream /// Pause or resume the screen sharing stream + /// Possible errors: 400 (details) public static Task Phone_EditGroupCallParticipant(this Client client, InputGroupCall call, InputPeer participant, bool? muted = default, int? volume = null, bool? raise_hand = default, bool? video_stopped = default, bool? video_paused = default, bool? presentation_paused = default) => client.CallAsync(writer => { @@ -17177,7 +17425,7 @@ namespace TL return "Phone_EditGroupCallParticipant"; }); - /// Edit the title of a group call or livestream
See
+ /// Edit the title of a group call or livestream See /// Group call /// New title public static Task Phone_EditGroupCallTitle(this Client client, InputGroupCall call, string title) @@ -17189,7 +17437,7 @@ namespace TL return "Phone_EditGroupCallTitle"; }); - /// Get a list of peers that can be used to join a group call, presenting yourself as a specific user/channel.
See
+ /// Get a list of peers that can be used to join a group call, presenting yourself as a specific user/channel. See /// The dialog whose group call or livestream we're trying to join public static Task Phone_GetGroupCallJoinAs(this Client client, InputPeer peer) => client.CallAsync(writer => @@ -17199,7 +17447,7 @@ namespace TL return "Phone_GetGroupCallJoinAs"; }); - /// Get an invite link for a group call or livestream
See
+ /// Get an invite link for a group call or livestream See /// For livestreams, 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) @@ -17211,7 +17459,7 @@ namespace TL return "Phone_ExportGroupCallInvite"; }); - /// Subscribe or unsubscribe to a scheduled group call
See
+ /// Subscribe or unsubscribe to a scheduled group call See /// Scheduled group call /// Enable or disable subscription public static Task Phone_ToggleGroupCallStartSubscription(this Client client, InputGroupCall call, bool subscribed) @@ -17223,7 +17471,7 @@ namespace TL return "Phone_ToggleGroupCallStartSubscription"; }); - /// Start a scheduled group call.
See
+ /// Start a scheduled group call. See /// The scheduled group call public static Task Phone_StartScheduledGroupCall(this Client client, InputGroupCall call) => client.CallAsync(writer => @@ -17233,7 +17481,7 @@ namespace TL return "Phone_StartScheduledGroupCall"; }); - /// Set the default peer that will be used to join a group call in a specific dialog.
See
+ /// Set the default peer that will be used to join a group call in a specific dialog. See /// The dialog /// The default peer that will be used to join group calls in this dialog, presenting yourself as a specific user/channel. public static Task Phone_SaveDefaultGroupCallJoinAs(this Client client, InputPeer peer, InputPeer join_as) @@ -17245,9 +17493,10 @@ namespace TL return "Phone_SaveDefaultGroupCallJoinAs"; }); - /// Start screen sharing in a call
See
+ /// Start screen sharing in a call See /// The group call /// WebRTC parameters + /// Possible errors: 403 (details) public static Task Phone_JoinGroupCallPresentation(this Client client, InputGroupCall call, DataJSON params_) => client.CallAsync(writer => { @@ -17257,7 +17506,7 @@ namespace TL return "Phone_JoinGroupCallPresentation"; }); - /// Stop screen sharing in a group call
See
+ /// Stop screen sharing in a group call See /// The group call public static Task Phone_LeaveGroupCallPresentation(this Client client, InputGroupCall call) => client.CallAsync(writer => @@ -17267,9 +17516,10 @@ namespace TL return "Phone_LeaveGroupCallPresentation"; }); - /// Get localization pack strings
See
+ /// Get localization pack strings See /// Language pack name /// Language code + /// Possible errors: 400 (details) public static Task Langpack_GetLangPack(this Client client, string lang_pack, string lang_code) => client.CallAsync(writer => { @@ -17279,10 +17529,11 @@ namespace TL return "Langpack_GetLangPack"; }); - /// Get strings from a language pack
See
+ /// Get strings from a language pack See /// Language pack name /// Language code /// Strings to get + /// Possible errors: 400 (details) public static Task Langpack_GetStrings(this Client client, string lang_pack, string lang_code, string[] keys) => client.CallAsync(writer => { @@ -17293,10 +17544,11 @@ namespace TL return "Langpack_GetStrings"; }); - /// Get new strings in languagepack
See
+ /// Get new strings in languagepack See /// Language pack /// Language code /// Previous localization pack version + /// Possible errors: 400 (details) public static Task Langpack_GetDifference(this Client client, string lang_pack, string lang_code, int from_version) => client.CallAsync(writer => { @@ -17307,8 +17559,9 @@ namespace TL return "Langpack_GetDifference"; }); - /// Get information about all languages in a localization pack
See
+ /// Get information about all languages in a localization pack See /// Language pack + /// Possible errors: 400 (details) public static Task Langpack_GetLanguages(this Client client, string lang_pack) => client.CallAsync(writer => { @@ -17317,7 +17570,7 @@ namespace TL return "Langpack_GetLanguages"; }); - /// Get information about a language in a localization pack
See
+ /// Get information about a language in a localization pack See /// Language pack name /// Language code public static Task Langpack_GetLanguage(this Client client, string lang_pack, string lang_code) @@ -17329,8 +17582,9 @@ namespace TL return "Langpack_GetLanguage"; }); - /// Edit peers in peer folder
See
+ /// Edit peers in peer folder See /// New peer list + /// Possible errors: 400 (details) public static Task Folders_EditPeerFolders(this Client client, InputFolderPeer[] folder_peers) => client.CallAsync(writer => { @@ -17339,8 +17593,9 @@ namespace TL return "Folders_EditPeerFolders"; }); - /// Delete a peer folder
See
+ /// Delete a peer folder See /// Peer folder ID, for more info click here + /// Possible errors: 400 (details) public static Task Folders_DeleteFolder(this Client client, int folder_id) => client.CallAsync(writer => { @@ -17349,9 +17604,10 @@ namespace TL return "Folders_DeleteFolder"; }); - /// Get channel statistics
See
+ /// Get channel statistics See /// Whether to enable dark theme for graph colors /// The channel + /// Possible errors: 400 (details) public static Task Stats_GetBroadcastStats(this Client client, InputChannelBase channel, bool dark = false) => client.CallAsync(writer => { @@ -17361,9 +17617,10 @@ namespace TL return "Stats_GetBroadcastStats"; }); - /// Load channel statistics graph asynchronously
See
+ /// Load channel statistics graph asynchronously See /// Graph token from constructor /// Zoom value, if required + /// Possible errors: 400 (details) public static Task Stats_LoadAsyncGraph(this Client client, string token, long? x = null) => client.CallAsync(writer => { @@ -17375,9 +17632,10 @@ namespace TL return "Stats_LoadAsyncGraph"; }); - /// Get supergroup statistics
See
+ /// Get supergroup statistics See /// Whether to enable dark theme for graph colors /// Supergroup ID + /// Possible errors: 400 (details) public static Task Stats_GetMegagroupStats(this Client client, InputChannelBase channel, bool dark = false) => client.CallAsync(writer => { @@ -17387,13 +17645,14 @@ namespace TL return "Stats_GetMegagroupStats"; }); - /// Obtains a list of messages, indicating to which other public channels was a channel message forwarded.
Will return a list of with peer_id equal to the public channel to which this message was forwarded.
See
+ /// Obtains a list of messages, indicating to which other public channels was a channel message forwarded.
Will return a list of with peer_id equal to the public channel to which this message was forwarded. See
/// Source channel /// Source message ID /// Initially 0, then set to the next_rate parameter of /// Offsets for pagination, for more info click here /// Offsets for pagination, for more info click here /// Maximum number of results to return, see pagination + /// Possible errors: 400 (details) public static Task Stats_GetMessagePublicForwards(this Client client, InputChannelBase channel, int msg_id, int offset_rate, InputPeer offset_peer, int offset_id, int limit) => client.CallAsync(writer => { @@ -17407,10 +17666,11 @@ namespace TL return "Stats_GetMessagePublicForwards"; }); - /// Get message statistics
See
+ /// Get message statistics See /// Whether to enable dark theme for graph colors /// Channel ID /// Message ID + /// Possible errors: 400 (details) public static Task Stats_GetMessageStats(this Client client, InputChannelBase channel, int msg_id, bool dark = false) => client.CallAsync(writer => { diff --git a/src/TL.Secret.cs b/src/TL.Secret.cs index 1c9c390..afd1572 100644 --- a/src/TL.Secret.cs +++ b/src/TL.Secret.cs @@ -7,21 +7,21 @@ namespace TL using BinaryWriter = System.IO.BinaryWriter; using Client = WTelegram.Client; - ///
See
+ /// Object describes the contents of an encrypted message. See public abstract partial class DecryptedMessageBase : ITLObject { /// Random message ID, assigned by the author of message.
Must be equal to the ID passed to sending method.
public abstract long RandomId { get; } } - ///
Object describes media contents of an encrypted message.
See
+ /// Object describes media contents of an encrypted message. See /// a null value means decryptedMessageMediaEmpty public abstract partial class DecryptedMessageMedia : ITLObject { } - /// Object describes the action to which a service message is linked.
See
+ /// Object describes the action to which a service message is linked. See public abstract partial class DecryptedMessageAction : ITLObject { } - ///
See
+ /// Indicates the location of a photo, will be deprecated soon See public abstract partial class FileLocationBase : ITLObject { /// Server volume @@ -34,7 +34,7 @@ namespace TL namespace Layer8 { - /// Contents of an encrypted message.
See
+ /// Contents of an encrypted message. See [TLDef(0x1F814F1F)] public partial class DecryptedMessage : DecryptedMessageBase { @@ -49,7 +49,7 @@ namespace TL /// Random message ID, assigned by the author of message.
Must be equal to the ID passed to sending method.
public override long RandomId => random_id; } - ///
Contents of an encrypted service message.
See
+ /// Contents of an encrypted service message. See [TLDef(0xAA48327D)] public partial class DecryptedMessageService : DecryptedMessageBase { @@ -63,7 +63,7 @@ namespace TL public override long RandomId => random_id; } - /// Photo attached to an encrypted message.
See
+ /// Photo attached to an encrypted message. See [TLDef(0x32798A8C)] public partial class DecryptedMessageMediaPhoto : DecryptedMessageMedia { @@ -84,7 +84,7 @@ namespace TL /// Initialization vector public byte[] iv; } - /// Video attached to an encrypted message.
See
+ /// Video attached to an encrypted message. See [TLDef(0x4CEE6EF3)] public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia { @@ -107,7 +107,7 @@ namespace TL /// Initialization vector public byte[] iv; } - /// GeoPont attached to an encrypted message.
See
+ /// GeoPont attached to an encrypted message. See [TLDef(0x35480A59)] public partial class DecryptedMessageMediaGeoPoint : DecryptedMessageMedia { @@ -116,7 +116,7 @@ namespace TL /// Longtitude of point public double long_; } - /// Contact attached to an encrypted message.
See
+ /// Contact attached to an encrypted message. See [TLDef(0x588A0A97)] public partial class DecryptedMessageMediaContact : DecryptedMessageMedia { @@ -129,7 +129,7 @@ namespace TL /// Telegram User ID of signed-up contact public int user_id; } - /// Document attached to a message in a secret chat.
See
+ /// Document attached to a message in a secret chat. See [TLDef(0xB095434B)] public partial class DecryptedMessageMediaDocument : DecryptedMessageMedia { @@ -149,7 +149,7 @@ namespace TL /// Initialization public byte[] iv; } - /// Audio file attached to a secret chat message.
See
+ /// Audio file attached to a secret chat message. See [TLDef(0x6080758F)] public partial class DecryptedMessageMediaAudio : DecryptedMessageMedia { @@ -163,55 +163,55 @@ namespace TL public byte[] iv; } - /// Setting of a message lifetime after reading.
See
+ /// Setting of a message lifetime after reading. See [TLDef(0xA1733AEC)] public partial class DecryptedMessageActionSetMessageTTL : DecryptedMessageAction { /// Lifetime in seconds public int ttl_seconds; } - /// Messages marked as read.
See
+ /// Messages marked as read. See [TLDef(0x0C4F40BE)] public partial class DecryptedMessageActionReadMessages : DecryptedMessageAction { /// List of message IDs public long[] random_ids; } - /// Deleted messages.
See
+ /// Deleted messages. See [TLDef(0x65614304)] public partial class DecryptedMessageActionDeleteMessages : DecryptedMessageAction { /// List of deleted message IDs public long[] random_ids; } - /// A screenshot was taken.
See
+ /// A screenshot was taken. See [TLDef(0x8AC1F475)] public partial class DecryptedMessageActionScreenshotMessages : DecryptedMessageAction { /// List of affected message ids (that appeared on the screenshot) public long[] random_ids; } - /// The entire message history has been deleted.
See
+ /// The entire message history has been deleted. See [TLDef(0x6719E45C)] public partial class DecryptedMessageActionFlushHistory : DecryptedMessageAction { } } namespace Layer17 { - /// User is uploading a video.
See
+ /// User is uploading a video. See [TLDef(0x92042FF7)] public partial class SendMessageUploadVideoAction : SendMessageAction { } - /// User is uploading a voice message.
See
+ /// User is uploading a voice message. See [TLDef(0xE6AC8A6F)] public partial class SendMessageUploadAudioAction : SendMessageAction { } - /// User is uploading a photo.
See
+ /// User is uploading a photo. See [TLDef(0x990A3C1A)] public partial class SendMessageUploadPhotoAction : SendMessageAction { } - /// User is uploading a file.
See
+ /// User is uploading a file. See [TLDef(0x8FAEE98E)] public partial class SendMessageUploadDocumentAction : SendMessageAction { } - /// Contents of an encrypted message.
See
+ /// Contents of an encrypted message. See [TLDef(0x204D3878)] public partial class DecryptedMessage : DecryptedMessageBase { @@ -227,7 +227,7 @@ namespace TL /// Random message ID, assigned by the author of message.
Must be equal to the ID passed to sending method.
public override long RandomId => random_id; } - ///
Contents of an encrypted service message.
See
+ /// Contents of an encrypted service message. See [TLDef(0x73164160)] public partial class DecryptedMessageService : DecryptedMessageBase { @@ -240,7 +240,7 @@ namespace TL public override long RandomId => random_id; } - /// Video attached to an encrypted message.
See
+ /// Video attached to an encrypted message. See [TLDef(0x524A415D)] public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia { @@ -265,7 +265,7 @@ namespace TL /// Initialization vector public byte[] iv; } - /// Audio file attached to a secret chat message.
See
+ /// Audio file attached to a secret chat message. See [TLDef(0x57E0A9CB)] public partial class DecryptedMessageMediaAudio : DecryptedMessageMedia { @@ -281,7 +281,7 @@ namespace TL public byte[] iv; } - /// Request for the other party in a Secret Chat to automatically resend a contiguous range of previously sent messages, as explained in Sequence number is Secret Chats.
See
+ /// Request for the other party in a Secret Chat to automatically resend a contiguous range of previously sent messages, as explained in Sequence number is Secret Chats. See [TLDef(0x511110B0)] public partial class DecryptedMessageActionResend : DecryptedMessageAction { @@ -290,14 +290,14 @@ namespace TL /// out_seq_no of the last message to be resent, with same parity. public int end_seq_no; } - /// A notification stating the API layer that is used by the client. You should use your current layer and take notice of the layer used on the other side of a conversation when sending messages.
See
+ /// A notification stating the API layer that is used by the client. You should use your current layer and take notice of the layer used on the other side of a conversation when sending messages. See [TLDef(0xF3048883)] public partial class DecryptedMessageActionNotifyLayer : DecryptedMessageAction { /// Layer number, must be 17 or higher (this contructor was introduced in Layer 17). public int layer; } - /// User is preparing a message: typing, recording, uploading, etc.
See
+ /// User is preparing a message: typing, recording, uploading, etc. See [TLDef(0xCCB27641)] public partial class DecryptedMessageActionTyping : DecryptedMessageAction { @@ -305,7 +305,7 @@ namespace TL public SendMessageAction action; } - /// Sets the layer number for the contents of an encrypted message.
See
+ /// Sets the layer number for the contents of an encrypted message. See [TLDef(0x1BE31789)] public partial class DecryptedMessageLayer : ITLObject { @@ -324,7 +324,7 @@ namespace TL namespace Layer45 { - /// Defines a sticker
See
+ /// Defines a sticker See [TLDef(0x3A556302)] public partial class DocumentAttributeSticker : DocumentAttribute { @@ -333,7 +333,7 @@ namespace TL /// Associated stickerset public InputStickerSet stickerset; } - /// Represents an audio file
See
+ /// Represents an audio file See [TLDef(0xDED218E0)] public partial class DocumentAttributeAudio : DocumentAttribute { @@ -345,7 +345,7 @@ namespace TL public string performer; } - /// Contents of an encrypted message.
See
+ /// Contents of an encrypted message. See [TLDef(0x36B091DE)] public partial class DecryptedMessage : DecryptedMessageBase { @@ -382,7 +382,7 @@ namespace TL public override long RandomId => random_id; } - /// Photo attached to an encrypted message.
See
+ /// Photo attached to an encrypted message. See [TLDef(0xF1FA8D78)] public partial class DecryptedMessageMediaPhoto : DecryptedMessageMedia { @@ -405,7 +405,7 @@ namespace TL /// Caption public string caption; } - /// Video attached to an encrypted message.
See
+ /// Video attached to an encrypted message. See [TLDef(0x970C8C0E)] public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia { @@ -432,7 +432,7 @@ namespace TL /// Caption public string caption; } - /// Document attached to a message in a secret chat.
See
+ /// Document attached to a message in a secret chat. See [TLDef(0x7AFE8AE2)] public partial class DecryptedMessageMediaDocument : DecryptedMessageMedia { @@ -455,7 +455,7 @@ namespace TL /// Caption public string caption; } - /// Venue
See
+ /// Venue See [TLDef(0x8A0DF56F)] public partial class DecryptedMessageMediaVenue : DecryptedMessageMedia { @@ -472,7 +472,7 @@ namespace TL /// Venue ID in the provider's database public string venue_id; } - /// Webpage preview
See
+ /// Webpage preview See [TLDef(0xE50511D8)] public partial class DecryptedMessageMediaWebPage : DecryptedMessageMedia { @@ -483,7 +483,7 @@ namespace TL namespace Layer73 { - /// Contents of an encrypted message.
See
+ /// Contents of an encrypted message. See [TLDef(0x91CC4674)] public partial class DecryptedMessage : DecryptedMessageBase { @@ -527,7 +527,7 @@ namespace TL namespace Layer20 { - /// Request rekeying, see rekeying process
See
+ /// Request rekeying, see rekeying process See [TLDef(0xF3C9611B)] public partial class DecryptedMessageActionRequestKey : DecryptedMessageAction { @@ -536,7 +536,7 @@ namespace TL /// g_a, see rekeying process public byte[] g_a; } - /// Accept new key
See
+ /// Accept new key See [TLDef(0x6FE1735B)] public partial class DecryptedMessageActionAcceptKey : DecryptedMessageAction { @@ -547,14 +547,14 @@ namespace TL /// Key fingerprint, see rekeying process public long key_fingerprint; } - /// Abort rekeying
See
+ /// Abort rekeying See [TLDef(0xDD05EC6B)] public partial class DecryptedMessageActionAbortKey : DecryptedMessageAction { /// Exchange ID public long exchange_id; } - /// Commit new key, see rekeying process
See
+ /// Commit new key, see rekeying process See [TLDef(0xEC2E0B9B)] public partial class DecryptedMessageActionCommitKey : DecryptedMessageAction { @@ -563,14 +563,14 @@ namespace TL /// Key fingerprint, see rekeying process public long key_fingerprint; } - /// NOOP action
See
+ /// NOOP action See [TLDef(0xA82FDD63)] public partial class DecryptedMessageActionNoop : DecryptedMessageAction { } } namespace Layer23 { - /// Image description.
See
+ /// Image description. See [TLDef(0x77BFB61B)] public partial class PhotoSize : PhotoSizeBase { @@ -587,7 +587,7 @@ namespace TL /// Thumbnail type public override string Type => type; } - /// Description of an image and its content.
See
+ /// Description of an image and its content. See [TLDef(0xE9A734FA)] public partial class PhotoCachedSize : PhotoSizeBase { @@ -605,10 +605,10 @@ namespace TL public override string Type => type; } - /// Defines a sticker
See
+ /// Defines a sticker See [TLDef(0xFB0A5727)] public partial class DocumentAttributeSticker : DocumentAttribute { } - /// Defines a video
See
+ /// Defines a video See [TLDef(0x5910CCCB)] public partial class DocumentAttributeVideo : DocumentAttribute { @@ -619,7 +619,7 @@ namespace TL /// Video height public int h; } - /// Represents an audio file
See
+ /// Represents an audio file See [TLDef(0x051448E5)] public partial class DocumentAttributeAudio : DocumentAttribute { @@ -627,7 +627,7 @@ namespace TL public int duration; } - /// Non-e2e documented forwarded from non-secret chat
See
+ /// Non-e2e documented forwarded from non-secret chat See [TLDef(0xFA95B0DD)] public partial class DecryptedMessageMediaExternalDocument : DecryptedMessageMedia { @@ -649,7 +649,7 @@ namespace TL public DocumentAttribute[] attributes; } - /// File is currently unavailable.
See
+ /// File is currently unavailable. See [TLDef(0x7C596B46)] public partial class FileLocationUnavailable : FileLocationBase { @@ -667,7 +667,7 @@ namespace TL /// Checksum to access the file public override long Secret => secret; } - /// File location.
See
+ /// File location. See [TLDef(0x53D69076)] public partial class FileLocation : FileLocationBase { @@ -691,7 +691,7 @@ namespace TL namespace Layer66 { - /// User is uploading a round video
See
+ /// User is uploading a round video See [TLDef(0xBB718624)] public partial class SendMessageUploadRoundAction : SendMessageAction { } } diff --git a/src/TL.cs b/src/TL.cs index f9d5160..e9b2d30 100644 --- a/src/TL.cs +++ b/src/TL.cs @@ -333,6 +333,7 @@ namespace TL { public readonly int Code; public RpcException(int code, string message) : base(message) => Code = code; + public override string ToString() => $"RpcException: {Code} {Message}"; } public class ReactorError : ITLObject