From e33184fabb2883418b7e2444b9192d3b9061ad9e Mon Sep 17 00:00:00 2001
From: Wizou <11647984+wiz0u@users.noreply.github.com>
Date: Tue, 25 Apr 2023 16:51:39 +0200
Subject: [PATCH] improved api doc for Flags
---
src/SecretChats.cs | 2 +-
src/TL.Schema.cs | 575 +++++++++++++++++++------------------
src/TL.SchemaFuncs.cs | 34 +--
src/TL.Secret.cs | 4 +-
src/WTelegramClient.csproj | 2 +-
5 files changed, 312 insertions(+), 305 deletions(-)
diff --git a/src/SecretChats.cs b/src/SecretChats.cs
index 422bc44..5df6b44 100644
--- a/src/SecretChats.cs
+++ b/src/SecretChats.cs
@@ -170,7 +170,7 @@ namespace WTelegram
}
/// Processes the you received from Telegram ().
- /// If update.chat is , you might want to first make sure you want to accept this secret chat initiated by user
+ /// If update.chat is , you might want to first make sure you want to accept this secret chat initiated by user
/// Incoming requests for secret chats are automatically: accepted (), rejected () or ignored ()
/// if the update was handled successfully
///
diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs
index 445e53f..8c3c566 100644
--- a/src/TL.Schema.cs
+++ b/src/TL.Schema.cs
@@ -184,7 +184,7 @@ namespace TL
[TLDef(0x1E287D04)]
public class InputMediaUploadedPhoto : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The uploaded file
public InputFileBase file;
@@ -207,7 +207,7 @@ namespace TL
[TLDef(0xB3BA0635)]
public class InputMediaPhoto : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Photo to be forwarded
public InputPhoto id;
@@ -246,7 +246,7 @@ namespace TL
[TLDef(0x5B38C6C1)]
public partial class InputMediaUploadedDocument : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The uploaded file
public InputFileBase file;
@@ -281,7 +281,7 @@ namespace TL
[TLDef(0x33473058)]
public class InputMediaDocument : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The document to be forwarded.
public InputDocument id;
@@ -321,7 +321,7 @@ namespace TL
[TLDef(0xE5BBFE1A)]
public class InputMediaPhotoExternal : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// URL of the photo
public string url;
@@ -340,7 +340,7 @@ namespace TL
[TLDef(0xFB52DC99)]
public class InputMediaDocumentExternal : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// URL of the document
public string url;
@@ -366,7 +366,7 @@ namespace TL
[TLDef(0x8EB5A6D5)]
public class InputMediaInvoice : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Product name, 1-32 characters
public string title;
@@ -400,7 +400,7 @@ namespace TL
[TLDef(0x971FA843)]
public class InputMediaGeoLive : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Current geolocation
public InputGeoPoint geo_point;
@@ -427,7 +427,7 @@ namespace TL
[TLDef(0x0F94E5F1)]
public class InputMediaPoll : InputMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The poll to send
public Poll poll;
@@ -442,7 +442,7 @@ namespace TL
{
/// Field has a value
has_correct_answers = 0x1,
- /// Field has a value
+ /// Fields and have a value
has_solution = 0x2,
}
}
@@ -461,7 +461,7 @@ namespace TL
[TLDef(0xBDCDAEC0)]
public class InputChatUploadedPhoto : InputChatPhotoBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// File saved in parts using the method Upload_SaveFilePart
[IfFlag(0)] public InputFileBase file;
@@ -497,7 +497,7 @@ namespace TL
[TLDef(0x48222FAF)]
public class InputGeoPoint : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Latitude
public double lat;
@@ -609,7 +609,7 @@ namespace TL
[TLDef(0x37257E99)]
public class InputPeerPhotoFileLocation : InputFileLocationBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The peer whose profile picture should be downloaded
public InputPeer peer;
@@ -635,7 +635,7 @@ namespace TL
[TLDef(0x0598A92A)]
public class InputGroupCallStream : InputFileLocationBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Livestream info
public InputGroupCall call;
@@ -650,7 +650,7 @@ namespace TL
[Flags] public enum Flags : uint
{
- /// Field has a value
+ /// Fields and have a value
has_video_channel = 0x1,
}
}
@@ -717,9 +717,9 @@ namespace TL
[TLDef(0x8F97C628)]
public partial class User : UserBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags2.HasFlag(...) to test for those
public Flags2 flags2;
/// ID of the user
public long id;
@@ -823,7 +823,7 @@ namespace TL
[TLDef(0x82D1F706)]
public class UserProfilePhoto : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Identifier of the respective photo
public long photo_id;
@@ -892,7 +892,7 @@ namespace TL
[TLDef(0x41CBF256)]
public partial class Chat : ChatBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the group
public long id;
@@ -958,9 +958,9 @@ namespace TL
[TLDef(0x83259464)]
public partial class Channel : ChatBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags2.HasFlag(...) to test for those
public Flags2 flags2;
/// ID of the channel
public long id;
@@ -1058,7 +1058,7 @@ namespace TL
[TLDef(0x17D493D5)]
public partial class ChannelForbidden : ChatBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Channel ID
public long id;
@@ -1123,7 +1123,7 @@ namespace TL
[TLDef(0xC9D31138)]
public partial class ChatFull : ChatFullBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the chat
public long id;
@@ -1182,7 +1182,7 @@ namespace TL
has_groupcall_default_join_as = 0x8000,
/// Field has a value
has_theme_emoticon = 0x10000,
- /// Field has a value
+ /// Fields and have a value
has_requests_pending = 0x20000,
/// Field has a value
has_available_reactions = 0x40000,
@@ -1225,9 +1225,9 @@ namespace TL
[TLDef(0xF2355507)]
public partial class ChannelFull : ChatFullBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags2.HasFlag(...) to test for those
public Flags2 flags2;
/// ID of the channel
public long id;
@@ -1306,11 +1306,11 @@ namespace TL
has_participants_count = 0x1,
/// Field has a value
has_admins_count = 0x2,
- /// Field has a value
+ /// Fields and have a value
has_kicked_count = 0x4,
/// Can we view the participant list?
can_view_participants = 0x8,
- /// Field has a value
+ /// Fields and have a value
has_migrated_from_chat_id = 0x10,
/// Field has a value
has_pinned_msg_id = 0x20,
@@ -1358,7 +1358,7 @@ namespace TL
has_groupcall_default_join_as = 0x4000000,
/// Field has a value
has_theme_emoticon = 0x8000000,
- /// Field has a value
+ /// Fields and have a value
has_requests_pending = 0x10000000,
/// Field has a value
has_default_send_as = 0x20000000,
@@ -1456,7 +1456,7 @@ namespace TL
[TLDef(0x8763D3E1)]
public partial class ChatParticipantsForbidden : ChatParticipantsBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Group ID
public long chat_id;
@@ -1492,7 +1492,7 @@ namespace TL
[TLDef(0x1C6E1C11)]
public class ChatPhoto : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Photo ID
public long photo_id;
@@ -1530,7 +1530,7 @@ namespace TL
[TLDef(0x90A6CA84)]
public partial class MessageEmpty : MessageBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Message identifier
public int id;
@@ -1552,7 +1552,7 @@ namespace TL
[TLDef(0x38116EE0)]
public partial class Message : MessageBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the message
public int id;
@@ -1615,7 +1615,7 @@ namespace TL
has_from_id = 0x100,
/// Field has a value
has_media = 0x200,
- /// Field has a value
+ /// Fields and have a value
has_views = 0x400,
/// Field has a value
has_via_bot_id = 0x800,
@@ -1666,7 +1666,7 @@ namespace TL
[TLDef(0x2B085862)]
public partial class MessageService : MessageBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Message ID
public int id;
@@ -1726,7 +1726,7 @@ namespace TL
[TLDef(0x695150D7)]
public partial class MessageMediaPhoto : MessageMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Photo
[IfFlag(0)] public PhotoBase photo;
@@ -1772,7 +1772,7 @@ namespace TL
[TLDef(0x9CB070D7)]
public partial class MessageMediaDocument : MessageMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Attached document
[IfFlag(0)] public DocumentBase document;
@@ -1826,7 +1826,7 @@ namespace TL
[TLDef(0xF6A548D3)]
public class MessageMediaInvoice : MessageMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Product name, 1-32 characters
public string title;
@@ -1862,7 +1862,7 @@ namespace TL
[TLDef(0xB940C666)]
public partial class MessageMediaGeoLive : MessageMedia
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Geolocation
public GeoPoint geo;
@@ -1900,7 +1900,7 @@ namespace TL
public string emoticon;
}
- /// Object describing actions connected to a service message. See Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
+ /// Object describing actions connected to a service message. See Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
/// a value means messageActionEmpty
public abstract class MessageAction : IObject { }
/// Group created See
@@ -1992,7 +1992,7 @@ namespace TL
[TLDef(0x8F31B327)]
public class MessageActionPaymentSentMe : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Three-letter ISO 4217 currency code
public string currency;
@@ -2023,7 +2023,7 @@ namespace TL
[TLDef(0x96163F56)]
public class MessageActionPaymentSent : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Three-letter ISO 4217 currency code
public string currency;
@@ -2046,7 +2046,7 @@ namespace TL
[TLDef(0x80E11A7F)]
public class MessageActionPhoneCall : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Call ID
public long call_id;
@@ -2079,7 +2079,7 @@ namespace TL
[TLDef(0xC516D679)]
public class MessageActionBotAllowed : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// We have authorized the bot to send us messages by logging into a website via Telegram Login »; this field contains the domain name of the website on which the user has logged in.
[IfFlag(0)] public string domain;
@@ -2130,7 +2130,7 @@ namespace TL
[TLDef(0x7A0D7F42)]
public class MessageActionGroupCall : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Group call
public InputGroupCall call;
@@ -2156,7 +2156,7 @@ namespace TL
[TLDef(0x3C134D7B)]
public class MessageActionSetMessagesTTL : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// New Time-To-Live of all messages sent in this chat; if 0, autodeletion was disabled.
public int period;
@@ -2206,6 +2206,7 @@ namespace TL
[TLDef(0xC83D6AEC)]
public class MessageActionGiftPremium : MessageAction
{
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Three-letter ISO 4217 currency code
public string currency;
@@ -2218,7 +2219,7 @@ namespace TL
[Flags] public enum Flags : uint
{
- /// Field has a value
+ /// Fields and have a value
has_crypto_currency = 0x1,
}
}
@@ -2226,7 +2227,7 @@ namespace TL
[TLDef(0x0D999256)]
public class MessageActionTopicCreate : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Topic name.
public string title;
@@ -2245,7 +2246,7 @@ namespace TL
[TLDef(0xC0944820)]
public class MessageActionTopicEdit : MessageAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Topic title.
[IfFlag(0)] public string title;
@@ -2306,7 +2307,7 @@ namespace TL
[TLDef(0xD58A08C6)]
public class Dialog : DialogBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The chat
public Peer peer;
@@ -2358,7 +2359,7 @@ namespace TL
[TLDef(0x71BD134C)]
public class DialogFolder : DialogBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The folder
public Folder folder;
@@ -2400,7 +2401,7 @@ namespace TL
[TLDef(0xFB197A65)]
public partial class Photo : PhotoBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID
public long id;
@@ -2520,7 +2521,7 @@ namespace TL
[TLDef(0xB2A2F663)]
public partial class GeoPoint : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Longitude
public double lon;
@@ -2544,7 +2545,7 @@ namespace TL
[TLDef(0x5E002502)]
public class Auth_SentCode : Auth_SentCodeBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Phone code type
public Auth_SentCodeType type;
@@ -2576,7 +2577,7 @@ namespace TL
[TLDef(0x2EA2C0D4)]
public class Auth_Authorization : Auth_AuthorizationBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Iff setup_password_required is set and the user declines to set a 2-step verification password, they will be able to log into their account via SMS again only after this many days pass.
[IfFlag(1)] public int otherwise_relogin_days;
@@ -2601,7 +2602,7 @@ namespace TL
[TLDef(0x44747E9A)]
public class Auth_AuthorizationSignUpRequired : Auth_AuthorizationBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram
[IfFlag(0)] public Help_TermsOfService terms_of_service;
@@ -2655,7 +2656,7 @@ namespace TL
[TLDef(0xDF1F002B)]
public class InputPeerNotifySettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// If the text of the message shall be displayed in notification
[IfFlag(0)] public bool show_previews;
@@ -2683,7 +2684,7 @@ namespace TL
[TLDef(0xA83B0426)]
public class PeerNotifySettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// (Ternary value) If set, indicates whether or not to display previews of messages in notifications; otherwise the default behavior should be used.
[IfFlag(0)] public bool show_previews;
@@ -2719,7 +2720,7 @@ namespace TL
[TLDef(0xA518110D)]
public class PeerSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Distance in meters between us and this peer
[IfFlag(6)] public int geo_distance;
@@ -2748,7 +2749,7 @@ namespace TL
autoarchived = 0x80,
/// If set, this is a recently created group chat to which new members can be invited
invite_members = 0x100,
- /// Field has a value
+ /// Fields and have a value
has_request_chat_title = 0x200,
/// This flag is set if request_chat_title and request_chat_date fields are set and the join request » is related to a channel (otherwise if only the request fields are set, the join request » is related to a chat).
request_chat_broadcast = 0x400,
@@ -2769,7 +2770,7 @@ namespace TL
{
/// Identifier
public long id;
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Access hash
public long access_hash;
@@ -2805,7 +2806,7 @@ namespace TL
{
/// Wallpaper ID
public long id;
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Info on how to generate the wallpaper.
[IfFlag(2)] public WallPaperSettings settings;
@@ -2855,7 +2856,7 @@ namespace TL
[TLDef(0x93EADB53)]
public class UserFull : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// User ID
public long id;
@@ -3095,7 +3096,7 @@ namespace TL
[TLDef(0x3A54685E)]
public partial class Messages_MessagesSlice : Messages_Messages, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Total number of messages in the list
public int count;
@@ -3118,7 +3119,7 @@ namespace TL
[TLDef(0xC776BA4E)]
public partial class Messages_ChannelMessages : Messages_MessagesBase, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Event count after generation
public int pts;
@@ -3233,7 +3234,7 @@ namespace TL
[TLDef(0x80C99768)]
public class InputMessagesFilterPhoneCalls : MessagesFilter
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -3413,7 +3414,7 @@ namespace TL
[TLDef(0xEBE46819)]
public class UpdateServiceNotification : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// When was the notification received
The message must also be stored locally as part of the message history with the user id 777000 (Telegram Notifications).
[IfFlag(1)] public DateTime inbox_date;
@@ -3454,7 +3455,7 @@ namespace TL
[TLDef(0x9C974FDF)]
public class UpdateReadHistoryInbox : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer folder ID, for more info click here
[IfFlag(0)] public int folder_id;
@@ -3514,7 +3515,7 @@ namespace TL
[TLDef(0x108D941F)]
public class UpdateChannelTooLong : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The channel
public long channel_id;
@@ -3541,7 +3542,7 @@ namespace TL
[TLDef(0x922E6E10)]
public class UpdateReadChannelInbox : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer folder ID, for more info click here
[IfFlag(0)] public int folder_id;
@@ -3605,7 +3606,7 @@ namespace TL
[TLDef(0x31C24808)]
public class UpdateStickerSets : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -3623,7 +3624,7 @@ namespace TL
[TLDef(0x496F379C)]
public class UpdateBotInlineQuery : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Query ID
public long query_id;
@@ -3650,7 +3651,7 @@ namespace TL
[TLDef(0x12F12A07)]
public class UpdateBotInlineSend : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The user that chose the result
public long user_id;
@@ -3678,7 +3679,7 @@ namespace TL
[TLDef(0xB9CFC48D)]
public class UpdateBotCallbackQuery : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Query ID
public long query_id;
@@ -3718,7 +3719,7 @@ namespace TL
[TLDef(0x691E9052)]
public class UpdateInlineBotCallbackQuery : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Query ID
public long query_id;
@@ -3754,7 +3755,7 @@ namespace TL
[TLDef(0x1B49EC6D)]
public class UpdateDraftMessage : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The peer to which the draft is associated
public Peer peer;
@@ -3792,7 +3793,7 @@ namespace TL
[TLDef(0x6E6FE51C)]
public class UpdateDialogPinned : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer folder ID, for more info click here
[IfFlag(1)] public int folder_id;
@@ -3811,7 +3812,7 @@ namespace TL
[TLDef(0xFA0F3CA2)]
public class UpdatePinnedDialogs : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer folder ID, for more info click here
[IfFlag(1)] public int folder_id;
@@ -3861,7 +3862,7 @@ namespace TL
[TLDef(0x8CAA9A96)]
public class UpdateBotPrecheckoutQuery : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Unique query identifier
public long query_id;
@@ -3914,7 +3915,7 @@ namespace TL
[TLDef(0xEA29055D)]
public class UpdateChannelReadMessagesContents : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Channel/supergroup ID
public long channel_id;
@@ -3943,7 +3944,7 @@ namespace TL
[TLDef(0xE16459C3)]
public class UpdateDialogUnreadMark : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The dialog
public DialogPeerBase peer;
@@ -3958,7 +3959,7 @@ namespace TL
[TLDef(0xACA1657B)]
public class UpdateMessagePoll : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Poll ID
public long poll_id;
@@ -4063,7 +4064,7 @@ namespace TL
[TLDef(0x26FFDE7D)]
public class UpdateDialogFilter : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Folder ID
public int id;
@@ -4108,7 +4109,7 @@ namespace TL
[TLDef(0xD6B19546)]
public class UpdateReadChannelDiscussionInbox : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Discussion group ID
public long channel_id;
@@ -4123,7 +4124,7 @@ namespace TL
[Flags] public enum Flags : uint
{
- /// Field has a value
+ /// Fields and have a value
has_broadcast_id = 0x1,
}
}
@@ -4151,7 +4152,7 @@ namespace TL
[TLDef(0x8C88C923)]
public class UpdateChannelUserTyping : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Channel ID
public long channel_id;
@@ -4172,7 +4173,7 @@ namespace TL
[TLDef(0xED85EAB5)]
public class UpdatePinnedMessages : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer
public Peer peer;
@@ -4193,7 +4194,7 @@ namespace TL
[TLDef(0x5BB98608)]
public class UpdatePinnedChannelMessages : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Channel ID
public long channel_id;
@@ -4241,7 +4242,7 @@ namespace TL
[TLDef(0xBB9BB9A5)]
public class UpdatePeerHistoryTTL : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The chat
public Peer peer;
@@ -4258,7 +4259,7 @@ namespace TL
[TLDef(0xD087663A)]
public class UpdateChatParticipant : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Chat ID
public long chat_id;
@@ -4291,7 +4292,7 @@ namespace TL
[TLDef(0x985D3ABB)]
public class UpdateChannelParticipant : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Channel ID
public long channel_id;
@@ -4338,7 +4339,7 @@ namespace TL
[TLDef(0x0B783982)]
public class UpdateGroupCallConnection : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// WebRTC parameters
public DataJSON params_;
@@ -4392,7 +4393,7 @@ namespace TL
[TLDef(0x5E1B3CB8)]
public class UpdateMessageReactions : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer
public Peer peer;
@@ -4435,7 +4436,7 @@ namespace TL
[TLDef(0x0084CD5A)]
public class UpdateTranscribedAudio : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer of the transcribed message
public Peer peer;
@@ -4472,7 +4473,7 @@ namespace TL
[TLDef(0x86FCCF85)]
public class UpdateMoveStickerSetToTop : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Stickerset ID
public long stickerset;
@@ -4497,7 +4498,7 @@ namespace TL
[TLDef(0x192EFBE3)]
public class UpdateChannelPinnedTopic : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The forum ID
public long channel_id;
@@ -4514,7 +4515,7 @@ namespace TL
[TLDef(0xFE198602)]
public class UpdateChannelPinnedTopics : Update
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Forum ID.
public long channel_id;
@@ -4669,7 +4670,7 @@ namespace TL
[TLDef(0x313BC7F8)]
public partial class UpdateShortMessage : UpdatesBase, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The message ID
public int id;
@@ -4725,7 +4726,7 @@ namespace TL
[TLDef(0x4D6DEEA5)]
public partial class UpdateShortChatMessage : UpdatesBase, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the message
public int id;
@@ -4839,7 +4840,7 @@ namespace TL
[TLDef(0x9015E101)]
public partial class UpdateShortSentMessage : UpdatesBase, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the sent message
public int id;
@@ -4934,7 +4935,7 @@ namespace TL
[TLDef(0x18B7A10D)]
public class DcOption : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// DC ID
public int id;
@@ -4968,7 +4969,7 @@ namespace TL
[TLDef(0xCC1A241E)]
public class Config : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Current date at the server
public DateTime date;
@@ -5059,7 +5060,7 @@ namespace TL
{
/// Field has a value
has_tmp_sessions = 0x1,
- /// Field has a value
+ /// Fields , and have a value
has_suggested_lang_code = 0x4,
/// Whether the client should use P2P by default for phone calls with contacts
default_p2p_contacts = 0x8,
@@ -5105,7 +5106,7 @@ namespace TL
[TLDef(0xCCBBCE30)]
public class Help_AppUpdate : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Update ID
public int id;
@@ -5197,7 +5198,7 @@ namespace TL
[TLDef(0x48F1D94C)]
public class EncryptedChatRequested : EncryptedChatBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer folder ID, for more info click here
[IfFlag(0)] public int folder_id;
@@ -5265,7 +5266,7 @@ namespace TL
[TLDef(0x1E1C7C45)]
public class EncryptedChatDiscarded : EncryptedChatBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Chat ID
public int id;
@@ -5480,7 +5481,7 @@ namespace TL
[TLDef(0x8FD4C4D8)]
public partial class Document : DocumentBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Document ID
public long id;
@@ -5831,7 +5832,7 @@ namespace TL
[TLDef(0x6319D612)]
public class DocumentAttributeSticker : DocumentAttribute
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Alternative emoji representation of sticker
public string alt;
@@ -5852,7 +5853,7 @@ namespace TL
[TLDef(0x0EF02CE6)]
public class DocumentAttributeVideo : DocumentAttribute
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Duration in seconds
public int duration;
@@ -5873,7 +5874,7 @@ namespace TL
[TLDef(0x9852F9C6)]
public class DocumentAttributeAudio : DocumentAttribute
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Duration in seconds
public int duration;
@@ -5910,7 +5911,7 @@ namespace TL
[TLDef(0xFD149899)]
public class DocumentAttributeCustomEmoji : DocumentAttribute
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The actual emoji
public string alt;
@@ -6000,7 +6001,7 @@ namespace TL
[TLDef(0xE89C45B2)]
public class WebPage : WebPageBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Preview ID
public long id;
@@ -6051,9 +6052,9 @@ namespace TL
has_description = 0x8,
/// Field has a value
has_photo = 0x10,
- /// Field has a value
+ /// Fields and have a value
has_embed_url = 0x20,
- /// Field has a value
+ /// Fields and have a value
has_embed_width = 0x40,
/// Field has a value
has_duration = 0x80,
@@ -6074,7 +6075,7 @@ namespace TL
[TLDef(0x7311CA11)]
public class WebPageNotModified : WebPageBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Page view count
[IfFlag(0)] public int cached_page_views;
@@ -6090,7 +6091,7 @@ namespace TL
[TLDef(0xAD01D61D)]
public class Authorization : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Identifier
public long hash;
@@ -6146,7 +6147,7 @@ namespace TL
[TLDef(0x957B50FB)]
public class Account_Password : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The KDF algorithm for SRP two-factor authentication of the current password
[IfFlag(2)] public PasswordKdfAlgo current_algo;
@@ -6192,7 +6193,7 @@ namespace TL
[TLDef(0x9A5C33E5)]
public class Account_PasswordSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// 2FA Recovery email
[IfFlag(0)] public string email;
@@ -6212,7 +6213,7 @@ namespace TL
[TLDef(0xC23727C9)]
public class Account_PasswordInputSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The SRP algorithm to use
[IfFlag(0)] public PasswordKdfAlgo new_algo;
@@ -6227,7 +6228,7 @@ namespace TL
[Flags] public enum Flags : uint
{
- /// Field has a value
+ /// Fields , and have a value
has_new_algo = 0x1,
/// Field has a value
has_email = 0x2,
@@ -6260,7 +6261,7 @@ namespace TL
[TLDef(0x0AB4A819)]
public class ChatInviteExported : ExportedChatInvite
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Chat invitation link
public string link;
@@ -6320,7 +6321,7 @@ namespace TL
[TLDef(0x300C44C1)]
public class ChatInvite : ChatInviteBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Chat/supergroup/channel title
public string title;
@@ -6410,7 +6411,7 @@ namespace TL
[TLDef(0x2DD14EDC)]
public partial class StickerSet : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// When was this stickerset installed
[IfFlag(0)] public DateTime installed_date;
@@ -6445,7 +6446,7 @@ namespace TL
official = 0x4,
/// Is this a mask stickerset
masks = 0x8,
- /// Field has a value
+ /// Fields , and have a value
has_thumbs = 0x10,
/// Is this an animated stickerpack
animated = 0x20,
@@ -6487,7 +6488,7 @@ namespace TL
[TLDef(0x8F300B57)]
public class BotInfo : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the bot
[IfFlag(0)] public long user_id;
@@ -6546,7 +6547,7 @@ namespace TL
[TLDef(0x35BBDB6B)]
public class KeyboardButtonCallback : KeyboardButtonBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Button text
public string text;
@@ -6576,7 +6577,7 @@ namespace TL
[TLDef(0x93B9FBB5)]
public class KeyboardButtonSwitchInline : KeyboardButtonBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Button label
public string text;
@@ -6609,7 +6610,7 @@ namespace TL
[TLDef(0x10B78D29)]
public class KeyboardButtonUrlAuth : KeyboardButtonBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Button label
public string text;
@@ -6633,7 +6634,7 @@ namespace TL
[TLDef(0xD02E7FD4)]
public class InputKeyboardButtonUrlAuth : KeyboardButtonBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Button text
public string text;
@@ -6659,7 +6660,7 @@ namespace TL
[TLDef(0xBBC7515D)]
public class KeyboardButtonRequestPoll : KeyboardButton
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// If set, only quiz polls can be sent
[IfFlag(0)] public bool quiz;
@@ -6725,7 +6726,7 @@ namespace TL
[TLDef(0xA03E5B85)]
public class ReplyKeyboardHide : ReplyMarkup
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -6738,7 +6739,7 @@ namespace TL
[TLDef(0x86B40B08)]
public class ReplyKeyboardForceReply : ReplyMarkup
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The placeholder to be shown in the input field when the keyboard is active; 1-64 characters.
[IfFlag(3)] public string placeholder;
@@ -6757,7 +6758,7 @@ namespace TL
[TLDef(0x85DD99D1)]
public class ReplyKeyboardMarkup : ReplyMarkup
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Button row
public KeyboardButtonRow[] rows;
@@ -6946,7 +6947,7 @@ namespace TL
[TLDef(0x3E11AFFB)]
public partial class Updates_ChannelDifferenceEmpty : Updates_ChannelDifferenceBase, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The latest PTS
public int pts;
@@ -6967,7 +6968,7 @@ namespace TL
[TLDef(0xA4BCC6FE)]
public partial class Updates_ChannelDifferenceTooLong : Updates_ChannelDifferenceBase, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Clients are supposed to refetch the channel difference after timeout seconds have elapsed
[IfFlag(1)] public int timeout;
@@ -6994,7 +6995,7 @@ namespace TL
[TLDef(0x2064674E)]
public partial class Updates_ChannelDifference : Updates_ChannelDifferenceBase, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The PTS from which to start getting updates the next time
public int pts;
@@ -7025,7 +7026,7 @@ namespace TL
[TLDef(0xCD77D957)]
public class ChannelMessagesFilter : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// A range of messages to fetch
public MessageRange[] ranges;
@@ -7052,7 +7053,7 @@ namespace TL
[TLDef(0x35A8BFA7)]
public partial class ChannelParticipantSelf : ChannelParticipantBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// User ID
public long user_id;
@@ -7071,7 +7072,7 @@ namespace TL
[TLDef(0x2FE601D3)]
public partial class ChannelParticipantCreator : ChannelParticipantBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// User ID
public long user_id;
@@ -7090,7 +7091,7 @@ namespace TL
[TLDef(0x34C3BB53)]
public partial class ChannelParticipantAdmin : ChannelParticipantBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Admin user ID
public long user_id;
@@ -7119,7 +7120,7 @@ namespace TL
[TLDef(0x6DF8014E)]
public partial class ChannelParticipantBanned : ChannelParticipantBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The banned peer
public Peer peer;
@@ -7187,7 +7188,7 @@ namespace TL
[TLDef(0xE04B5CEB)]
public class ChannelParticipantsMentions : ChannelParticipantsFilter
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Filter by user name or username
[IfFlag(0)] public string q;
@@ -7238,7 +7239,7 @@ namespace TL
[TLDef(0x780A0310)]
public class Help_TermsOfService : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the new terms
public DataJSON id;
@@ -7275,7 +7276,7 @@ namespace TL
[TLDef(0x3380C786)]
public class InputBotInlineMessageMediaAuto : InputBotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Caption
public string message;
@@ -7296,7 +7297,7 @@ namespace TL
[TLDef(0x3DCD7A87)]
public class InputBotInlineMessageText : InputBotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Message
public string message;
@@ -7319,7 +7320,7 @@ namespace TL
[TLDef(0x96929A85)]
public class InputBotInlineMessageMediaGeo : InputBotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Geolocation
public InputGeoPoint geo_point;
@@ -7348,7 +7349,7 @@ namespace TL
[TLDef(0x417BBF11)]
public class InputBotInlineMessageMediaVenue : InputBotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Geolocation
public InputGeoPoint geo_point;
@@ -7375,7 +7376,7 @@ namespace TL
[TLDef(0xA6EDBFFD)]
public class InputBotInlineMessageMediaContact : InputBotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Phone number
public string phone_number;
@@ -7398,7 +7399,7 @@ namespace TL
[TLDef(0x4B425864)]
public class InputBotInlineMessageGame : InputBotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Inline keyboard
[IfFlag(2)] public ReplyMarkup reply_markup;
@@ -7413,7 +7414,7 @@ namespace TL
[TLDef(0xD7E78225)]
public class InputBotInlineMessageMediaInvoice : InputBotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Product name, 1-32 characters
public string title;
@@ -7453,7 +7454,7 @@ namespace TL
[TLDef(0x88BF9319)]
public class InputBotInlineResult : InputBotInlineResultBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of result
public string id;
@@ -7513,7 +7514,7 @@ namespace TL
[TLDef(0xFFF8FDC4)]
public class InputBotInlineResultDocument : InputBotInlineResultBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Result ID
public string id;
@@ -7564,7 +7565,7 @@ namespace TL
[TLDef(0x764CF810)]
public class BotInlineMessageMediaAuto : BotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Caption
public string message;
@@ -7585,7 +7586,7 @@ namespace TL
[TLDef(0x8C7F65E2)]
public class BotInlineMessageText : BotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The message
public string message;
@@ -7608,7 +7609,7 @@ namespace TL
[TLDef(0x051846FD)]
public class BotInlineMessageMediaGeo : BotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Geolocation
public GeoPoint geo;
@@ -7637,7 +7638,7 @@ namespace TL
[TLDef(0x8A86659C)]
public class BotInlineMessageMediaVenue : BotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Geolocation of venue
public GeoPoint geo;
@@ -7664,7 +7665,7 @@ namespace TL
[TLDef(0x18D1CDC2)]
public class BotInlineMessageMediaContact : BotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Phone number
public string phone_number;
@@ -7687,7 +7688,7 @@ namespace TL
[TLDef(0x354A9B09)]
public class BotInlineMessageMediaInvoice : BotInlineMessage
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Product name, 1-32 characters
public string title;
@@ -7733,7 +7734,7 @@ namespace TL
[TLDef(0x11965F3A)]
public class BotInlineResult : BotInlineResultBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Result ID
public string id;
@@ -7781,7 +7782,7 @@ namespace TL
[TLDef(0x17DB940B)]
public class BotInlineMediaResult : BotInlineResultBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Result ID
public string id;
@@ -7826,7 +7827,7 @@ namespace TL
[TLDef(0xE021F2F6)]
public class Messages_BotResults : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Query ID
public long query_id;
@@ -7870,7 +7871,7 @@ namespace TL
[TLDef(0x5F777DCE)]
public class MessageFwdHeader : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The ID of the user that originally sent the message
[IfFlag(0)] public Peer from_id;
@@ -7897,7 +7898,7 @@ namespace TL
has_channel_post = 0x4,
/// Field has a value
has_post_author = 0x8,
- /// Field has a value
+ /// Fields and have a value
has_saved_from_peer = 0x10,
/// Field has a value
has_from_name = 0x20,
@@ -7964,7 +7965,7 @@ namespace TL
[TLDef(0xF450F59B)]
public class Auth_SentCodeTypeEmailCode : Auth_SentCodeType
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Pattern of the email
public string email_pattern;
@@ -7989,7 +7990,7 @@ namespace TL
[TLDef(0xA5491DEA)]
public class Auth_SentCodeTypeSetUpEmailRequired : Auth_SentCodeType
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -8011,7 +8012,7 @@ namespace TL
[TLDef(0xE57B1432)]
public class Auth_SentCodeTypeFirebaseSms : Auth_SentCodeTypeSms
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// On Android, the nonce to be used as described in the auth documentation »
[IfFlag(0)] public byte[] nonce;
@@ -8022,7 +8023,7 @@ namespace TL
{
/// Field has a value
has_nonce = 0x1,
- /// Field has a value
+ /// Fields and have a value
has_receipt = 0x2,
}
}
@@ -8031,7 +8032,7 @@ namespace TL
[TLDef(0x36585EA4)]
public class Messages_BotCallbackAnswer : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Alert to show
[IfFlag(0)] public string message;
@@ -8059,7 +8060,7 @@ namespace TL
[TLDef(0x26B5DDE6)]
public class Messages_MessageEditData : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -8209,7 +8210,7 @@ namespace TL
[TLDef(0x1B0C841A)]
public class DraftMessageEmpty : DraftMessageBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// When was the draft last updated
[IfFlag(0)] public DateTime date;
@@ -8224,7 +8225,7 @@ namespace TL
[TLDef(0xFD8E711F)]
public class DraftMessage : DraftMessageBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The message this message will reply to
[IfFlag(0)] public int reply_to_msg_id;
@@ -8259,7 +8260,7 @@ namespace TL
[TLDef(0xBE382906)]
public class Messages_FeaturedStickers : Messages_FeaturedStickersBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Hash for pagination, for more info click here
public long hash;
@@ -8407,7 +8408,7 @@ namespace TL
[TLDef(0xBDF9653B)]
public partial class Game : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of the game
public long id;
@@ -8701,7 +8702,7 @@ namespace TL
[TLDef(0x1759C560)]
public class PageBlockPhoto : PageBlock
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Photo ID
public long photo_id;
@@ -8714,7 +8715,7 @@ namespace TL
[Flags] public enum Flags : uint
{
- /// Field has a value
+ /// Fields and have a value
has_url = 0x1,
}
}
@@ -8722,7 +8723,7 @@ namespace TL
[TLDef(0x7C8FE7B6)]
public class PageBlockVideo : PageBlock
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Video ID
public long video_id;
@@ -8748,7 +8749,7 @@ namespace TL
[TLDef(0xA8718DC5)]
public class PageBlockEmbed : PageBlock
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Web page URL, if available
[IfFlag(1)] public string url;
@@ -8775,7 +8776,7 @@ namespace TL
allow_scrolling = 0x8,
/// Field has a value
has_poster_photo_id = 0x10,
- /// Field has a value
+ /// Fields and have a value
has_w = 0x20,
}
}
@@ -8843,7 +8844,7 @@ namespace TL
[TLDef(0xBF4DEA82)]
public class PageBlockTable : PageBlock
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Title
public RichText title;
@@ -8869,7 +8870,7 @@ namespace TL
[TLDef(0x76768BED)]
public class PageBlockDetails : PageBlock
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Block contents
public PageBlock[] blocks;
@@ -8942,7 +8943,7 @@ namespace TL
[TLDef(0x3E85A91B)]
public class Invoice : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Three-letter ISO 4217 currency code
public string currency;
@@ -8973,7 +8974,7 @@ namespace TL
phone_to_provider = 0x40,
/// Set this flag if user's email address should be sent to provider
email_to_provider = 0x80,
- /// Field has a value
+ /// Fields and have a value
has_max_tip_amount = 0x100,
/// Whether this is a recurring payment
recurring = 0x200,
@@ -9012,7 +9013,7 @@ namespace TL
[TLDef(0x909C3F94)]
public class PaymentRequestedInfo : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// User's full name
[IfFlag(0)] public string name;
@@ -9153,7 +9154,7 @@ namespace TL
[TLDef(0xF46FE924)]
public class InputWebFileAudioAlbumThumbLocation : InputWebFileLocationBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The audio file in question: must NOT be provided in secret chats, provide the title and performer fields instead.
[IfFlag(0)] public InputDocument document;
@@ -9166,7 +9167,7 @@ namespace TL
{
/// Field has a value
has_document = 0x1,
- /// Field has a value
+ /// Fields and have a value
has_title = 0x2,
/// Used to return a thumbnail with 100x100 resolution (instead of the default 600x600)
small = 0x4,
@@ -9193,7 +9194,7 @@ namespace TL
[TLDef(0xA0058751)]
public class Payments_PaymentForm : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Form ID
public long form_id;
@@ -9234,7 +9235,7 @@ namespace TL
can_save_credentials = 0x4,
/// Indicates that the user can save payment credentials, but only after setting up a 2FA password (currently the account doesn't have a 2FA password)
password_missing = 0x8,
- /// Field has a value
+ /// Fields and have a value
has_native_provider = 0x10,
/// Field has a value
has_photo = 0x20,
@@ -9247,7 +9248,7 @@ namespace TL
[TLDef(0xD1451883)]
public class Payments_ValidatedRequestedInfo : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID
[IfFlag(0)] public string id;
@@ -9284,7 +9285,7 @@ namespace TL
[TLDef(0x70C4FE03)]
public class Payments_PaymentReceipt : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Date of generation
public DateTime date;
@@ -9332,7 +9333,7 @@ namespace TL
[TLDef(0xFB8FE43C)]
public class Payments_SavedInfo : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Saved server-side order information
[IfFlag(0)] public PaymentRequestedInfo saved_info;
@@ -9361,7 +9362,7 @@ namespace TL
[TLDef(0x3417D728)]
public class InputPaymentCredentials : InputPaymentCredentialsBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Payment credentials
public DataJSON data;
@@ -9413,7 +9414,7 @@ namespace TL
[TLDef(0x32DA9E9C)]
public class InputStickerSetItem : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The sticker
public InputDocument document;
@@ -9473,7 +9474,7 @@ namespace TL
[TLDef(0xC5226F17)]
public class PhoneCallWaiting : PhoneCallBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Call ID
public long id;
@@ -9515,7 +9516,7 @@ namespace TL
[TLDef(0x14B0ED0C)]
public class PhoneCallRequested : PhoneCallBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Phone call ID
public long id;
@@ -9555,7 +9556,7 @@ namespace TL
[TLDef(0x3660C311)]
public class PhoneCallAccepted : PhoneCallBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of accepted phone call
public long id;
@@ -9595,7 +9596,7 @@ namespace TL
[TLDef(0x967F7C67)]
public class PhoneCall : PhoneCallBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Call ID
public long id;
@@ -9643,7 +9644,7 @@ namespace TL
[TLDef(0x50CA4DE1)]
public class PhoneCallDiscarded : PhoneCallBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Call ID
public long id;
@@ -9686,7 +9687,7 @@ namespace TL
[TLDef(0x9CC123C7)]
public class PhoneConnection : PhoneConnectionBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Endpoint ID
public long id;
@@ -9718,7 +9719,7 @@ namespace TL
[TLDef(0x635FE375)]
public class PhoneConnectionWebrtc : PhoneConnectionBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Endpoint ID
public long id;
@@ -9755,7 +9756,7 @@ namespace TL
[TLDef(0xFC878FC8)]
public class PhoneCallProtocol : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Minimum layer for remote libtgvoip
public int min_layer;
@@ -9840,7 +9841,7 @@ namespace TL
[TLDef(0x6C47AC9F)]
public class LangPackStringPluralized : LangPackStringBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Localization key
public string key;
@@ -9903,7 +9904,7 @@ namespace TL
[TLDef(0xEECA5CE3)]
public class LangPackLanguage : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Language name
public string name;
@@ -10139,6 +10140,7 @@ namespace TL
[TLDef(0xFE9FC158)]
public class ChannelAdminLogEventActionParticipantJoinByInvite : ChannelAdminLogEventAction
{
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The invite link used to join the supergroup/channel
public ExportedChatInvite invite;
@@ -10262,7 +10264,7 @@ namespace TL
[TLDef(0x5D8D353B)]
public class ChannelAdminLogEventActionPinTopic : ChannelAdminLogEventAction
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Previous topic information
[IfFlag(0)] public ForumTopicBase prev_topic;
@@ -10317,7 +10319,7 @@ namespace TL
[TLDef(0xEA107AE4)]
public partial class ChannelAdminLogEventsFilter : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -10440,7 +10442,7 @@ namespace TL
[TLDef(0x1CC6E91F)]
public class InputSingleMedia : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The media
public InputMedia media;
@@ -10729,7 +10731,7 @@ namespace TL
[TLDef(0x187FA0CA)]
public class SecureValue : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Secure passport value type
public SecureValueType type;
@@ -10773,7 +10775,7 @@ namespace TL
[TLDef(0xDB21D0A7)]
public class InputSecureValue : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Secure passport value type
public SecureValueType type;
@@ -10970,7 +10972,7 @@ namespace TL
[TLDef(0xAD2E1CD8)]
public class Account_AuthorizationForm : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Required Telegram Passport documents
public SecureRequiredTypeBase[] required_types;
@@ -11005,7 +11007,7 @@ namespace TL
[TLDef(0x6A4EE832)]
public class Help_DeepLinkInfo : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Message to show to the user
public string message;
@@ -11107,7 +11109,7 @@ namespace TL
[TLDef(0x829D99DA)]
public class SecureRequiredType : SecureRequiredTypeBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Secure value type
public SecureValueType type;
@@ -11210,7 +11212,7 @@ namespace TL
[TLDef(0x34566B6A)]
public class PageTableCell : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Content
[IfFlag(7)] public RichText text;
@@ -11300,7 +11302,7 @@ namespace TL
[TLDef(0xB390DC08)]
public class PageRelatedArticle : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// URL of article
public string url;
@@ -11336,7 +11338,7 @@ namespace TL
[TLDef(0x98657F0D)]
public class Page : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Original page HTTP URL
public string url;
@@ -11401,7 +11403,7 @@ namespace TL
{
/// ID of the poll
public long id;
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The question of the poll
public string question;
@@ -11433,7 +11435,7 @@ namespace TL
[TLDef(0x3B6DDAD2)]
public class PollAnswerVoters : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The param that has to be passed to Messages_SendVote.
public byte[] option;
@@ -11453,7 +11455,7 @@ namespace TL
[TLDef(0xDCB82EA3)]
public class PollResults : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Poll results
[IfFlag(1)] public PollAnswerVoters[] results;
@@ -11476,7 +11478,7 @@ namespace TL
has_total_voters = 0x4,
/// Field has a value
has_recent_voters = 0x8,
- /// Field has a value
+ /// Fields and have a value
has_solution = 0x10,
}
}
@@ -11501,7 +11503,7 @@ namespace TL
[TLDef(0x5FB224D5)]
public class ChatAdminRights : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -11537,7 +11539,7 @@ namespace TL
[TLDef(0x9F120418)]
public class ChatBannedRights : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Validity of said permissions (it is considered forever any value less then 30 seconds or more then 366 days).
public DateTime until_date;
@@ -11628,7 +11630,7 @@ namespace TL
[TLDef(0xAD253D78)]
public class CodeSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Previously stored future auth tokens, see the documentation for more info »
[IfFlag(6)] public byte[][] logout_tokens;
@@ -11649,7 +11651,7 @@ namespace TL
has_logout_tokens = 0x40,
/// Whether Firebase auth is supported
allow_firebase = 0x80,
- /// Field has a value
+ /// Fields and have a value
has_token = 0x100,
}
}
@@ -11658,7 +11660,7 @@ namespace TL
[TLDef(0x1DC1BCA4)]
public class WallPaperSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Used for solid », gradient » and freeform gradient » fills.
[IfFlag(0)] public int background_color;
@@ -11683,7 +11685,7 @@ namespace TL
motion = 0x4,
/// Field has a value
has_intensity = 0x8,
- /// Field has a value
+ /// Fields and have a value
has_second_background_color = 0x10,
/// Field has a value
has_third_background_color = 0x20,
@@ -11696,7 +11698,7 @@ namespace TL
[TLDef(0x8EFAB953)]
public class AutoDownloadSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Maximum size of photos to preload
public int photo_size_max;
@@ -11779,7 +11781,7 @@ namespace TL
[TLDef(0xFF544E65)]
public class Folder : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Folder ID
public int id;
@@ -11825,7 +11827,7 @@ namespace TL
[TLDef(0xE844EBFF)]
public class Messages_SearchCounter : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Provided message filter
public MessagesFilter filter;
@@ -11846,7 +11848,7 @@ namespace TL
[TLDef(0x92D33A0E)]
public class UrlAuthResultRequest : UrlAuthResult
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Username of a bot, which will be used for user authorization. If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain linked with the bot. See Linking your domain to the bot for more details.
public UserBase bot;
@@ -11944,7 +11946,7 @@ namespace TL
[TLDef(0xA00E67D6)]
public partial class Theme : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Theme ID
public long id;
@@ -12025,7 +12027,7 @@ namespace TL
[TLDef(0x57E28221)]
public class Account_ContentSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -12070,7 +12072,7 @@ namespace TL
[TLDef(0x8FDE504F)]
public class InputThemeSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Default theme on which this theme is based
public BaseTheme base_theme;
@@ -12089,7 +12091,7 @@ namespace TL
{
/// Field has a value
has_message_colors = 0x1,
- /// Field has a value
+ /// Fields and have a value
has_wallpaper = 0x2,
/// If set, the freeform gradient fill needs to be animated on every sent message
message_colors_animated = 0x4,
@@ -12102,7 +12104,7 @@ namespace TL
[TLDef(0xFA58B6D4)]
public class ThemeSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Base theme
public BaseTheme base_theme;
@@ -12134,7 +12136,7 @@ namespace TL
[TLDef(0x54B56617)]
public class WebPageAttributeTheme : WebPageAttribute
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Theme files
[IfFlag(0)] public DocumentBase[] documents;
@@ -12209,7 +12211,7 @@ namespace TL
[TLDef(0x0823F649)]
public class Messages_VotesList : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Total number of votes for all options (or only for the chosen option, if provided to Messages_GetPollVotes)
public int count;
@@ -12247,7 +12249,7 @@ namespace TL
public BankCardOpenUrl[] open_urls;
}
- /// Dialog filter (folder ») See Derived classes:
+ /// Dialog filter (folder ») See Derived classes: ,
/// a value means dialogFilterDefault
public abstract class DialogFilterBase : IObject
{
@@ -12266,7 +12268,7 @@ namespace TL
[TLDef(0x7438F7E8)]
public class DialogFilter : DialogFilterBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Folder ID
public int id;
@@ -12318,6 +12320,7 @@ namespace TL
[TLDef(0xD64A04A8)]
public class DialogFilterChatlist : DialogFilterBase
{
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
public int id;
public string title;
@@ -12327,6 +12330,7 @@ namespace TL
[Flags] public enum Flags : uint
{
+ /// Field has a value
has_emoticon = 0x2000000,
has_my_invites = 0x4000000,
}
@@ -12398,7 +12402,7 @@ namespace TL
[TLDef(0x8EA464B6)]
public class StatsGraph : StatsGraphBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Statistics data
public DataJSON json;
@@ -12473,7 +12477,7 @@ namespace TL
[TLDef(0x8C39793F)]
public class Help_PromoData : Help_PromoDataBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Expiry of PSA/MTProxy info
public DateTime expires;
@@ -12507,7 +12511,7 @@ namespace TL
[TLDef(0xDE33B094)]
public class VideoSize : VideoSizeBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// u for animated profile pictures, and v for trimmed and downscaled video previews
public string type;
@@ -12627,7 +12631,7 @@ namespace TL
[TLDef(0xBEA2F424)]
public class GlobalPrivacySettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Whether to archive and mute new chats from non-contacts
[IfFlag(0)] public bool archive_and_mute_new_noncontact_peers;
@@ -12643,7 +12647,7 @@ namespace TL
[TLDef(0x4203C5EF)]
public class Help_CountryCode : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ISO country code
public string country_code;
@@ -12665,7 +12669,7 @@ namespace TL
[TLDef(0xC3878E23)]
public class Help_Country : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ISO code of country
public string iso2;
@@ -12700,7 +12704,7 @@ namespace TL
[TLDef(0x455B853D)]
public class MessageViews : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// View count of message
[IfFlag(0)] public int views;
@@ -12738,7 +12742,7 @@ namespace TL
[TLDef(0xA6341782)]
public class Messages_DiscussionMessage : IObject, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Discussion messages
public MessageBase[] messages;
@@ -12772,7 +12776,7 @@ namespace TL
[TLDef(0xA6D57763)]
public class MessageReplyHeader : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// ID of message to which this message is replying
public int reply_to_msg_id;
@@ -12798,7 +12802,7 @@ namespace TL
[TLDef(0x83D60FC2)]
public class MessageReplies : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Contains the total number of replies in this thread or comment section.
public int replies;
@@ -12872,7 +12876,7 @@ namespace TL
[TLDef(0xD597650C)]
public class GroupCall : GroupCallBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Group call ID
public long id;
@@ -12945,7 +12949,7 @@ namespace TL
[TLDef(0xEBA636FE)]
public class GroupCallParticipant : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer information
public Peer peer;
@@ -13070,7 +13074,7 @@ namespace TL
[TLDef(0x5E0FB7B9)]
public class Messages_HistoryImportParsed : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Title of the chat.
[IfFlag(2)] public string title;
@@ -13104,7 +13108,7 @@ namespace TL
[TLDef(0x8C5ADFD9)]
public class ChatInviteImporter : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The user
public long user_id;
@@ -13256,7 +13260,7 @@ namespace TL
[TLDef(0x67753AC8)]
public class GroupCallParticipantVideo : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Endpoint
public string endpoint;
@@ -13336,7 +13340,7 @@ namespace TL
[TLDef(0xFC25B828)]
public class SponsoredMessage : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Message ID
public byte[] random_id;
@@ -13369,7 +13373,7 @@ namespace TL
has_channel_post = 0x4,
/// Field has a value
has_from_id = 0x8,
- /// Field has a value
+ /// Fields and have a value
has_chat_invite = 0x10,
/// Whether the message needs to be labeled as "recommended" instead of "sponsored"
recommended = 0x20,
@@ -13387,7 +13391,7 @@ namespace TL
[TLDef(0xC9EE1D87)]
public class Messages_SponsoredMessages : IObject, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// If set, specifies the minimum number of messages between shown sponsored messages; otherwise, only one sponsored message must be shown after all ordinary messages.
[IfFlag(0)] public int posts_between;
@@ -13425,7 +13429,7 @@ namespace TL
[TLDef(0x147EE23C)]
public class Messages_SearchResultsCalendar : IObject, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Total number of results matching query
public int count;
@@ -13525,7 +13529,7 @@ namespace TL
[TLDef(0xC3A2835F)]
public class Auth_LoggedOut : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Future auth token » to be used on subsequent authorizations
[IfFlag(0)] public byte[] future_auth_token;
@@ -13541,7 +13545,7 @@ namespace TL
[TLDef(0xA3D1CB80)]
public class ReactionCount : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// If set, indicates that the current user also sent this reaction.
The integer value indicates when was the reaction added: the bigger the value, the newer the reaction.
[IfFlag(0)] public int chosen_order;
@@ -13561,7 +13565,7 @@ namespace TL
[TLDef(0x4F2B9479)]
public class MessageReactions : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Reactions
public ReactionCount[] results;
@@ -13583,7 +13587,7 @@ namespace TL
[TLDef(0x31BD492D)]
public class Messages_MessageReactionsList : IObject, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Total number of reactions matching query
public int count;
@@ -13609,7 +13613,7 @@ namespace TL
[TLDef(0xC077EC01)]
public class AvailableReaction : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Reaction emoji
public string reaction;
@@ -13634,7 +13638,7 @@ namespace TL
{
/// If not set, the reaction can be added to new messages and enabled in chats.
inactive = 0x1,
- /// Field has a value
+ /// Fields and have a value
has_around_animation = 0x2,
/// Whether this reaction can only be used by Telegram Premium users
premium = 0x4,
@@ -13656,7 +13660,7 @@ namespace TL
[TLDef(0x8C79B63C)]
public class MessagePeerReaction : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer that reacted to the message
public Peer peer_id;
@@ -13718,7 +13722,7 @@ namespace TL
[TLDef(0xB2A7386B)]
public class AttachMenuBotIcon : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// One of the following values: note that animated icons must be played when the user clicks on the button, activating the bot web app.
default_static - Default attachment menu icon in SVG format
placeholder_static - Default placeholder for opened Web Apps in SVG format
ios_static - Attachment menu icon in SVG format for the official iOS app
ios_animated - Animated attachment menu icon in TGS format for the official iOS app
android_animated - Animated attachment menu icon in TGS format for the official Android app
macos_animated - Animated attachment menu icon in TGS format for the official native Mac OS app
public string name;
@@ -13738,7 +13742,7 @@ namespace TL
[TLDef(0xC8AA2CD2)]
public class AttachMenuBot : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Bot ID
public long bot_id;
@@ -13809,7 +13813,7 @@ namespace TL
[TLDef(0x0C94511C)]
public class WebViewMessageSent : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Message ID
[IfFlag(0)] public InputBotInlineMessageIDBase msg_id;
@@ -13928,7 +13932,7 @@ namespace TL
[TLDef(0x93752C52)]
public class Messages_TranscribedAudio : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Transcription ID
public long transcription_id;
@@ -13966,7 +13970,7 @@ namespace TL
[TLDef(0xA6751E66)]
public class InputStorePaymentPremiumSubscription : InputStorePaymentPurpose
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -13993,7 +13997,7 @@ namespace TL
[TLDef(0x74C34319)]
public class PremiumGiftOption : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Duration of gifted Telegram Premium subscription
public int months;
@@ -14075,7 +14079,7 @@ namespace TL
[TLDef(0x52928BCA)]
public class ChatReactionsAll : ChatReactions
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[Flags] public enum Flags : uint
@@ -14164,7 +14168,7 @@ namespace TL
[TLDef(0x5F2D1DF2)]
public class PremiumSubscriptionOption : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Identifier of the last in-store transaction for the currently used subscription on the current account.
[IfFlag(3)] public string transaction;
@@ -14196,7 +14200,7 @@ namespace TL
[TLDef(0xB81C7034)]
public class SendAsPeer : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Peer
public Peer peer;
@@ -14214,7 +14218,7 @@ namespace TL
[TLDef(0xAD628CC8)]
public class MessageExtendedMediaPreview : MessageExtendedMediaBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
[IfFlag(0)] public int w;
[IfFlag(0)] public int h;
@@ -14223,7 +14227,7 @@ namespace TL
[Flags] public enum Flags : uint
{
- /// Field has a value
+ /// Fields and have a value
has_w = 0x1,
/// Field has a value
has_thumb = 0x2,
@@ -14252,7 +14256,7 @@ namespace TL
[TLDef(0xB4073647)]
public class Username : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The username.
public string username;
@@ -14286,7 +14290,7 @@ namespace TL
[TLDef(0x71701DA9)]
public class ForumTopic : ForumTopicBase
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Topic ID
public int id;
@@ -14343,7 +14347,7 @@ namespace TL
[TLDef(0x367617D3)]
public class Messages_ForumTopics : IObject, IPeerResolver
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Total number of topics matching query; may be less than the topics contained in topics, in which case pagination is required.
public int count;
@@ -14391,7 +14395,7 @@ namespace TL
[TLDef(0x5F3B8A00)]
public class RequestPeerTypeUser : RequestPeerType
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Whether to allow choosing only bots.
[IfFlag(0)] public bool bot;
@@ -14410,7 +14414,7 @@ namespace TL
[TLDef(0xC9F06E1B)]
public class RequestPeerTypeChat : RequestPeerType
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// If specified, allows only choosing channels with or without a username, according to the value of .
[IfFlag(3)] public bool has_username;
@@ -14441,7 +14445,7 @@ namespace TL
[TLDef(0x339BEF6C)]
public class RequestPeerTypeBroadcast : RequestPeerType
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// If specified, allows only choosing channels with or without a username, according to the value of .
[IfFlag(3)] public bool has_username;
@@ -14521,7 +14525,7 @@ namespace TL
[TLDef(0xC84834CE)]
public class AutoSaveSettings : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// If set, specifies a size limit for autosavable videos
[IfFlag(2)] public long video_max_size;
@@ -14604,7 +14608,7 @@ namespace TL
[TLDef(0x95FCD1D6)]
public class BotApp : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Bot web app ID
public long id;
@@ -14634,7 +14638,7 @@ namespace TL
[TLDef(0xEB50ADF5)]
public class Messages_BotApp : IObject
{
- /// Flags, see TL conditional fields
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Bot app information
public BotApp app;
@@ -14678,7 +14682,7 @@ namespace TL
public DateTime date;
}
- /// See
+ /// See Derived classes:
public abstract class InputChatlist : IObject { }
/// See
[TLDef(0xF3E0DA33)]
@@ -14691,6 +14695,7 @@ namespace TL
[TLDef(0x0C5181AC)]
public class ExportedChatlistInvite : IObject
{
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
public string title;
public string url;
@@ -14720,7 +14725,7 @@ namespace TL
public IPeerInfo UserOrChat(Peer peer) => peer?.UserOrChat(users, chats);
}
- /// See
+ /// See Derived classes: ,
public abstract class Chatlists_ChatlistInviteBase : IObject
{
public virtual Dictionary Chats { get; }
@@ -14745,6 +14750,7 @@ namespace TL
[TLDef(0x1DCD839D)]
public class Chatlists_ChatlistInvite : Chatlists_ChatlistInviteBase, IPeerResolver
{
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
public string title;
[IfFlag(0)] public string emoticon;
@@ -14754,6 +14760,7 @@ namespace TL
[Flags] public enum Flags : uint
{
+ /// Field has a value
has_emoticon = 0x1,
}
diff --git a/src/TL.SchemaFuncs.cs b/src/TL.SchemaFuncs.cs
index e15471c..f1b7b23 100644
--- a/src/TL.SchemaFuncs.cs
+++ b/src/TL.SchemaFuncs.cs
@@ -183,6 +183,7 @@ namespace TL
});
/// Login as a bot See [bots: ✓] Possible codes: 400 (details)
+ /// Reserved for future use
/// Application identifier (see. App configuration)
/// Application identifier hash (see. App configuration)
/// Bot token (see bots)
@@ -312,7 +313,7 @@ namespace TL
ios_push_secret = ios_push_secret,
});
- /// See
+ /// See [bots: ✓]
public static Task Auth_ResetLoginEmail(this Client client, string phone_number, string phone_code_hash)
=> client.Invoke(new Auth_ResetLoginEmail
{
@@ -2371,8 +2372,7 @@ namespace TL
limit = limit,
});
- /// Get all chats, channels and supergroups See
- /// Except these chats/channels/supergroups
+ /// See
public static Task Messages_GetAllChats(this Client client, long[] except_ids = null)
=> client.Invoke(new Messages_GetAllChats
{
@@ -3639,7 +3639,7 @@ namespace TL
platform = platform,
});
- /// See
+ /// See [bots: ✓]
public static Task Messages_SetChatWallPaper(this Client client, InputPeer peer, InputWallPaperBase wallpaper = null, int? id = null, WallPaperSettings settings = null)
=> client.Invoke(new Messages_SetChatWallPaper
{
@@ -4747,7 +4747,7 @@ namespace TL
lang_code = lang_code,
});
- /// See
+ /// See [bots: ✓]
public static Task Bots_ReorderUsernames(this Client client, InputUserBase bot, params string[] order)
=> client.Invoke(new Bots_ReorderUsernames
{
@@ -4755,7 +4755,7 @@ namespace TL
order = order,
});
- /// See
+ /// See [bots: ✓]
public static Task Bots_ToggleUsername(this Client client, InputUserBase bot, string username, bool active)
=> client.Invoke(new Bots_ToggleUsername
{
@@ -5472,7 +5472,7 @@ namespace TL
msg_id = msg_id,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_ExportChatlistInvite(this Client client, InputChatlist chatlist, string title, params InputPeer[] peers)
=> client.Invoke(new Chatlists_ExportChatlistInvite
{
@@ -5481,7 +5481,7 @@ namespace TL
peers = peers,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_DeleteExportedInvite(this Client client, InputChatlist chatlist, string slug)
=> client.Invoke(new Chatlists_DeleteExportedInvite
{
@@ -5489,7 +5489,7 @@ namespace TL
slug = slug,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_EditExportedInvite(this Client client, InputChatlist chatlist, string slug, string title = null, InputPeer[] peers = null)
=> client.Invoke(new Chatlists_EditExportedInvite
{
@@ -5500,21 +5500,21 @@ namespace TL
peers = peers,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_GetExportedInvites(this Client client, InputChatlist chatlist)
=> client.Invoke(new Chatlists_GetExportedInvites
{
chatlist = chatlist,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_CheckChatlistInvite(this Client client, string slug)
=> client.Invoke(new Chatlists_CheckChatlistInvite
{
slug = slug,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_JoinChatlistInvite(this Client client, string slug, params InputPeer[] peers)
=> client.Invoke(new Chatlists_JoinChatlistInvite
{
@@ -5522,14 +5522,14 @@ namespace TL
peers = peers,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_GetChatlistUpdates(this Client client, InputChatlist chatlist)
=> client.Invoke(new Chatlists_GetChatlistUpdates
{
chatlist = chatlist,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_JoinChatlistUpdates(this Client client, InputChatlist chatlist, params InputPeer[] peers)
=> client.Invoke(new Chatlists_JoinChatlistUpdates
{
@@ -5537,21 +5537,21 @@ namespace TL
peers = peers,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_HideChatlistUpdates(this Client client, InputChatlist chatlist)
=> client.Invoke(new Chatlists_HideChatlistUpdates
{
chatlist = chatlist,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_GetLeaveChatlistSuggestions(this Client client, InputChatlist chatlist)
=> client.Invoke(new Chatlists_GetLeaveChatlistSuggestions
{
chatlist = chatlist,
});
- /// See
+ /// See [bots: ✓]
public static Task Chatlists_LeaveChatlist(this Client client, InputChatlist chatlist, params InputPeer[] peers)
=> client.Invoke(new Chatlists_LeaveChatlist
{
diff --git a/src/TL.Secret.cs b/src/TL.Secret.cs
index 605f1b2..aa35ff2 100644
--- a/src/TL.Secret.cs
+++ b/src/TL.Secret.cs
@@ -575,7 +575,7 @@ namespace TL
[TLDef(0x36B091DE)]
public class DecryptedMessage : DecryptedMessageBase
{
- /// Flags, see TL conditional fields (added in layer 45)
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Random message ID, assigned by the author of message.
Must be equal to the ID passed to sending method.
public long random_id;
@@ -747,7 +747,7 @@ namespace TL
[TLDef(0x91CC4674)]
public class DecryptedMessage : DecryptedMessageBase
{
- /// Flags, see TL conditional fields (added in layer 45)
+ /// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// Random message ID, assigned by the author of message.
Must be equal to the ID passed to sending method.
public long random_id;
diff --git a/src/WTelegramClient.csproj b/src/WTelegramClient.csproj
index 1f36516..ad1e28b 100644
--- a/src/WTelegramClient.csproj
+++ b/src/WTelegramClient.csproj
@@ -24,7 +24,7 @@
Telegram;MTProto;Client;Api;UserBot;TLSharp
README.md
$(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A"))
- IDE0079;0419;1573;1591;NETSDK1138
+ 0419;1573;1591;NETSDK1138
TRACE;OBFUSCATION