mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
Upgrade to layer 135
This commit is contained in:
parent
934895a81c
commit
e7b9ea93cd
362
src/TL.Schema.cs
362
src/TL.Schema.cs
|
|
@ -51,7 +51,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
/// <summary>Defines a user for further interaction. <para>See <a href="https://corefork.telegram.org/constructor/inputPeerUser"/></para></summary>
|
/// <summary>Defines a user for further interaction. <para>See <a href="https://corefork.telegram.org/constructor/inputPeerUser"/></para></summary>
|
||||||
[TLDef(0xDDE8A54C)]
|
[TLDef(0xDDE8A54C)]
|
||||||
public class InputPeerUser : InputPeer
|
public partial class InputPeerUser : InputPeer
|
||||||
{
|
{
|
||||||
/// <summary>User identifier</summary>
|
/// <summary>User identifier</summary>
|
||||||
public long user_id;
|
public long user_id;
|
||||||
|
|
@ -60,7 +60,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
/// <summary>Defines a channel for further interaction. <para>See <a href="https://corefork.telegram.org/constructor/inputPeerChannel"/></para></summary>
|
/// <summary>Defines a channel for further interaction. <para>See <a href="https://corefork.telegram.org/constructor/inputPeerChannel"/></para></summary>
|
||||||
[TLDef(0x27BCBBFC)]
|
[TLDef(0x27BCBBFC)]
|
||||||
public class InputPeerChannel : InputPeer
|
public partial class InputPeerChannel : InputPeer
|
||||||
{
|
{
|
||||||
/// <summary>Channel identifier</summary>
|
/// <summary>Channel identifier</summary>
|
||||||
public long channel_id;
|
public long channel_id;
|
||||||
|
|
@ -897,6 +897,7 @@ namespace TL
|
||||||
call_active = 0x800000,
|
call_active = 0x800000,
|
||||||
/// <summary>Whether there's anyone in the group call</summary>
|
/// <summary>Whether there's anyone in the group call</summary>
|
||||||
call_not_empty = 0x1000000,
|
call_not_empty = 0x1000000,
|
||||||
|
noforwards = 0x2000000,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>ID of the group</summary>
|
/// <summary>ID of the group</summary>
|
||||||
|
|
@ -993,6 +994,7 @@ namespace TL
|
||||||
fake = 0x2000000,
|
fake = 0x2000000,
|
||||||
/// <summary>Whether this <a href="https://corefork.telegram.org/api/channel">supergroup</a> is a gigagroup</summary>
|
/// <summary>Whether this <a href="https://corefork.telegram.org/api/channel">supergroup</a> is a gigagroup</summary>
|
||||||
gigagroup = 0x4000000,
|
gigagroup = 0x4000000,
|
||||||
|
noforwards = 0x8000000,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>ID of the channel</summary>
|
/// <summary>ID of the channel</summary>
|
||||||
|
|
@ -1116,7 +1118,7 @@ namespace TL
|
||||||
public override int Folder => folder_id;
|
public override int Folder => folder_id;
|
||||||
}
|
}
|
||||||
/// <summary>Full info about a <a href="https://corefork.telegram.org/api/channel">channel/supergroup</a> <para>See <a href="https://corefork.telegram.org/constructor/channelFull"/></para></summary>
|
/// <summary>Full info about a <a href="https://corefork.telegram.org/api/channel">channel/supergroup</a> <para>See <a href="https://corefork.telegram.org/constructor/channelFull"/></para></summary>
|
||||||
[TLDef(0x59CFF963)]
|
[TLDef(0x56662E2E)]
|
||||||
public class ChannelFull : ChatFullBase
|
public class ChannelFull : ChatFullBase
|
||||||
{
|
{
|
||||||
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
||||||
|
|
@ -1185,6 +1187,7 @@ namespace TL
|
||||||
[IfFlag(27)] public string theme_emoticon;
|
[IfFlag(27)] public string theme_emoticon;
|
||||||
[IfFlag(28)] public int requests_pending;
|
[IfFlag(28)] public int requests_pending;
|
||||||
[IfFlag(28)] public long[] recent_requesters;
|
[IfFlag(28)] public long[] recent_requesters;
|
||||||
|
[IfFlag(29)] public Peer default_send_as;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -1246,6 +1249,8 @@ namespace TL
|
||||||
has_theme_emoticon = 0x8000000,
|
has_theme_emoticon = 0x8000000,
|
||||||
/// <summary>Field <see cref="requests_pending"/> has a value</summary>
|
/// <summary>Field <see cref="requests_pending"/> has a value</summary>
|
||||||
has_requests_pending = 0x10000000,
|
has_requests_pending = 0x10000000,
|
||||||
|
/// <summary>Field <see cref="default_send_as"/> has a value</summary>
|
||||||
|
has_default_send_as = 0x20000000,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>ID of the channel</summary>
|
/// <summary>ID of the channel</summary>
|
||||||
|
|
@ -1493,6 +1498,7 @@ namespace TL
|
||||||
pinned = 0x1000000,
|
pinned = 0x1000000,
|
||||||
/// <summary>Field <see cref="ttl_period"/> has a value</summary>
|
/// <summary>Field <see cref="ttl_period"/> has a value</summary>
|
||||||
has_ttl_period = 0x2000000,
|
has_ttl_period = 0x2000000,
|
||||||
|
noforwards = 0x4000000,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>ID of the message</summary>
|
/// <summary>ID of the message</summary>
|
||||||
|
|
@ -2249,11 +2255,12 @@ namespace TL
|
||||||
/// <summary>Oject contains info on user authorization. <para>Derived classes: <see cref="Auth_Authorization"/>, <see cref="Auth_AuthorizationSignUpRequired"/></para> <para>See <a href="https://corefork.telegram.org/type/auth.Authorization"/></para></summary>
|
/// <summary>Oject contains info on user authorization. <para>Derived classes: <see cref="Auth_Authorization"/>, <see cref="Auth_AuthorizationSignUpRequired"/></para> <para>See <a href="https://corefork.telegram.org/type/auth.Authorization"/></para></summary>
|
||||||
public abstract class Auth_AuthorizationBase : IObject { }
|
public abstract class Auth_AuthorizationBase : IObject { }
|
||||||
/// <summary>Contains user authorization info. <para>See <a href="https://corefork.telegram.org/constructor/auth.authorization"/></para></summary>
|
/// <summary>Contains user authorization info. <para>See <a href="https://corefork.telegram.org/constructor/auth.authorization"/></para></summary>
|
||||||
[TLDef(0xCD050916)]
|
[TLDef(0x33FB7BB8)]
|
||||||
public class Auth_Authorization : Auth_AuthorizationBase
|
public class Auth_Authorization : Auth_AuthorizationBase
|
||||||
{
|
{
|
||||||
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
[IfFlag(1)] public int otherwise_relogin_days;
|
||||||
/// <summary>Temporary <a href="https://corefork.telegram.org/passport">passport</a> sessions</summary>
|
/// <summary>Temporary <a href="https://corefork.telegram.org/passport">passport</a> sessions</summary>
|
||||||
[IfFlag(0)] public int tmp_sessions;
|
[IfFlag(0)] public int tmp_sessions;
|
||||||
/// <summary>Info on authorized user</summary>
|
/// <summary>Info on authorized user</summary>
|
||||||
|
|
@ -2263,6 +2270,7 @@ namespace TL
|
||||||
{
|
{
|
||||||
/// <summary>Field <see cref="tmp_sessions"/> has a value</summary>
|
/// <summary>Field <see cref="tmp_sessions"/> has a value</summary>
|
||||||
has_tmp_sessions = 0x1,
|
has_tmp_sessions = 0x1,
|
||||||
|
setup_password_required = 0x2,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>An account with this phone number doesn't exist on telegram: the user has to <a href="https://corefork.telegram.org/api/auth">enter basic information and sign up</a> <para>See <a href="https://corefork.telegram.org/constructor/auth.authorizationSignUpRequired"/></para></summary>
|
/// <summary>An account with this phone number doesn't exist on telegram: the user has to <a href="https://corefork.telegram.org/api/auth">enter basic information and sign up</a> <para>See <a href="https://corefork.telegram.org/constructor/auth.authorizationSignUpRequired"/></para></summary>
|
||||||
|
|
@ -2367,13 +2375,15 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Peer settings <para>See <a href="https://corefork.telegram.org/constructor/peerSettings"/></para></summary>
|
/// <summary>Peer settings <para>See <a href="https://corefork.telegram.org/constructor/peerSettings"/></para></summary>
|
||||||
[TLDef(0x733F2961)]
|
[TLDef(0xA518110D)]
|
||||||
public class PeerSettings : IObject
|
public class PeerSettings : IObject
|
||||||
{
|
{
|
||||||
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
/// <summary>Distance in meters between us and this peer</summary>
|
/// <summary>Distance in meters between us and this peer</summary>
|
||||||
[IfFlag(6)] public int geo_distance;
|
[IfFlag(6)] public int geo_distance;
|
||||||
|
[IfFlag(9)] public string request_chat_title;
|
||||||
|
[IfFlag(9)] public DateTime request_chat_date;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -2395,6 +2405,9 @@ namespace TL
|
||||||
autoarchived = 0x80,
|
autoarchived = 0x80,
|
||||||
/// <summary>Whether we can invite members to a <a href="https://corefork.telegram.org/api/channel">group or channel</a></summary>
|
/// <summary>Whether we can invite members to a <a href="https://corefork.telegram.org/api/channel">group or channel</a></summary>
|
||||||
invite_members = 0x100,
|
invite_members = 0x100,
|
||||||
|
/// <summary>Field <see cref="request_chat_title"/> has a value</summary>
|
||||||
|
has_request_chat_title = 0x200,
|
||||||
|
request_chat_broadcast = 0x400,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2491,13 +2504,12 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Extended user info <para>See <a href="https://corefork.telegram.org/constructor/userFull"/></para></summary>
|
/// <summary>Extended user info <para>See <a href="https://corefork.telegram.org/constructor/userFull"/></para></summary>
|
||||||
[TLDef(0xD697FF05)]
|
[TLDef(0xCF366521)]
|
||||||
public class UserFull : IObject
|
public class UserFull : IObject
|
||||||
{
|
{
|
||||||
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
/// <summary>Remaining user info</summary>
|
public long id;
|
||||||
public UserBase user;
|
|
||||||
/// <summary>Bio of the user</summary>
|
/// <summary>Bio of the user</summary>
|
||||||
[IfFlag(1)] public string about;
|
[IfFlag(1)] public string about;
|
||||||
/// <summary>Peer settings</summary>
|
/// <summary>Peer settings</summary>
|
||||||
|
|
@ -2518,6 +2530,7 @@ namespace TL
|
||||||
[IfFlag(14)] public int ttl_period;
|
[IfFlag(14)] public int ttl_period;
|
||||||
/// <summary>Emoji associated with chat theme</summary>
|
/// <summary>Emoji associated with chat theme</summary>
|
||||||
[IfFlag(15)] public string theme_emoticon;
|
[IfFlag(15)] public string theme_emoticon;
|
||||||
|
[IfFlag(16)] public string private_forward_name;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -2547,6 +2560,8 @@ namespace TL
|
||||||
has_ttl_period = 0x4000,
|
has_ttl_period = 0x4000,
|
||||||
/// <summary>Field <see cref="theme_emoticon"/> has a value</summary>
|
/// <summary>Field <see cref="theme_emoticon"/> has a value</summary>
|
||||||
has_theme_emoticon = 0x8000,
|
has_theme_emoticon = 0x8000,
|
||||||
|
/// <summary>Field <see cref="private_forward_name"/> has a value</summary>
|
||||||
|
has_private_forward_name = 0x10000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5020,7 +5035,7 @@ namespace TL
|
||||||
public class SendMessageChooseStickerAction : SendMessageAction { }
|
public class SendMessageChooseStickerAction : SendMessageAction { }
|
||||||
/// <summary>User has clicked on an animated emoji triggering a <a href="https://corefork.telegram.org/api/animated-emojis#emoji-reactions">reaction, click here for more info »</a>. <para>See <a href="https://corefork.telegram.org/constructor/sendMessageEmojiInteraction"/></para></summary>
|
/// <summary>User has clicked on an animated emoji triggering a <a href="https://corefork.telegram.org/api/animated-emojis#emoji-reactions">reaction, click here for more info »</a>. <para>See <a href="https://corefork.telegram.org/constructor/sendMessageEmojiInteraction"/></para></summary>
|
||||||
[TLDef(0x25972BCB)]
|
[TLDef(0x25972BCB)]
|
||||||
public class SendMessageEmojiInteraction : SendMessageAction
|
public partial class SendMessageEmojiInteraction : SendMessageAction
|
||||||
{
|
{
|
||||||
/// <summary>Emoji</summary>
|
/// <summary>Emoji</summary>
|
||||||
public string emoticon;
|
public string emoticon;
|
||||||
|
|
@ -5031,7 +5046,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
/// <summary>User is watching an animated emoji reaction triggered by another user, <a href="https://corefork.telegram.org/api/animated-emojis#emoji-reactions">click here for more info »</a>. <para>See <a href="https://corefork.telegram.org/constructor/sendMessageEmojiInteractionSeen"/></para></summary>
|
/// <summary>User is watching an animated emoji reaction triggered by another user, <a href="https://corefork.telegram.org/api/animated-emojis#emoji-reactions">click here for more info »</a>. <para>See <a href="https://corefork.telegram.org/constructor/sendMessageEmojiInteractionSeen"/></para></summary>
|
||||||
[TLDef(0xB665902E)]
|
[TLDef(0xB665902E)]
|
||||||
public class SendMessageEmojiInteractionSeen : SendMessageAction
|
public partial class SendMessageEmojiInteractionSeen : SendMessageAction
|
||||||
{
|
{
|
||||||
/// <summary>Emoji</summary>
|
/// <summary>Emoji</summary>
|
||||||
public string emoticon;
|
public string emoticon;
|
||||||
|
|
@ -5498,13 +5513,16 @@ namespace TL
|
||||||
official_app = 0x2,
|
official_app = 0x2,
|
||||||
/// <summary>Whether the session is still waiting for a 2FA password</summary>
|
/// <summary>Whether the session is still waiting for a 2FA password</summary>
|
||||||
password_pending = 0x4,
|
password_pending = 0x4,
|
||||||
|
encrypted_requests_disabled = 0x8,
|
||||||
|
call_requests_disabled = 0x10,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Logged-in sessions <para>See <a href="https://corefork.telegram.org/constructor/account.authorizations"/></para></summary>
|
/// <summary>Logged-in sessions <para>See <a href="https://corefork.telegram.org/constructor/account.authorizations"/></para></summary>
|
||||||
[TLDef(0x1250ABDE)]
|
[TLDef(0x4BFF8EA0)]
|
||||||
public class Account_Authorizations : IObject
|
public class Account_Authorizations : IObject
|
||||||
{
|
{
|
||||||
|
public int authorization_ttl_days;
|
||||||
/// <summary>Logged-in sessions</summary>
|
/// <summary>Logged-in sessions</summary>
|
||||||
public Authorization[] authorizations;
|
public Authorization[] authorizations;
|
||||||
}
|
}
|
||||||
|
|
@ -5794,6 +5812,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Stickerset and stickers inside it <para>See <a href="https://corefork.telegram.org/constructor/messages.stickerSet"/></para></summary>
|
/// <summary>Stickerset and stickers inside it <para>See <a href="https://corefork.telegram.org/constructor/messages.stickerSet"/></para></summary>
|
||||||
|
/// <remarks>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a></remarks>
|
||||||
[TLDef(0xB60A24A6)]
|
[TLDef(0xB60A24A6)]
|
||||||
public class Messages_StickerSet : IObject
|
public class Messages_StickerSet : IObject
|
||||||
{
|
{
|
||||||
|
|
@ -5975,6 +5994,21 @@ namespace TL
|
||||||
has_quiz = 0x1,
|
has_quiz = 0x1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/inputKeyboardButtonUserProfile"/></para></summary>
|
||||||
|
[TLDef(0xE988037B)]
|
||||||
|
public class InputKeyboardButtonUserProfile : KeyboardButtonBase
|
||||||
|
{
|
||||||
|
public string text;
|
||||||
|
public InputUserBase user_id;
|
||||||
|
|
||||||
|
public override string Text => text;
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/keyboardButtonUserProfile"/></para></summary>
|
||||||
|
[TLDef(0x308660C1, inheritBefore = true)]
|
||||||
|
public class KeyboardButtonUserProfile : KeyboardButton
|
||||||
|
{
|
||||||
|
public long user_id;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Inline keyboard row <para>See <a href="https://corefork.telegram.org/constructor/keyboardButtonRow"/></para></summary>
|
/// <summary>Inline keyboard row <para>See <a href="https://corefork.telegram.org/constructor/keyboardButtonRow"/></para></summary>
|
||||||
[TLDef(0x77608B83)]
|
[TLDef(0x77608B83)]
|
||||||
|
|
@ -6291,7 +6325,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Channel participant <para>Derived classes: <see cref="ChannelParticipant"/>, <see cref="ChannelParticipantSelf"/>, <see cref="ChannelParticipantCreator"/>, <see cref="ChannelParticipantAdmin"/>, <see cref="ChannelParticipantBanned"/>, <see cref="ChannelParticipantLeft"/></para> <para>See <a href="https://corefork.telegram.org/type/ChannelParticipant"/></para></summary>
|
/// <summary>Channel participant <para>Derived classes: <see cref="ChannelParticipant"/>, <see cref="ChannelParticipantSelf"/>, <see cref="ChannelParticipantCreator"/>, <see cref="ChannelParticipantAdmin"/>, <see cref="ChannelParticipantBanned"/>, <see cref="ChannelParticipantLeft"/></para> <para>See <a href="https://corefork.telegram.org/type/ChannelParticipant"/></para></summary>
|
||||||
public abstract class ChannelParticipantBase : IObject { }
|
public abstract partial class ChannelParticipantBase : IObject { }
|
||||||
/// <summary>Channel/supergroup participant <para>See <a href="https://corefork.telegram.org/constructor/channelParticipant"/></para></summary>
|
/// <summary>Channel/supergroup participant <para>See <a href="https://corefork.telegram.org/constructor/channelParticipant"/></para></summary>
|
||||||
[TLDef(0xC00C07C0)]
|
[TLDef(0xC00C07C0)]
|
||||||
public class ChannelParticipant : ChannelParticipantBase
|
public class ChannelParticipant : ChannelParticipantBase
|
||||||
|
|
@ -6315,12 +6349,12 @@ namespace TL
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
via_invite = 0x1,
|
via_request = 0x1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>Channel/supergroup creator <para>See <a href="https://corefork.telegram.org/constructor/channelParticipantCreator"/></para></summary>
|
/// <summary>Channel/supergroup creator <para>See <a href="https://corefork.telegram.org/constructor/channelParticipantCreator"/></para></summary>
|
||||||
[TLDef(0x2FE601D3)]
|
[TLDef(0x2FE601D3)]
|
||||||
public class ChannelParticipantCreator : ChannelParticipantBase
|
public partial class ChannelParticipantCreator : ChannelParticipantBase
|
||||||
{
|
{
|
||||||
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -6339,7 +6373,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
/// <summary>Admin <para>See <a href="https://corefork.telegram.org/constructor/channelParticipantAdmin"/></para></summary>
|
/// <summary>Admin <para>See <a href="https://corefork.telegram.org/constructor/channelParticipantAdmin"/></para></summary>
|
||||||
[TLDef(0x34C3BB53)]
|
[TLDef(0x34C3BB53)]
|
||||||
public class ChannelParticipantAdmin : ChannelParticipantBase
|
public partial class ChannelParticipantAdmin : ChannelParticipantBase
|
||||||
{
|
{
|
||||||
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -7134,6 +7168,8 @@ namespace TL
|
||||||
Call = 0x741CD3E3,
|
Call = 0x741CD3E3,
|
||||||
///<summary>Type of verification code that will be sent next if you call the resendCode method: SMS code</summary>
|
///<summary>Type of verification code that will be sent next if you call the resendCode method: SMS code</summary>
|
||||||
FlashCall = 0x226CCEFB,
|
FlashCall = 0x226CCEFB,
|
||||||
|
///<summary>See <a href="https://corefork.telegram.org/constructor/auth.codeTypeMissedCall"/></summary>
|
||||||
|
MissedCall = 0xD61AD6EE,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Type of the verification code that was sent <para>Derived classes: <see cref="Auth_SentCodeTypeApp"/>, <see cref="Auth_SentCodeTypeSms"/>, <see cref="Auth_SentCodeTypeCall"/>, <see cref="Auth_SentCodeTypeFlashCall"/></para> <para>See <a href="https://corefork.telegram.org/type/auth.SentCodeType"/></para></summary>
|
/// <summary>Type of the verification code that was sent <para>Derived classes: <see cref="Auth_SentCodeTypeApp"/>, <see cref="Auth_SentCodeTypeSms"/>, <see cref="Auth_SentCodeTypeCall"/>, <see cref="Auth_SentCodeTypeFlashCall"/></para> <para>See <a href="https://corefork.telegram.org/type/auth.SentCodeType"/></para></summary>
|
||||||
|
|
@ -7166,6 +7202,12 @@ namespace TL
|
||||||
/// <summary><a href="https://corefork.telegram.org/api/pattern">pattern</a> to match</summary>
|
/// <summary><a href="https://corefork.telegram.org/api/pattern">pattern</a> to match</summary>
|
||||||
public string pattern;
|
public string pattern;
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/auth.sentCodeTypeMissedCall"/></para></summary>
|
||||||
|
[TLDef(0x82006484)]
|
||||||
|
public class Auth_SentCodeTypeMissedCall : Auth_SentCodeTypeCall
|
||||||
|
{
|
||||||
|
public string prefix;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Callback answer sent by the bot in response to a button press <para>See <a href="https://corefork.telegram.org/constructor/messages.botCallbackAnswer"/></para></summary>
|
/// <summary>Callback answer sent by the bot in response to a button press <para>See <a href="https://corefork.telegram.org/constructor/messages.botCallbackAnswer"/></para></summary>
|
||||||
[TLDef(0x36585EA4)]
|
[TLDef(0x36585EA4)]
|
||||||
|
|
@ -9203,6 +9245,18 @@ namespace TL
|
||||||
public ExportedChatInvite invite;
|
public ExportedChatInvite invite;
|
||||||
public long approved_by;
|
public long approved_by;
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/channelAdminLogEventActionToggleNoForwards"/></para></summary>
|
||||||
|
[TLDef(0xCB2AC766)]
|
||||||
|
public class ChannelAdminLogEventActionToggleNoForwards : ChannelAdminLogEventAction
|
||||||
|
{
|
||||||
|
public bool new_value;
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/channelAdminLogEventActionSendMessage"/></para></summary>
|
||||||
|
[TLDef(0x278F2868)]
|
||||||
|
public class ChannelAdminLogEventActionSendMessage : ChannelAdminLogEventAction
|
||||||
|
{
|
||||||
|
public MessageBase message;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Admin log event <para>See <a href="https://corefork.telegram.org/constructor/channelAdminLogEvent"/></para></summary>
|
/// <summary>Admin log event <para>See <a href="https://corefork.telegram.org/constructor/channelAdminLogEvent"/></para></summary>
|
||||||
[TLDef(0x1FAD68CD)]
|
[TLDef(0x1FAD68CD)]
|
||||||
|
|
@ -9273,6 +9327,7 @@ namespace TL
|
||||||
group_call = 0x4000,
|
group_call = 0x4000,
|
||||||
/// <summary>Invite events</summary>
|
/// <summary>Invite events</summary>
|
||||||
invites = 0x8000,
|
invites = 0x8000,
|
||||||
|
send = 0x10000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -10522,11 +10577,12 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Settings used by telegram servers for sending the confirm code. <para>See <a href="https://corefork.telegram.org/constructor/codeSettings"/></para></summary>
|
/// <summary>Settings used by telegram servers for sending the confirm code. <para>See <a href="https://corefork.telegram.org/constructor/codeSettings"/></para></summary>
|
||||||
[TLDef(0xDEBEBE83)]
|
[TLDef(0x8A6469C2)]
|
||||||
public class CodeSettings : IObject
|
public class CodeSettings : IObject
|
||||||
{
|
{
|
||||||
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
/// <summary>Flags, see <a href="https://corefork.telegram.org/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></summary>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
[IfFlag(6)] public byte[][] logout_tokens;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -10536,6 +10592,9 @@ namespace TL
|
||||||
current_number = 0x2,
|
current_number = 0x2,
|
||||||
/// <summary>If a token that will be included in eventually sent SMSs is required: required in newer versions of android, to use the <a href="https://developers.google.com/identity/sms-retriever/overview">android SMS receiver APIs</a></summary>
|
/// <summary>If a token that will be included in eventually sent SMSs is required: required in newer versions of android, to use the <a href="https://developers.google.com/identity/sms-retriever/overview">android SMS receiver APIs</a></summary>
|
||||||
allow_app_hash = 0x10,
|
allow_app_hash = 0x10,
|
||||||
|
allow_missed_call = 0x20,
|
||||||
|
/// <summary>Field <see cref="logout_tokens"/> has a value</summary>
|
||||||
|
has_logout_tokens = 0x40,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -12230,6 +12289,53 @@ namespace TL
|
||||||
public SearchResultsPosition[] positions;
|
public SearchResultsPosition[] positions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/channels.sendAsPeers"/></para></summary>
|
||||||
|
[TLDef(0x8356CDA9)]
|
||||||
|
public class Channels_SendAsPeers : IObject, IPeerResolver
|
||||||
|
{
|
||||||
|
public Peer[] peers;
|
||||||
|
public Dictionary<long, ChatBase> chats;
|
||||||
|
public Dictionary<long, UserBase> users;
|
||||||
|
/// <summary>returns a <see cref="UserBase"/> or <see cref="ChatBase"/> for the given Peer</summary>
|
||||||
|
public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/users.userFull"/></para></summary>
|
||||||
|
[TLDef(0x3B6D152E)]
|
||||||
|
public class Users_UserFull : IObject, IPeerResolver
|
||||||
|
{
|
||||||
|
public UserFull full_user;
|
||||||
|
public Dictionary<long, ChatBase> chats;
|
||||||
|
public Dictionary<long, UserBase> users;
|
||||||
|
/// <summary>returns a <see cref="UserBase"/> or <see cref="ChatBase"/> for the given Peer</summary>
|
||||||
|
public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messages.peerSettings"/></para></summary>
|
||||||
|
[TLDef(0x6880B94D)]
|
||||||
|
public class Messages_PeerSettings : IObject, IPeerResolver
|
||||||
|
{
|
||||||
|
public PeerSettings settings;
|
||||||
|
public Dictionary<long, ChatBase> chats;
|
||||||
|
public Dictionary<long, UserBase> users;
|
||||||
|
/// <summary>returns a <see cref="UserBase"/> or <see cref="ChatBase"/> for the given Peer</summary>
|
||||||
|
public IPeerInfo UserOrChat(Peer peer) => peer.UserOrChat(users, chats);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/auth.loggedOut"/></para></summary>
|
||||||
|
[TLDef(0xC3A2835F)]
|
||||||
|
public class Auth_LoggedOut : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(0)] public byte[] future_auth_token;
|
||||||
|
|
||||||
|
[Flags] public enum Flags
|
||||||
|
{
|
||||||
|
/// <summary>Field <see cref="future_auth_token"/> has a value</summary>
|
||||||
|
has_future_auth_token = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ---functions---
|
// ---functions---
|
||||||
|
|
||||||
public static class SchemaExtensions
|
public static class SchemaExtensions
|
||||||
|
|
@ -12350,7 +12456,7 @@ namespace TL
|
||||||
phone_code = phone_code,
|
phone_code = phone_code,
|
||||||
});
|
});
|
||||||
/// <summary>Logs out the user. <para>See <a href="https://corefork.telegram.org/method/auth.logOut"/> [bots: ✓]</para></summary>
|
/// <summary>Logs out the user. <para>See <a href="https://corefork.telegram.org/method/auth.logOut"/> [bots: ✓]</para></summary>
|
||||||
public static Task<bool> Auth_LogOut(this Client client)
|
public static Task<Auth_LoggedOut> Auth_LogOut(this Client client)
|
||||||
=> client.CallAsync(new Auth_LogOut
|
=> client.CallAsync(new Auth_LogOut
|
||||||
{
|
{
|
||||||
});
|
});
|
||||||
|
|
@ -13076,6 +13182,21 @@ namespace TL
|
||||||
{
|
{
|
||||||
hash = hash,
|
hash = hash,
|
||||||
});
|
});
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/account.setAuthorizationTTL"/></para></summary>
|
||||||
|
public static Task<bool> Account_SetAuthorizationTTL(this Client client, int authorization_ttl_days)
|
||||||
|
=> client.CallAsync(new Account_SetAuthorizationTTL
|
||||||
|
{
|
||||||
|
authorization_ttl_days = authorization_ttl_days,
|
||||||
|
});
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/account.changeAuthorizationSettings"/></para></summary>
|
||||||
|
public static Task<bool> Account_ChangeAuthorizationSettings(this Client client, long hash, bool? encrypted_requests_disabled = default, bool? call_requests_disabled = default)
|
||||||
|
=> client.CallAsync(new Account_ChangeAuthorizationSettings
|
||||||
|
{
|
||||||
|
flags = (Account_ChangeAuthorizationSettings.Flags)((encrypted_requests_disabled != default ? 0x1 : 0) | (call_requests_disabled != default ? 0x2 : 0)),
|
||||||
|
hash = hash,
|
||||||
|
encrypted_requests_disabled = encrypted_requests_disabled.GetValueOrDefault(),
|
||||||
|
call_requests_disabled = call_requests_disabled.GetValueOrDefault(),
|
||||||
|
});
|
||||||
/// <summary>Returns basic user info according to their identifiers. <para>See <a href="https://corefork.telegram.org/method/users.getUsers"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,401 (<a href="https://corefork.telegram.org/method/users.getUsers#possible-errors">details</a>)</para></summary>
|
/// <summary>Returns basic user info according to their identifiers. <para>See <a href="https://corefork.telegram.org/method/users.getUsers"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,401 (<a href="https://corefork.telegram.org/method/users.getUsers#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="id">List of user identifiers</param>
|
/// <param name="id">List of user identifiers</param>
|
||||||
public static Task<UserBase[]> Users_GetUsers(this Client client, InputUserBase[] id)
|
public static Task<UserBase[]> Users_GetUsers(this Client client, InputUserBase[] id)
|
||||||
|
|
@ -13085,7 +13206,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
/// <summary>Returns extended user info by ID. <para>See <a href="https://corefork.telegram.org/method/users.getFullUser"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/users.getFullUser#possible-errors">details</a>)</para></summary>
|
/// <summary>Returns extended user info by ID. <para>See <a href="https://corefork.telegram.org/method/users.getFullUser"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/users.getFullUser#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="id">User ID</param>
|
/// <param name="id">User ID</param>
|
||||||
public static Task<UserFull> Users_GetFullUser(this Client client, InputUserBase id)
|
public static Task<Users_UserFull> Users_GetFullUser(this Client client, InputUserBase id)
|
||||||
=> client.CallAsync(new Users_GetFullUser
|
=> client.CallAsync(new Users_GetFullUser
|
||||||
{
|
{
|
||||||
id = id,
|
id = id,
|
||||||
|
|
@ -13412,10 +13533,10 @@ namespace TL
|
||||||
/// <param name="reply_markup">Reply markup for sending bot buttons</param>
|
/// <param name="reply_markup">Reply markup for sending bot buttons</param>
|
||||||
/// <param name="entities">Message <a href="https://corefork.telegram.org/api/entities">entities</a> for sending styled text</param>
|
/// <param name="entities">Message <a href="https://corefork.telegram.org/api/entities">entities</a> for sending styled text</param>
|
||||||
/// <param name="schedule_date">Scheduled message date for <a href="https://corefork.telegram.org/api/scheduled-messages">scheduled messages</a></param>
|
/// <param name="schedule_date">Scheduled message date for <a href="https://corefork.telegram.org/api/scheduled-messages">scheduled messages</a></param>
|
||||||
public static Task<UpdatesBase> 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)
|
public static Task<UpdatesBase> 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, InputPeer send_as = null)
|
||||||
=> client.CallAsync(new Messages_SendMessage
|
=> client.CallAsync(new Messages_SendMessage
|
||||||
{
|
{
|
||||||
flags = (Messages_SendMessage.Flags)((no_webpage ? 0x2 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0)),
|
flags = (Messages_SendMessage.Flags)((no_webpage ? 0x2 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
||||||
message = message,
|
message = message,
|
||||||
|
|
@ -13423,6 +13544,7 @@ namespace TL
|
||||||
reply_markup = reply_markup,
|
reply_markup = reply_markup,
|
||||||
entities = entities,
|
entities = entities,
|
||||||
schedule_date = schedule_date.GetValueOrDefault(),
|
schedule_date = schedule_date.GetValueOrDefault(),
|
||||||
|
send_as = send_as,
|
||||||
});
|
});
|
||||||
/// <summary>Send a media <para>See <a href="https://corefork.telegram.org/method/messages.sendMedia"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,420 (<a href="https://corefork.telegram.org/method/messages.sendMedia#possible-errors">details</a>)</para></summary>
|
/// <summary>Send a media <para>See <a href="https://corefork.telegram.org/method/messages.sendMedia"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,420 (<a href="https://corefork.telegram.org/method/messages.sendMedia#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="silent">Send message silently (no notification should be triggered)</param>
|
/// <param name="silent">Send message silently (no notification should be triggered)</param>
|
||||||
|
|
@ -13436,10 +13558,10 @@ namespace TL
|
||||||
/// <param name="reply_markup">Reply markup for bot keyboards</param>
|
/// <param name="reply_markup">Reply markup for bot keyboards</param>
|
||||||
/// <param name="entities">Message <a href="https://corefork.telegram.org/api/entities">entities</a> for styled text</param>
|
/// <param name="entities">Message <a href="https://corefork.telegram.org/api/entities">entities</a> for styled text</param>
|
||||||
/// <param name="schedule_date">Scheduled message date for <a href="https://corefork.telegram.org/api/scheduled-messages">scheduled messages</a></param>
|
/// <param name="schedule_date">Scheduled message date for <a href="https://corefork.telegram.org/api/scheduled-messages">scheduled messages</a></param>
|
||||||
public static Task<UpdatesBase> 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)
|
public static Task<UpdatesBase> 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, InputPeer send_as = null)
|
||||||
=> client.CallAsync(new Messages_SendMedia
|
=> client.CallAsync(new Messages_SendMedia
|
||||||
{
|
{
|
||||||
flags = (Messages_SendMedia.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0)),
|
flags = (Messages_SendMedia.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
||||||
media = media,
|
media = media,
|
||||||
|
|
@ -13448,6 +13570,7 @@ namespace TL
|
||||||
reply_markup = reply_markup,
|
reply_markup = reply_markup,
|
||||||
entities = entities,
|
entities = entities,
|
||||||
schedule_date = schedule_date.GetValueOrDefault(),
|
schedule_date = schedule_date.GetValueOrDefault(),
|
||||||
|
send_as = send_as,
|
||||||
});
|
});
|
||||||
/// <summary>Forwards messages by their IDs. <para>See <a href="https://corefork.telegram.org/method/messages.forwardMessages"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,420 (<a href="https://corefork.telegram.org/method/messages.forwardMessages#possible-errors">details</a>)</para></summary>
|
/// <summary>Forwards messages by their IDs. <para>See <a href="https://corefork.telegram.org/method/messages.forwardMessages"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,420 (<a href="https://corefork.telegram.org/method/messages.forwardMessages#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="silent">Whether to send messages silently (no notification will be triggered on the destination clients)</param>
|
/// <param name="silent">Whether to send messages silently (no notification will be triggered on the destination clients)</param>
|
||||||
|
|
@ -13460,15 +13583,16 @@ namespace TL
|
||||||
/// <param name="random_id">Random ID to prevent resending of messages</param>
|
/// <param name="random_id">Random ID to prevent resending of messages</param>
|
||||||
/// <param name="to_peer">Destination peer</param>
|
/// <param name="to_peer">Destination peer</param>
|
||||||
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
||||||
public static Task<UpdatesBase> 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)
|
public static Task<UpdatesBase> 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, InputPeer send_as = null)
|
||||||
=> client.CallAsync(new Messages_ForwardMessages
|
=> client.CallAsync(new Messages_ForwardMessages
|
||||||
{
|
{
|
||||||
flags = (Messages_ForwardMessages.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (with_my_score ? 0x100 : 0) | (drop_author ? 0x800 : 0) | (drop_media_captions ? 0x1000 : 0) | (schedule_date != null ? 0x400 : 0)),
|
flags = (Messages_ForwardMessages.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (with_my_score ? 0x100 : 0) | (drop_author ? 0x800 : 0) | (drop_media_captions ? 0x1000 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0)),
|
||||||
from_peer = from_peer,
|
from_peer = from_peer,
|
||||||
id = id,
|
id = id,
|
||||||
random_id = random_id,
|
random_id = random_id,
|
||||||
to_peer = to_peer,
|
to_peer = to_peer,
|
||||||
schedule_date = schedule_date.GetValueOrDefault(),
|
schedule_date = schedule_date.GetValueOrDefault(),
|
||||||
|
send_as = send_as,
|
||||||
});
|
});
|
||||||
/// <summary>Report a new incoming chat for spam, if the <see cref="PeerSettings"/> of the chat allow us to do that <para>See <a href="https://corefork.telegram.org/method/messages.reportSpam"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.reportSpam#possible-errors">details</a>)</para></summary>
|
/// <summary>Report a new incoming chat for spam, if the <see cref="PeerSettings"/> of the chat allow us to do that <para>See <a href="https://corefork.telegram.org/method/messages.reportSpam"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.reportSpam#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">Peer to report</param>
|
/// <param name="peer">Peer to report</param>
|
||||||
|
|
@ -13479,7 +13603,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
/// <summary>Get peer settings <para>See <a href="https://corefork.telegram.org/method/messages.getPeerSettings"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.getPeerSettings#possible-errors">details</a>)</para></summary>
|
/// <summary>Get peer settings <para>See <a href="https://corefork.telegram.org/method/messages.getPeerSettings"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.getPeerSettings#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">The peer</param>
|
/// <param name="peer">The peer</param>
|
||||||
public static Task<PeerSettings> Messages_GetPeerSettings(this Client client, InputPeer peer)
|
public static Task<Messages_PeerSettings> Messages_GetPeerSettings(this Client client, InputPeer peer)
|
||||||
=> client.CallAsync(new Messages_GetPeerSettings
|
=> client.CallAsync(new Messages_GetPeerSettings
|
||||||
{
|
{
|
||||||
peer = peer,
|
peer = peer,
|
||||||
|
|
@ -13737,10 +13861,12 @@ namespace TL
|
||||||
});
|
});
|
||||||
/// <summary>Get info about a stickerset <para>See <a href="https://corefork.telegram.org/method/messages.getStickerSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.getStickerSet#possible-errors">details</a>)</para></summary>
|
/// <summary>Get info about a stickerset <para>See <a href="https://corefork.telegram.org/method/messages.getStickerSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.getStickerSet#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="stickerset">Stickerset</param>
|
/// <param name="stickerset">Stickerset</param>
|
||||||
public static Task<Messages_StickerSet> Messages_GetStickerSet(this Client client, InputStickerSet stickerset)
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a></returns>
|
||||||
|
public static Task<Messages_StickerSet> Messages_GetStickerSet(this Client client, InputStickerSet stickerset, int hash)
|
||||||
=> client.CallAsync(new Messages_GetStickerSet
|
=> client.CallAsync(new Messages_GetStickerSet
|
||||||
{
|
{
|
||||||
stickerset = stickerset,
|
stickerset = stickerset,
|
||||||
|
hash = hash,
|
||||||
});
|
});
|
||||||
/// <summary>Install a stickerset <para>See <a href="https://corefork.telegram.org/method/messages.installStickerSet"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.installStickerSet#possible-errors">details</a>)</para></summary>
|
/// <summary>Install a stickerset <para>See <a href="https://corefork.telegram.org/method/messages.installStickerSet"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.installStickerSet#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="stickerset">Stickerset to install</param>
|
/// <param name="stickerset">Stickerset to install</param>
|
||||||
|
|
@ -13906,16 +14032,17 @@ namespace TL
|
||||||
/// <param name="query_id">Query ID from <a href="https://corefork.telegram.org/method/messages.getInlineBotResults">messages.getInlineBotResults</a></param>
|
/// <param name="query_id">Query ID from <a href="https://corefork.telegram.org/method/messages.getInlineBotResults">messages.getInlineBotResults</a></param>
|
||||||
/// <param name="id">Result ID from <a href="https://corefork.telegram.org/method/messages.getInlineBotResults">messages.getInlineBotResults</a></param>
|
/// <param name="id">Result ID from <a href="https://corefork.telegram.org/method/messages.getInlineBotResults">messages.getInlineBotResults</a></param>
|
||||||
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
||||||
public static Task<UpdatesBase> 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)
|
public static Task<UpdatesBase> 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, InputPeer send_as = null)
|
||||||
=> client.CallAsync(new Messages_SendInlineBotResult
|
=> client.CallAsync(new Messages_SendInlineBotResult
|
||||||
{
|
{
|
||||||
flags = (Messages_SendInlineBotResult.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (hide_via ? 0x800 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (schedule_date != null ? 0x400 : 0)),
|
flags = (Messages_SendInlineBotResult.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (hide_via ? 0x800 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
||||||
random_id = random_id,
|
random_id = random_id,
|
||||||
query_id = query_id,
|
query_id = query_id,
|
||||||
id = id,
|
id = id,
|
||||||
schedule_date = schedule_date.GetValueOrDefault(),
|
schedule_date = schedule_date.GetValueOrDefault(),
|
||||||
|
send_as = send_as,
|
||||||
});
|
});
|
||||||
/// <summary>Find out if a media message's caption can be edited <para>See <a href="https://corefork.telegram.org/method/messages.getMessageEditData"/></para> <para>Possible <see cref="RpcException"/> codes: 400,403 (<a href="https://corefork.telegram.org/method/messages.getMessageEditData#possible-errors">details</a>)</para></summary>
|
/// <summary>Find out if a media message's caption can be edited <para>See <a href="https://corefork.telegram.org/method/messages.getMessageEditData"/></para> <para>Possible <see cref="RpcException"/> codes: 400,403 (<a href="https://corefork.telegram.org/method/messages.getMessageEditData#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">Peer where the media was sent</param>
|
/// <param name="peer">Peer where the media was sent</param>
|
||||||
|
|
@ -14297,14 +14424,15 @@ namespace TL
|
||||||
/// <param name="reply_to_msg_id">The message to reply to</param>
|
/// <param name="reply_to_msg_id">The message to reply to</param>
|
||||||
/// <param name="multi_media">The medias to send</param>
|
/// <param name="multi_media">The medias to send</param>
|
||||||
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
||||||
public static Task<UpdatesBase> 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)
|
public static Task<UpdatesBase> 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, InputPeer send_as = null)
|
||||||
=> client.CallAsync(new Messages_SendMultiMedia
|
=> client.CallAsync(new Messages_SendMultiMedia
|
||||||
{
|
{
|
||||||
flags = (Messages_SendMultiMedia.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (schedule_date != null ? 0x400 : 0)),
|
flags = (Messages_SendMultiMedia.Flags)((silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (reply_to_msg_id != null ? 0x1 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
reply_to_msg_id = reply_to_msg_id.GetValueOrDefault(),
|
||||||
multi_media = multi_media,
|
multi_media = multi_media,
|
||||||
schedule_date = schedule_date.GetValueOrDefault(),
|
schedule_date = schedule_date.GetValueOrDefault(),
|
||||||
|
send_as = send_as,
|
||||||
});
|
});
|
||||||
/// <summary>Upload encrypted file and associate it to a secret chat <para>See <a href="https://corefork.telegram.org/method/messages.uploadEncryptedFile"/></para></summary>
|
/// <summary>Upload encrypted file and associate it to a secret chat <para>See <a href="https://corefork.telegram.org/method/messages.uploadEncryptedFile"/></para></summary>
|
||||||
/// <param name="peer">The secret chat to associate the file to</param>
|
/// <param name="peer">The secret chat to associate the file to</param>
|
||||||
|
|
@ -14836,6 +14964,28 @@ namespace TL
|
||||||
peer = peer,
|
peer = peer,
|
||||||
user_id = user_id,
|
user_id = user_id,
|
||||||
});
|
});
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/messages.hideAllChatJoinRequests"/></para></summary>
|
||||||
|
public static Task<UpdatesBase> Messages_HideAllChatJoinRequests(this Client client, InputPeer peer, bool approved = false, string link = null)
|
||||||
|
=> client.CallAsync(new Messages_HideAllChatJoinRequests
|
||||||
|
{
|
||||||
|
flags = (Messages_HideAllChatJoinRequests.Flags)((approved ? 0x1 : 0) | (link != null ? 0x2 : 0)),
|
||||||
|
peer = peer,
|
||||||
|
link = link,
|
||||||
|
});
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/messages.toggleNoForwards"/></para></summary>
|
||||||
|
public static Task<UpdatesBase> Messages_ToggleNoForwards(this Client client, InputPeer peer, bool enabled)
|
||||||
|
=> client.CallAsync(new Messages_ToggleNoForwards
|
||||||
|
{
|
||||||
|
peer = peer,
|
||||||
|
enabled = enabled,
|
||||||
|
});
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/messages.saveDefaultSendAs"/></para></summary>
|
||||||
|
public static Task<bool> Messages_SaveDefaultSendAs(this Client client, InputPeer peer, InputPeer send_as)
|
||||||
|
=> client.CallAsync(new Messages_SaveDefaultSendAs
|
||||||
|
{
|
||||||
|
peer = peer,
|
||||||
|
send_as = send_as,
|
||||||
|
});
|
||||||
/// <summary>Returns a current state of updates. <para>See <a href="https://corefork.telegram.org/method/updates.getState"/> [bots: ✓]</para></summary>
|
/// <summary>Returns a current state of updates. <para>See <a href="https://corefork.telegram.org/method/updates.getState"/> [bots: ✓]</para></summary>
|
||||||
public static Task<Updates_State> Updates_GetState(this Client client)
|
public static Task<Updates_State> Updates_GetState(this Client client)
|
||||||
=> client.CallAsync(new Updates_GetState
|
=> client.CallAsync(new Updates_GetState
|
||||||
|
|
@ -15166,24 +15316,15 @@ namespace TL
|
||||||
channel = channel,
|
channel = channel,
|
||||||
id = id,
|
id = id,
|
||||||
});
|
});
|
||||||
/// <summary>Delete all messages sent by a certain user in a <a href="https://corefork.telegram.org/api/channel">supergroup</a> <para>See <a href="https://corefork.telegram.org/method/channels.deleteUserHistory"/></para> <para>Possible <see cref="RpcException"/> codes: 400,403 (<a href="https://corefork.telegram.org/method/channels.deleteUserHistory#possible-errors">details</a>)</para></summary>
|
|
||||||
/// <param name="channel"><a href="https://corefork.telegram.org/api/channel">Supergroup</a></param>
|
|
||||||
/// <param name="user_id">User whose messages should be deleted</param>
|
|
||||||
public static Task<Messages_AffectedHistory> Channels_DeleteUserHistory(this Client client, InputChannelBase channel, InputUserBase user_id)
|
|
||||||
=> client.CallAsync(new Channels_DeleteUserHistory
|
|
||||||
{
|
|
||||||
channel = channel,
|
|
||||||
user_id = user_id,
|
|
||||||
});
|
|
||||||
/// <summary>Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup <para>See <a href="https://corefork.telegram.org/method/channels.reportSpam"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/channels.reportSpam#possible-errors">details</a>)</para></summary>
|
/// <summary>Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup <para>See <a href="https://corefork.telegram.org/method/channels.reportSpam"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/channels.reportSpam#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="channel">Supergroup</param>
|
/// <param name="channel">Supergroup</param>
|
||||||
/// <param name="user_id">ID of the user that sent the spam messages</param>
|
/// <param name="participant">user that sent the spam messages</param>
|
||||||
/// <param name="id">IDs of spam messages</param>
|
/// <param name="id">IDs of spam messages</param>
|
||||||
public static Task<bool> Channels_ReportSpam(this Client client, InputChannelBase channel, InputUserBase user_id, int[] id)
|
public static Task<bool> Channels_ReportSpam(this Client client, InputChannelBase channel, InputPeer participant, int[] id)
|
||||||
=> client.CallAsync(new Channels_ReportSpam
|
=> client.CallAsync(new Channels_ReportSpam
|
||||||
{
|
{
|
||||||
channel = channel,
|
channel = channel,
|
||||||
user_id = user_id,
|
participant = participant,
|
||||||
id = id,
|
id = id,
|
||||||
});
|
});
|
||||||
/// <summary>Get <a href="https://corefork.telegram.org/api/channel">channel/supergroup</a> messages <para>See <a href="https://corefork.telegram.org/method/channels.getMessages"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/channels.getMessages#possible-errors">details</a>)</para></summary>
|
/// <summary>Get <a href="https://corefork.telegram.org/api/channel">channel/supergroup</a> messages <para>See <a href="https://corefork.telegram.org/method/channels.getMessages"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/channels.getMessages#possible-errors">details</a>)</para></summary>
|
||||||
|
|
@ -15483,7 +15624,8 @@ namespace TL
|
||||||
=> client.CallAsync(new Channels_GetInactiveChannels
|
=> client.CallAsync(new Channels_GetInactiveChannels
|
||||||
{
|
{
|
||||||
});
|
});
|
||||||
/// <summary><para>See <a href="https://corefork.telegram.org/method/channels.convertToGigagroup"/></para></summary>
|
/// <summary>Convert a <a href="https://corefork.telegram.org/api/channel">supergroup</a> to a <a href="https://corefork.telegram.org/api/channel">gigagroup</a>, when requested by <a href="https://corefork.telegram.org/api/config#channel-suggestions">channel suggestions</a>. <para>See <a href="https://corefork.telegram.org/method/channels.convertToGigagroup"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/channels.convertToGigagroup#possible-errors">details</a>)</para></summary>
|
||||||
|
/// <param name="channel">The <a href="https://corefork.telegram.org/api/channel">supergroup</a> to convert</param>
|
||||||
public static Task<UpdatesBase> Channels_ConvertToGigagroup(this Client client, InputChannelBase channel)
|
public static Task<UpdatesBase> Channels_ConvertToGigagroup(this Client client, InputChannelBase channel)
|
||||||
=> client.CallAsync(new Channels_ConvertToGigagroup
|
=> client.CallAsync(new Channels_ConvertToGigagroup
|
||||||
{
|
{
|
||||||
|
|
@ -15505,6 +15647,19 @@ namespace TL
|
||||||
{
|
{
|
||||||
channel = channel,
|
channel = channel,
|
||||||
});
|
});
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/channels.getSendAs"/></para></summary>
|
||||||
|
public static Task<Channels_SendAsPeers> Channels_GetSendAs(this Client client, InputPeer peer)
|
||||||
|
=> client.CallAsync(new Channels_GetSendAs
|
||||||
|
{
|
||||||
|
peer = peer,
|
||||||
|
});
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/channels.deleteParticipantHistory"/></para></summary>
|
||||||
|
public static Task<Messages_AffectedHistory> Channels_DeleteParticipantHistory(this Client client, InputChannelBase channel, InputPeer participant)
|
||||||
|
=> client.CallAsync(new Channels_DeleteParticipantHistory
|
||||||
|
{
|
||||||
|
channel = channel,
|
||||||
|
participant = participant,
|
||||||
|
});
|
||||||
/// <summary>Sends a custom request; for bots only <para>See <a href="https://corefork.telegram.org/method/bots.sendCustomRequest"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/bots.sendCustomRequest#possible-errors">details</a>)</para></summary>
|
/// <summary>Sends a custom request; for bots only <para>See <a href="https://corefork.telegram.org/method/bots.sendCustomRequest"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/bots.sendCustomRequest#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="custom_method">The method name</param>
|
/// <param name="custom_method">The method name</param>
|
||||||
/// <param name="params_">JSON-serialized method parameters</param>
|
/// <param name="params_">JSON-serialized method parameters</param>
|
||||||
|
|
@ -15635,6 +15790,7 @@ namespace TL
|
||||||
/// <param name="thumb">Thumbnail</param>
|
/// <param name="thumb">Thumbnail</param>
|
||||||
/// <param name="stickers">Stickers</param>
|
/// <param name="stickers">Stickers</param>
|
||||||
/// <param name="software">Used when <a href="https://corefork.telegram.org/import-stickers">importing stickers using the sticker import SDKs</a>, specifies the name of the software that created the stickers</param>
|
/// <param name="software">Used when <a href="https://corefork.telegram.org/import-stickers">importing stickers using the sticker import SDKs</a>, specifies the name of the software that created the stickers</param>
|
||||||
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a></returns>
|
||||||
public static Task<Messages_StickerSet> 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)
|
public static Task<Messages_StickerSet> 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(new Stickers_CreateStickerSet
|
=> client.CallAsync(new Stickers_CreateStickerSet
|
||||||
{
|
{
|
||||||
|
|
@ -15648,6 +15804,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
/// <summary>Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot. <para>See <a href="https://corefork.telegram.org/method/stickers.removeStickerFromSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.removeStickerFromSet#possible-errors">details</a>)</para></summary>
|
/// <summary>Remove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot. <para>See <a href="https://corefork.telegram.org/method/stickers.removeStickerFromSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.removeStickerFromSet#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="sticker">The sticker to remove</param>
|
/// <param name="sticker">The sticker to remove</param>
|
||||||
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a></returns>
|
||||||
public static Task<Messages_StickerSet> Stickers_RemoveStickerFromSet(this Client client, InputDocument sticker)
|
public static Task<Messages_StickerSet> Stickers_RemoveStickerFromSet(this Client client, InputDocument sticker)
|
||||||
=> client.CallAsync(new Stickers_RemoveStickerFromSet
|
=> client.CallAsync(new Stickers_RemoveStickerFromSet
|
||||||
{
|
{
|
||||||
|
|
@ -15656,6 +15813,7 @@ namespace TL
|
||||||
/// <summary>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 <para>See <a href="https://corefork.telegram.org/method/stickers.changeStickerPosition"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.changeStickerPosition#possible-errors">details</a>)</para></summary>
|
/// <summary>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 <para>See <a href="https://corefork.telegram.org/method/stickers.changeStickerPosition"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.changeStickerPosition#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="sticker">The sticker</param>
|
/// <param name="sticker">The sticker</param>
|
||||||
/// <param name="position">The new position of the sticker, zero-based</param>
|
/// <param name="position">The new position of the sticker, zero-based</param>
|
||||||
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a></returns>
|
||||||
public static Task<Messages_StickerSet> Stickers_ChangeStickerPosition(this Client client, InputDocument sticker, int position)
|
public static Task<Messages_StickerSet> Stickers_ChangeStickerPosition(this Client client, InputDocument sticker, int position)
|
||||||
=> client.CallAsync(new Stickers_ChangeStickerPosition
|
=> client.CallAsync(new Stickers_ChangeStickerPosition
|
||||||
{
|
{
|
||||||
|
|
@ -15665,6 +15823,7 @@ namespace TL
|
||||||
/// <summary>Add a sticker to a stickerset, bots only. The sticker set must have been created by the bot. <para>See <a href="https://corefork.telegram.org/method/stickers.addStickerToSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.addStickerToSet#possible-errors">details</a>)</para></summary>
|
/// <summary>Add a sticker to a stickerset, bots only. The sticker set must have been created by the bot. <para>See <a href="https://corefork.telegram.org/method/stickers.addStickerToSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.addStickerToSet#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="stickerset">The stickerset</param>
|
/// <param name="stickerset">The stickerset</param>
|
||||||
/// <param name="sticker">The sticker</param>
|
/// <param name="sticker">The sticker</param>
|
||||||
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a></returns>
|
||||||
public static Task<Messages_StickerSet> Stickers_AddStickerToSet(this Client client, InputStickerSet stickerset, InputStickerSetItem sticker)
|
public static Task<Messages_StickerSet> Stickers_AddStickerToSet(this Client client, InputStickerSet stickerset, InputStickerSetItem sticker)
|
||||||
=> client.CallAsync(new Stickers_AddStickerToSet
|
=> client.CallAsync(new Stickers_AddStickerToSet
|
||||||
{
|
{
|
||||||
|
|
@ -15674,6 +15833,7 @@ namespace TL
|
||||||
/// <summary>Set stickerset thumbnail <para>See <a href="https://corefork.telegram.org/method/stickers.setStickerSetThumb"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.setStickerSetThumb#possible-errors">details</a>)</para></summary>
|
/// <summary>Set stickerset thumbnail <para>See <a href="https://corefork.telegram.org/method/stickers.setStickerSetThumb"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.setStickerSetThumb#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="stickerset">Stickerset</param>
|
/// <param name="stickerset">Stickerset</param>
|
||||||
/// <param name="thumb">Thumbnail</param>
|
/// <param name="thumb">Thumbnail</param>
|
||||||
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a></returns>
|
||||||
public static Task<Messages_StickerSet> Stickers_SetStickerSetThumb(this Client client, InputStickerSet stickerset, InputDocument thumb)
|
public static Task<Messages_StickerSet> Stickers_SetStickerSetThumb(this Client client, InputStickerSet stickerset, InputDocument thumb)
|
||||||
=> client.CallAsync(new Stickers_SetStickerSetThumb
|
=> client.CallAsync(new Stickers_SetStickerSetThumb
|
||||||
{
|
{
|
||||||
|
|
@ -16205,8 +16365,8 @@ namespace TL.Methods
|
||||||
public string phone_code;
|
public string phone_code;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x5717DA40)]
|
[TLDef(0x3E72BA19)]
|
||||||
public class Auth_LogOut : IMethod<bool> { }
|
public class Auth_LogOut : IMethod<Auth_LoggedOut> { }
|
||||||
|
|
||||||
[TLDef(0x9FAB0D1A)]
|
[TLDef(0x9FAB0D1A)]
|
||||||
public class Auth_ResetAuthorizations : IMethod<bool> { }
|
public class Auth_ResetAuthorizations : IMethod<bool> { }
|
||||||
|
|
@ -16838,14 +16998,37 @@ namespace TL.Methods
|
||||||
public long hash;
|
public long hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TLDef(0xBF899AA0)]
|
||||||
|
public class Account_SetAuthorizationTTL : IMethod<bool>
|
||||||
|
{
|
||||||
|
public int authorization_ttl_days;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x40F48462)]
|
||||||
|
public class Account_ChangeAuthorizationSettings : IMethod<bool>
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public long hash;
|
||||||
|
[IfFlag(0)] public bool encrypted_requests_disabled;
|
||||||
|
[IfFlag(1)] public bool call_requests_disabled;
|
||||||
|
|
||||||
|
[Flags] public enum Flags
|
||||||
|
{
|
||||||
|
/// <summary>Field <see cref="encrypted_requests_disabled"/> has a value</summary>
|
||||||
|
has_encrypted_requests_disabled = 0x1,
|
||||||
|
/// <summary>Field <see cref="call_requests_disabled"/> has a value</summary>
|
||||||
|
has_call_requests_disabled = 0x2,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0x0D91A548)]
|
[TLDef(0x0D91A548)]
|
||||||
public class Users_GetUsers : IMethod<UserBase[]>
|
public class Users_GetUsers : IMethod<UserBase[]>
|
||||||
{
|
{
|
||||||
public InputUserBase[] id;
|
public InputUserBase[] id;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xCA30A5B1)]
|
[TLDef(0xB60F5918)]
|
||||||
public class Users_GetFullUser : IMethod<UserFull>
|
public class Users_GetFullUser : IMethod<Users_UserFull>
|
||||||
{
|
{
|
||||||
public InputUserBase id;
|
public InputUserBase id;
|
||||||
}
|
}
|
||||||
|
|
@ -17137,7 +17320,7 @@ namespace TL.Methods
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x520C3870)]
|
[TLDef(0x0D9D75A4)]
|
||||||
public class Messages_SendMessage : IMethod<UpdatesBase>
|
public class Messages_SendMessage : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -17148,6 +17331,7 @@ namespace TL.Methods
|
||||||
[IfFlag(2)] public ReplyMarkup reply_markup;
|
[IfFlag(2)] public ReplyMarkup reply_markup;
|
||||||
[IfFlag(3)] public MessageEntity[] entities;
|
[IfFlag(3)] public MessageEntity[] entities;
|
||||||
[IfFlag(10)] public DateTime schedule_date;
|
[IfFlag(10)] public DateTime schedule_date;
|
||||||
|
[IfFlag(13)] public InputPeer send_as;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -17163,10 +17347,12 @@ namespace TL.Methods
|
||||||
clear_draft = 0x80,
|
clear_draft = 0x80,
|
||||||
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
||||||
has_schedule_date = 0x400,
|
has_schedule_date = 0x400,
|
||||||
|
/// <summary>Field <see cref="send_as"/> has a value</summary>
|
||||||
|
has_send_as = 0x2000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x3491EBA9)]
|
[TLDef(0xE25FF8E0)]
|
||||||
public class Messages_SendMedia : IMethod<UpdatesBase>
|
public class Messages_SendMedia : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -17178,6 +17364,7 @@ namespace TL.Methods
|
||||||
[IfFlag(2)] public ReplyMarkup reply_markup;
|
[IfFlag(2)] public ReplyMarkup reply_markup;
|
||||||
[IfFlag(3)] public MessageEntity[] entities;
|
[IfFlag(3)] public MessageEntity[] entities;
|
||||||
[IfFlag(10)] public DateTime schedule_date;
|
[IfFlag(10)] public DateTime schedule_date;
|
||||||
|
[IfFlag(13)] public InputPeer send_as;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -17192,10 +17379,12 @@ namespace TL.Methods
|
||||||
clear_draft = 0x80,
|
clear_draft = 0x80,
|
||||||
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
||||||
has_schedule_date = 0x400,
|
has_schedule_date = 0x400,
|
||||||
|
/// <summary>Field <see cref="send_as"/> has a value</summary>
|
||||||
|
has_send_as = 0x2000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xD9FEE60E)]
|
[TLDef(0xCC30290B)]
|
||||||
public class Messages_ForwardMessages : IMethod<UpdatesBase>
|
public class Messages_ForwardMessages : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -17204,6 +17393,7 @@ namespace TL.Methods
|
||||||
public long[] random_id;
|
public long[] random_id;
|
||||||
public InputPeer to_peer;
|
public InputPeer to_peer;
|
||||||
[IfFlag(10)] public DateTime schedule_date;
|
[IfFlag(10)] public DateTime schedule_date;
|
||||||
|
[IfFlag(13)] public InputPeer send_as;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -17214,6 +17404,8 @@ namespace TL.Methods
|
||||||
has_schedule_date = 0x400,
|
has_schedule_date = 0x400,
|
||||||
drop_author = 0x800,
|
drop_author = 0x800,
|
||||||
drop_media_captions = 0x1000,
|
drop_media_captions = 0x1000,
|
||||||
|
/// <summary>Field <see cref="send_as"/> has a value</summary>
|
||||||
|
has_send_as = 0x2000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -17223,8 +17415,8 @@ namespace TL.Methods
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x3672E09C)]
|
[TLDef(0xEFD9A6A2)]
|
||||||
public class Messages_GetPeerSettings : IMethod<PeerSettings>
|
public class Messages_GetPeerSettings : IMethod<Messages_PeerSettings>
|
||||||
{
|
{
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
}
|
}
|
||||||
|
|
@ -17457,10 +17649,11 @@ namespace TL.Methods
|
||||||
public string hash;
|
public string hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x2619A90E)]
|
[TLDef(0xC8A0EC74)]
|
||||||
public class Messages_GetStickerSet : IMethod<Messages_StickerSet>
|
public class Messages_GetStickerSet : IMethod<Messages_StickerSet>
|
||||||
{
|
{
|
||||||
public InputStickerSet stickerset;
|
public InputStickerSet stickerset;
|
||||||
|
public int hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xC78FE460)]
|
[TLDef(0xC78FE460)]
|
||||||
|
|
@ -17599,7 +17792,7 @@ namespace TL.Methods
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x220815B0)]
|
[TLDef(0x7AA11297)]
|
||||||
public class Messages_SendInlineBotResult : IMethod<UpdatesBase>
|
public class Messages_SendInlineBotResult : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -17609,6 +17802,7 @@ namespace TL.Methods
|
||||||
public long query_id;
|
public long query_id;
|
||||||
public string id;
|
public string id;
|
||||||
[IfFlag(10)] public DateTime schedule_date;
|
[IfFlag(10)] public DateTime schedule_date;
|
||||||
|
[IfFlag(13)] public InputPeer send_as;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -17620,6 +17814,8 @@ namespace TL.Methods
|
||||||
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
||||||
has_schedule_date = 0x400,
|
has_schedule_date = 0x400,
|
||||||
hide_via = 0x800,
|
hide_via = 0x800,
|
||||||
|
/// <summary>Field <see cref="send_as"/> has a value</summary>
|
||||||
|
has_send_as = 0x2000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -18004,7 +18200,7 @@ namespace TL.Methods
|
||||||
public long hash;
|
public long hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xCC0110CB)]
|
[TLDef(0xF803138F)]
|
||||||
public class Messages_SendMultiMedia : IMethod<UpdatesBase>
|
public class Messages_SendMultiMedia : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -18012,6 +18208,7 @@ namespace TL.Methods
|
||||||
[IfFlag(0)] public int reply_to_msg_id;
|
[IfFlag(0)] public int reply_to_msg_id;
|
||||||
public InputSingleMedia[] multi_media;
|
public InputSingleMedia[] multi_media;
|
||||||
[IfFlag(10)] public DateTime schedule_date;
|
[IfFlag(10)] public DateTime schedule_date;
|
||||||
|
[IfFlag(13)] public InputPeer send_as;
|
||||||
|
|
||||||
[Flags] public enum Flags
|
[Flags] public enum Flags
|
||||||
{
|
{
|
||||||
|
|
@ -18022,6 +18219,8 @@ namespace TL.Methods
|
||||||
clear_draft = 0x80,
|
clear_draft = 0x80,
|
||||||
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
/// <summary>Field <see cref="schedule_date"/> has a value</summary>
|
||||||
has_schedule_date = 0x400,
|
has_schedule_date = 0x400,
|
||||||
|
/// <summary>Field <see cref="send_as"/> has a value</summary>
|
||||||
|
has_send_as = 0x2000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -18517,6 +18716,35 @@ namespace TL.Methods
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TLDef(0xE085F4EA)]
|
||||||
|
public class Messages_HideAllChatJoinRequests : IMethod<UpdatesBase>
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public InputPeer peer;
|
||||||
|
[IfFlag(1)] public string link;
|
||||||
|
|
||||||
|
[Flags] public enum Flags
|
||||||
|
{
|
||||||
|
approved = 0x1,
|
||||||
|
/// <summary>Field <see cref="link"/> has a value</summary>
|
||||||
|
has_link = 0x2,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0xB11EAFA2)]
|
||||||
|
public class Messages_ToggleNoForwards : IMethod<UpdatesBase>
|
||||||
|
{
|
||||||
|
public InputPeer peer;
|
||||||
|
public bool enabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0xCCFDDF96)]
|
||||||
|
public class Messages_SaveDefaultSendAs : IMethod<bool>
|
||||||
|
{
|
||||||
|
public InputPeer peer;
|
||||||
|
public InputPeer send_as;
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0xEDD4882A)]
|
[TLDef(0xEDD4882A)]
|
||||||
public class Updates_GetState : IMethod<Updates_State> { }
|
public class Updates_GetState : IMethod<Updates_State> { }
|
||||||
|
|
||||||
|
|
@ -18784,18 +19012,11 @@ namespace TL.Methods
|
||||||
public int[] id;
|
public int[] id;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xD10DD71B)]
|
[TLDef(0xF44A8315)]
|
||||||
public class Channels_DeleteUserHistory : IMethod<Messages_AffectedHistory>
|
|
||||||
{
|
|
||||||
public InputChannelBase channel;
|
|
||||||
public InputUserBase user_id;
|
|
||||||
}
|
|
||||||
|
|
||||||
[TLDef(0xFE087810)]
|
|
||||||
public class Channels_ReportSpam : IMethod<bool>
|
public class Channels_ReportSpam : IMethod<bool>
|
||||||
{
|
{
|
||||||
public InputChannelBase channel;
|
public InputChannelBase channel;
|
||||||
public InputUserBase user_id;
|
public InputPeer participant;
|
||||||
public int[] id;
|
public int[] id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -19067,6 +19288,19 @@ namespace TL.Methods
|
||||||
public InputChannelBase channel;
|
public InputChannelBase channel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TLDef(0x0DC770EE)]
|
||||||
|
public class Channels_GetSendAs : IMethod<Channels_SendAsPeers>
|
||||||
|
{
|
||||||
|
public InputPeer peer;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x367544DB)]
|
||||||
|
public class Channels_DeleteParticipantHistory : IMethod<Messages_AffectedHistory>
|
||||||
|
{
|
||||||
|
public InputChannelBase channel;
|
||||||
|
public InputPeer participant;
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0xAA2769ED)]
|
[TLDef(0xAA2769ED)]
|
||||||
public class Bots_SendCustomRequest : IMethod<DataJSON>
|
public class Bots_SendCustomRequest : IMethod<DataJSON>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace TL
|
||||||
{
|
{
|
||||||
public static class Layer
|
public static class Layer
|
||||||
{
|
{
|
||||||
public const int Version = 134; // fetched 10/11/2021 16:21:52
|
public const int Version = 135; // fetched 27/11/2021 01:15:53
|
||||||
internal const uint VectorCtor = 0x1CB5C415;
|
internal const uint VectorCtor = 0x1CB5C415;
|
||||||
internal const uint NullCtor = 0x56730BCC;
|
internal const uint NullCtor = 0x56730BCC;
|
||||||
internal const uint RpcResultCtor = 0xF35C6D01;
|
internal const uint RpcResultCtor = 0xF35C6D01;
|
||||||
|
|
@ -128,7 +128,7 @@ namespace TL
|
||||||
[0x8261AC61] = typeof(Channel),
|
[0x8261AC61] = typeof(Channel),
|
||||||
[0x17D493D5] = typeof(ChannelForbidden),
|
[0x17D493D5] = typeof(ChannelForbidden),
|
||||||
[0x46A6FFB4] = typeof(ChatFull),
|
[0x46A6FFB4] = typeof(ChatFull),
|
||||||
[0x59CFF963] = typeof(ChannelFull),
|
[0x56662E2E] = typeof(ChannelFull),
|
||||||
[0xC02D4007] = typeof(ChatParticipant),
|
[0xC02D4007] = typeof(ChatParticipant),
|
||||||
[0xE46BCEE4] = typeof(ChatParticipantCreator),
|
[0xE46BCEE4] = typeof(ChatParticipantCreator),
|
||||||
[0xA0933F5B] = typeof(ChatParticipantAdmin),
|
[0xA0933F5B] = typeof(ChatParticipantAdmin),
|
||||||
|
|
@ -195,7 +195,7 @@ namespace TL
|
||||||
[0x1117DD5F] = null,//GeoPointEmpty
|
[0x1117DD5F] = null,//GeoPointEmpty
|
||||||
[0xB2A2F663] = typeof(GeoPoint),
|
[0xB2A2F663] = typeof(GeoPoint),
|
||||||
[0x5E002502] = typeof(Auth_SentCode),
|
[0x5E002502] = typeof(Auth_SentCode),
|
||||||
[0xCD050916] = typeof(Auth_Authorization),
|
[0x33FB7BB8] = typeof(Auth_Authorization),
|
||||||
[0x44747E9A] = typeof(Auth_AuthorizationSignUpRequired),
|
[0x44747E9A] = typeof(Auth_AuthorizationSignUpRequired),
|
||||||
[0xB434E2B8] = typeof(Auth_ExportedAuthorization),
|
[0xB434E2B8] = typeof(Auth_ExportedAuthorization),
|
||||||
[0xB8BC5B0C] = typeof(InputNotifyPeer),
|
[0xB8BC5B0C] = typeof(InputNotifyPeer),
|
||||||
|
|
@ -204,10 +204,10 @@ namespace TL
|
||||||
[0xB1DB7C7E] = typeof(InputNotifyBroadcasts),
|
[0xB1DB7C7E] = typeof(InputNotifyBroadcasts),
|
||||||
[0x9C3D198E] = typeof(InputPeerNotifySettings),
|
[0x9C3D198E] = typeof(InputPeerNotifySettings),
|
||||||
[0xAF509D20] = typeof(PeerNotifySettings),
|
[0xAF509D20] = typeof(PeerNotifySettings),
|
||||||
[0x733F2961] = typeof(PeerSettings),
|
[0xA518110D] = typeof(PeerSettings),
|
||||||
[0xA437C3ED] = typeof(WallPaper),
|
[0xA437C3ED] = typeof(WallPaper),
|
||||||
[0xE0804116] = typeof(WallPaperNoFile),
|
[0xE0804116] = typeof(WallPaperNoFile),
|
||||||
[0xD697FF05] = typeof(UserFull),
|
[0xCF366521] = typeof(UserFull),
|
||||||
[0x145ADE0B] = typeof(Contact),
|
[0x145ADE0B] = typeof(Contact),
|
||||||
[0xC13E3C50] = typeof(ImportedContact),
|
[0xC13E3C50] = typeof(ImportedContact),
|
||||||
[0x16D9703B] = typeof(ContactStatus),
|
[0x16D9703B] = typeof(ContactStatus),
|
||||||
|
|
@ -444,7 +444,7 @@ namespace TL
|
||||||
[0xE89C45B2] = typeof(WebPage),
|
[0xE89C45B2] = typeof(WebPage),
|
||||||
[0x7311CA11] = typeof(WebPageNotModified),
|
[0x7311CA11] = typeof(WebPageNotModified),
|
||||||
[0xAD01D61D] = typeof(Authorization),
|
[0xAD01D61D] = typeof(Authorization),
|
||||||
[0x1250ABDE] = typeof(Account_Authorizations),
|
[0x4BFF8EA0] = typeof(Account_Authorizations),
|
||||||
[0x185B184F] = typeof(Account_Password),
|
[0x185B184F] = typeof(Account_Password),
|
||||||
[0x9A5C33E5] = typeof(Account_PasswordSettings),
|
[0x9A5C33E5] = typeof(Account_PasswordSettings),
|
||||||
[0xC23727C9] = typeof(Account_PasswordInputSettings),
|
[0xC23727C9] = typeof(Account_PasswordInputSettings),
|
||||||
|
|
@ -462,6 +462,7 @@ namespace TL
|
||||||
[0x0CDE3739] = typeof(InputStickerSetAnimatedEmojiAnimations),
|
[0x0CDE3739] = typeof(InputStickerSetAnimatedEmojiAnimations),
|
||||||
[0xD7DF217A] = typeof(StickerSet),
|
[0xD7DF217A] = typeof(StickerSet),
|
||||||
[0xB60A24A6] = typeof(Messages_StickerSet),
|
[0xB60A24A6] = typeof(Messages_StickerSet),
|
||||||
|
[0xD3F924EB] = null,//Messages_StickerSetNotModified
|
||||||
[0xC27AC8C7] = typeof(BotCommand),
|
[0xC27AC8C7] = typeof(BotCommand),
|
||||||
[0x1B74B335] = typeof(BotInfo),
|
[0x1B74B335] = typeof(BotInfo),
|
||||||
[0xA2FA4880] = typeof(KeyboardButton),
|
[0xA2FA4880] = typeof(KeyboardButton),
|
||||||
|
|
@ -475,6 +476,8 @@ namespace TL
|
||||||
[0x10B78D29] = typeof(KeyboardButtonUrlAuth),
|
[0x10B78D29] = typeof(KeyboardButtonUrlAuth),
|
||||||
[0xD02E7FD4] = typeof(InputKeyboardButtonUrlAuth),
|
[0xD02E7FD4] = typeof(InputKeyboardButtonUrlAuth),
|
||||||
[0xBBC7515D] = typeof(KeyboardButtonRequestPoll),
|
[0xBBC7515D] = typeof(KeyboardButtonRequestPoll),
|
||||||
|
[0xE988037B] = typeof(InputKeyboardButtonUserProfile),
|
||||||
|
[0x308660C1] = typeof(KeyboardButtonUserProfile),
|
||||||
[0x77608B83] = typeof(KeyboardButtonRow),
|
[0x77608B83] = typeof(KeyboardButtonRow),
|
||||||
[0xA03E5B85] = typeof(ReplyKeyboardHide),
|
[0xA03E5B85] = typeof(ReplyKeyboardHide),
|
||||||
[0x86B40B08] = typeof(ReplyKeyboardForceReply),
|
[0x86B40B08] = typeof(ReplyKeyboardForceReply),
|
||||||
|
|
@ -555,6 +558,7 @@ namespace TL
|
||||||
[0xC000BBA2] = typeof(Auth_SentCodeTypeSms),
|
[0xC000BBA2] = typeof(Auth_SentCodeTypeSms),
|
||||||
[0x5353E5A7] = typeof(Auth_SentCodeTypeCall),
|
[0x5353E5A7] = typeof(Auth_SentCodeTypeCall),
|
||||||
[0xAB03C6D9] = typeof(Auth_SentCodeTypeFlashCall),
|
[0xAB03C6D9] = typeof(Auth_SentCodeTypeFlashCall),
|
||||||
|
[0x82006484] = typeof(Auth_SentCodeTypeMissedCall),
|
||||||
[0x36585EA4] = typeof(Messages_BotCallbackAnswer),
|
[0x36585EA4] = typeof(Messages_BotCallbackAnswer),
|
||||||
[0x26B5DDE6] = typeof(Messages_MessageEditData),
|
[0x26B5DDE6] = typeof(Messages_MessageEditData),
|
||||||
[0x890C3D89] = typeof(InputBotInlineMessageID),
|
[0x890C3D89] = typeof(InputBotInlineMessageID),
|
||||||
|
|
@ -709,6 +713,8 @@ namespace TL
|
||||||
[0x3E7F6847] = typeof(ChannelAdminLogEventActionParticipantVolume),
|
[0x3E7F6847] = typeof(ChannelAdminLogEventActionParticipantVolume),
|
||||||
[0x6E941A38] = typeof(ChannelAdminLogEventActionChangeHistoryTTL),
|
[0x6E941A38] = typeof(ChannelAdminLogEventActionChangeHistoryTTL),
|
||||||
[0xAFB6144A] = typeof(ChannelAdminLogEventActionParticipantJoinByRequest),
|
[0xAFB6144A] = typeof(ChannelAdminLogEventActionParticipantJoinByRequest),
|
||||||
|
[0xCB2AC766] = typeof(ChannelAdminLogEventActionToggleNoForwards),
|
||||||
|
[0x278F2868] = typeof(ChannelAdminLogEventActionSendMessage),
|
||||||
[0x1FAD68CD] = typeof(ChannelAdminLogEvent),
|
[0x1FAD68CD] = typeof(ChannelAdminLogEvent),
|
||||||
[0xED8AF74D] = typeof(Channels_AdminLogResults),
|
[0xED8AF74D] = typeof(Channels_AdminLogResults),
|
||||||
[0xEA107AE4] = typeof(ChannelAdminLogEventsFilter),
|
[0xEA107AE4] = typeof(ChannelAdminLogEventsFilter),
|
||||||
|
|
@ -809,7 +815,7 @@ namespace TL
|
||||||
[0x967A462E] = typeof(InputWallPaperNoFile),
|
[0x967A462E] = typeof(InputWallPaperNoFile),
|
||||||
[0x1C199183] = null,//Account_WallPapersNotModified
|
[0x1C199183] = null,//Account_WallPapersNotModified
|
||||||
[0xCDC3858C] = typeof(Account_WallPapers),
|
[0xCDC3858C] = typeof(Account_WallPapers),
|
||||||
[0xDEBEBE83] = typeof(CodeSettings),
|
[0x8A6469C2] = typeof(CodeSettings),
|
||||||
[0x1DC1BCA4] = typeof(WallPaperSettings),
|
[0x1DC1BCA4] = typeof(WallPaperSettings),
|
||||||
[0xE04232F3] = typeof(AutoDownloadSettings),
|
[0xE04232F3] = typeof(AutoDownloadSettings),
|
||||||
[0x63CACF26] = typeof(Account_AutoDownloadSettings),
|
[0x63CACF26] = typeof(Account_AutoDownloadSettings),
|
||||||
|
|
@ -916,6 +922,10 @@ namespace TL
|
||||||
[0x147EE23C] = typeof(Messages_SearchResultsCalendar),
|
[0x147EE23C] = typeof(Messages_SearchResultsCalendar),
|
||||||
[0x7F648B67] = typeof(SearchResultPosition),
|
[0x7F648B67] = typeof(SearchResultPosition),
|
||||||
[0x53B22BAF] = typeof(Messages_SearchResultsPositions),
|
[0x53B22BAF] = typeof(Messages_SearchResultsPositions),
|
||||||
|
[0x8356CDA9] = typeof(Channels_SendAsPeers),
|
||||||
|
[0x3B6D152E] = typeof(Users_UserFull),
|
||||||
|
[0x6880B94D] = typeof(Messages_PeerSettings),
|
||||||
|
[0xC3A2835F] = typeof(Auth_LoggedOut),
|
||||||
// from TL.Secret:
|
// from TL.Secret:
|
||||||
[0xBB718624] = typeof(Layer66.SendMessageUploadRoundAction),
|
[0xBB718624] = typeof(Layer66.SendMessageUploadRoundAction),
|
||||||
[0xE50511D8] = typeof(Layer45.DecryptedMessageMediaWebPage),
|
[0xE50511D8] = typeof(Layer45.DecryptedMessageMediaWebPage),
|
||||||
|
|
@ -995,6 +1005,7 @@ namespace TL
|
||||||
[typeof(Messages_Stickers)] = 0xF1749A22, //messages.stickersNotModified
|
[typeof(Messages_Stickers)] = 0xF1749A22, //messages.stickersNotModified
|
||||||
[typeof(Messages_AllStickers)] = 0xE86602C3, //messages.allStickersNotModified
|
[typeof(Messages_AllStickers)] = 0xE86602C3, //messages.allStickersNotModified
|
||||||
[typeof(InputStickerSet)] = 0xFFB62B95, //inputStickerSetEmpty
|
[typeof(InputStickerSet)] = 0xFFB62B95, //inputStickerSetEmpty
|
||||||
|
[typeof(Messages_StickerSet)] = 0xD3F924EB, //messages.stickerSetNotModified
|
||||||
[typeof(InputChannelBase)] = 0xEE8C1E86, //inputChannelEmpty
|
[typeof(InputChannelBase)] = 0xEE8C1E86, //inputChannelEmpty
|
||||||
[typeof(ChannelMessagesFilter)] = 0x94D42EE7, //channelMessagesFilterEmpty
|
[typeof(ChannelMessagesFilter)] = 0x94D42EE7, //channelMessagesFilterEmpty
|
||||||
[typeof(Channels_ChannelParticipants)] = 0xF0173FE9, //channels.channelParticipantsNotModified
|
[typeof(Channels_ChannelParticipants)] = 0xF0173FE9, //channels.channelParticipantsNotModified
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue