mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
API Layer 185: Bot stuff, Main Mini App, Stars payment stuff & more...
This commit is contained in:
parent
6afb0803bb
commit
e5c6086e11
|
|
@ -1,4 +1,4 @@
|
||||||
[](https://corefork.telegram.org/methods)
|
[](https://corefork.telegram.org/methods)
|
||||||
[](https://www.nuget.org/packages/WTelegramClient/)
|
[](https://www.nuget.org/packages/WTelegramClient/)
|
||||||
[](https://www.nuget.org/packages/WTelegramClient/absoluteLatest)
|
[](https://www.nuget.org/packages/WTelegramClient/absoluteLatest)
|
||||||
[](https://www.buymeacoffee.com/wizou)
|
[](https://www.buymeacoffee.com/wizou)
|
||||||
|
|
|
||||||
116
src/TL.Schema.cs
116
src/TL.Schema.cs
|
|
@ -753,7 +753,7 @@ namespace TL
|
||||||
public long id;
|
public long id;
|
||||||
}
|
}
|
||||||
/// <summary>Indicates info about a certain user. <para>See <a href="https://corefork.telegram.org/constructor/user"/></para></summary>
|
/// <summary>Indicates info about a certain user. <para>See <a href="https://corefork.telegram.org/constructor/user"/></para></summary>
|
||||||
[TLDef(0x215C4438)]
|
[TLDef(0x83314FCA)]
|
||||||
public sealed partial class User : UserBase
|
public sealed partial class User : UserBase
|
||||||
{
|
{
|
||||||
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
||||||
|
|
@ -794,6 +794,7 @@ namespace TL
|
||||||
[IfFlag(40)] public PeerColor color;
|
[IfFlag(40)] public PeerColor color;
|
||||||
/// <summary>The user's <a href="https://corefork.telegram.org/api/colors">profile color</a>.</summary>
|
/// <summary>The user's <a href="https://corefork.telegram.org/api/colors">profile color</a>.</summary>
|
||||||
[IfFlag(41)] public PeerColor profile_color;
|
[IfFlag(41)] public PeerColor profile_color;
|
||||||
|
[IfFlag(44)] public int bot_active_users;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -877,6 +878,9 @@ namespace TL
|
||||||
contact_require_premium = 0x400,
|
contact_require_premium = 0x400,
|
||||||
/// <summary>Whether this bot can be <a href="https://corefork.telegram.org/api/business#connected-bots">connected to a user as specified here »</a>.</summary>
|
/// <summary>Whether this bot can be <a href="https://corefork.telegram.org/api/business#connected-bots">connected to a user as specified here »</a>.</summary>
|
||||||
bot_business = 0x800,
|
bot_business = 0x800,
|
||||||
|
/// <summary>Field <see cref="bot_active_users"/> has a value</summary>
|
||||||
|
has_bot_active_users = 0x1000,
|
||||||
|
bot_has_main_app = 0x2000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2700,6 +2704,24 @@ namespace TL
|
||||||
has_payload = 0x1,
|
has_payload = 0x1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionGiftStars"/></para></summary>
|
||||||
|
[TLDef(0x45D5B021)]
|
||||||
|
public sealed partial class MessageActionGiftStars : MessageAction
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public string currency;
|
||||||
|
public long amount;
|
||||||
|
public long stars;
|
||||||
|
[IfFlag(0)] public string crypto_currency;
|
||||||
|
[IfFlag(0)] public long crypto_amount;
|
||||||
|
[IfFlag(1)] public string transaction_id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_crypto_currency = 0x1,
|
||||||
|
has_transaction_id = 0x2,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Chat info. <para>See <a href="https://corefork.telegram.org/type/Dialog"/></para> <para>Derived classes: <see cref="Dialog"/>, <see cref="DialogFolder"/></para></summary>
|
/// <summary>Chat info. <para>See <a href="https://corefork.telegram.org/type/Dialog"/></para> <para>Derived classes: <see cref="Dialog"/>, <see cref="DialogFolder"/></para></summary>
|
||||||
public abstract partial class DialogBase : IObject
|
public abstract partial class DialogBase : IObject
|
||||||
|
|
@ -6789,7 +6811,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>Defines a video <para>See <a href="https://corefork.telegram.org/constructor/documentAttributeVideo"/></para></summary>
|
/// <summary>Defines a video <para>See <a href="https://corefork.telegram.org/constructor/documentAttributeVideo"/></para></summary>
|
||||||
[TLDef(0xD38FF1C2)]
|
[TLDef(0x17399FAD)]
|
||||||
public sealed partial class DocumentAttributeVideo : DocumentAttribute
|
public sealed partial class DocumentAttributeVideo : DocumentAttribute
|
||||||
{
|
{
|
||||||
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
||||||
|
|
@ -6802,6 +6824,7 @@ namespace TL
|
||||||
public int h;
|
public int h;
|
||||||
/// <summary>Number of bytes to preload when preloading videos (particularly <a href="https://corefork.telegram.org/api/stories">video stories</a>).</summary>
|
/// <summary>Number of bytes to preload when preloading videos (particularly <a href="https://corefork.telegram.org/api/stories">video stories</a>).</summary>
|
||||||
[IfFlag(2)] public int preload_prefix_size;
|
[IfFlag(2)] public int preload_prefix_size;
|
||||||
|
[IfFlag(4)] public double video_start_ts;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -6813,6 +6836,8 @@ namespace TL
|
||||||
has_preload_prefix_size = 0x4,
|
has_preload_prefix_size = 0x4,
|
||||||
/// <summary>Whether the specified document is a video file with no audio tracks (a GIF animation (even as MPEG4), for example)</summary>
|
/// <summary>Whether the specified document is a video file with no audio tracks (a GIF animation (even as MPEG4), for example)</summary>
|
||||||
nosound = 0x8,
|
nosound = 0x8,
|
||||||
|
/// <summary>Field <see cref="video_start_ts"/> has a value</summary>
|
||||||
|
has_video_start_ts = 0x10,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>Represents an audio file <para>See <a href="https://corefork.telegram.org/constructor/documentAttributeAudio"/></para></summary>
|
/// <summary>Represents an audio file <para>See <a href="https://corefork.telegram.org/constructor/documentAttributeAudio"/></para></summary>
|
||||||
|
|
@ -7507,6 +7532,7 @@ namespace TL
|
||||||
has_description_photo = 0x10,
|
has_description_photo = 0x10,
|
||||||
/// <summary>Field <see cref="description_document"/> has a value</summary>
|
/// <summary>Field <see cref="description_document"/> has a value</summary>
|
||||||
has_description_document = 0x20,
|
has_description_document = 0x20,
|
||||||
|
has_preview_medias = 0x40,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -9326,6 +9352,8 @@ namespace TL
|
||||||
ForwardUsers = 0xA8406CA9,
|
ForwardUsers = 0xA8406CA9,
|
||||||
///<summary>Chats to which the users often forwards messages to</summary>
|
///<summary>Chats to which the users often forwards messages to</summary>
|
||||||
ForwardChats = 0xFBEEC0F0,
|
ForwardChats = 0xFBEEC0F0,
|
||||||
|
///<summary>See <a href="https://corefork.telegram.org/constructor/topPeerCategoryBotsApp"/></summary>
|
||||||
|
BotsApp = 0xFD9E7BEC,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Top peer category <para>See <a href="https://corefork.telegram.org/constructor/topPeerCategoryPeers"/></para></summary>
|
/// <summary>Top peer category <para>See <a href="https://corefork.telegram.org/constructor/topPeerCategoryPeers"/></para></summary>
|
||||||
|
|
@ -15376,11 +15404,10 @@ namespace TL
|
||||||
public PremiumGiftCodeOption option;
|
public PremiumGiftCodeOption option;
|
||||||
}
|
}
|
||||||
/// <summary>Used to top up the current account's <a href="https://corefork.telegram.org/api/stars">Telegram Stars</a> balance. <para>See <a href="https://corefork.telegram.org/constructor/inputInvoiceStars"/></para></summary>
|
/// <summary>Used to top up the current account's <a href="https://corefork.telegram.org/api/stars">Telegram Stars</a> balance. <para>See <a href="https://corefork.telegram.org/constructor/inputInvoiceStars"/></para></summary>
|
||||||
[TLDef(0x1DA33AD8)]
|
[TLDef(0x65F00CE3)]
|
||||||
public sealed partial class InputInvoiceStars : InputInvoice
|
public sealed partial class InputInvoiceStars : InputInvoice
|
||||||
{
|
{
|
||||||
/// <summary>Top up option, obtained as described <a href="https://corefork.telegram.org/api/stars#buying-stars">here »</a>.</summary>
|
public InputStorePaymentPurpose purpose;
|
||||||
public StarsTopupOption option;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Exported <a href="https://corefork.telegram.org/api/links#invoice-links">invoice deep link</a> <para>See <a href="https://corefork.telegram.org/constructor/payments.exportedInvoice"/></para></summary>
|
/// <summary>Exported <a href="https://corefork.telegram.org/api/links#invoice-links">invoice deep link</a> <para>See <a href="https://corefork.telegram.org/constructor/payments.exportedInvoice"/></para></summary>
|
||||||
|
|
@ -15519,22 +15546,22 @@ namespace TL
|
||||||
has_prize_description = 0x10,
|
has_prize_description = 0x10,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>Used to top up the <a href="https://corefork.telegram.org/api/stars">Telegram Stars balance</a> using the Play Store/App Store flow (official apps only). <para>See <a href="https://corefork.telegram.org/constructor/inputStorePaymentStars"/></para></summary>
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/inputStorePaymentStarsTopup"/></para></summary>
|
||||||
[TLDef(0x4F0EE8DF)]
|
[TLDef(0xDDDD0F56)]
|
||||||
public sealed partial class InputStorePaymentStars : InputStorePaymentPurpose
|
public sealed partial class InputStorePaymentStarsTopup : InputStorePaymentPurpose
|
||||||
{
|
{
|
||||||
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
|
||||||
public Flags flags;
|
|
||||||
/// <summary>Amount of stars to topup</summary>
|
|
||||||
public long stars;
|
public long stars;
|
||||||
/// <summary>Three-letter ISO 4217 <a href="https://corefork.telegram.org/bots/payments#supported-currencies">currency</a> code</summary>
|
|
||||||
public string currency;
|
public string currency;
|
||||||
/// <summary>Total price in the smallest units of the currency (integer, not float/double). For example, for a price of <c>US$ 1.45</c> pass <c>amount = 145</c>. See the exp parameter in <a href="https://corefork.telegram.org/bots/payments/currencies.json">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</summary>
|
|
||||||
public long amount;
|
public long amount;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/inputStorePaymentStarsGift"/></para></summary>
|
||||||
|
[TLDef(0x1D741EF7)]
|
||||||
|
public sealed partial class InputStorePaymentStarsGift : InputStorePaymentPurpose
|
||||||
|
{
|
||||||
|
public InputUserBase user_id;
|
||||||
|
public long stars;
|
||||||
|
public string currency;
|
||||||
|
public long amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Telegram Premium gift option <para>See <a href="https://corefork.telegram.org/constructor/premiumGiftOption"/></para></summary>
|
/// <summary>Telegram Premium gift option <para>See <a href="https://corefork.telegram.org/constructor/premiumGiftOption"/></para></summary>
|
||||||
|
|
@ -16961,6 +16988,15 @@ namespace TL
|
||||||
public MediaAreaCoordinates coordinates;
|
public MediaAreaCoordinates coordinates;
|
||||||
public string url;
|
public string url;
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/mediaAreaWeather"/></para></summary>
|
||||||
|
[TLDef(0x49A6549C)]
|
||||||
|
public sealed partial class MediaAreaWeather : MediaArea
|
||||||
|
{
|
||||||
|
public MediaAreaCoordinates coordinates;
|
||||||
|
public string emoji;
|
||||||
|
public double temperature_c;
|
||||||
|
public int color;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary><a href="https://corefork.telegram.org/api/stories">Stories</a> associated to a peer <para>See <a href="https://corefork.telegram.org/constructor/peerStories"/></para></summary>
|
/// <summary><a href="https://corefork.telegram.org/api/stories">Stories</a> associated to a peer <para>See <a href="https://corefork.telegram.org/constructor/peerStories"/></para></summary>
|
||||||
[TLDef(0x9A35E999)]
|
[TLDef(0x9A35E999)]
|
||||||
|
|
@ -18721,6 +18757,7 @@ namespace TL
|
||||||
has_msg_id = 0x100,
|
has_msg_id = 0x100,
|
||||||
/// <summary>Field <see cref="extended_media"/> has a value</summary>
|
/// <summary>Field <see cref="extended_media"/> has a value</summary>
|
||||||
has_extended_media = 0x200,
|
has_extended_media = 0x200,
|
||||||
|
gift = 0x400,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -18847,4 +18884,51 @@ namespace TL
|
||||||
refund = 0x1,
|
refund = 0x1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/starsGiftOption"/></para></summary>
|
||||||
|
[TLDef(0x5E0589F1)]
|
||||||
|
public sealed partial class StarsGiftOption : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public long stars;
|
||||||
|
[IfFlag(0)] public string store_product;
|
||||||
|
public string currency;
|
||||||
|
public long amount;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_store_product = 0x1,
|
||||||
|
extended = 0x2,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/bots.popularAppBots"/></para></summary>
|
||||||
|
[TLDef(0x1991B13B)]
|
||||||
|
public sealed partial class Bots_PopularAppBots : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(0)] public string next_offset;
|
||||||
|
public Dictionary<long, User> users;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_next_offset = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/botPreviewMedia"/></para></summary>
|
||||||
|
[TLDef(0x23E91BA3)]
|
||||||
|
public sealed partial class BotPreviewMedia : IObject
|
||||||
|
{
|
||||||
|
public DateTime date;
|
||||||
|
public MessageMedia media;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/bots.previewInfo"/></para></summary>
|
||||||
|
[TLDef(0x0CA71D64)]
|
||||||
|
public sealed partial class Bots_PreviewInfo : IObject
|
||||||
|
{
|
||||||
|
public BotPreviewMedia[] media;
|
||||||
|
public string[] lang_codes;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -453,7 +453,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Returns a list of available <a href="https://corefork.telegram.org/api/wallpapers">wallpapers</a>. <para>See <a href="https://corefork.telegram.org/method/account.getWallPapers"/></para></summary>
|
/// <summary>Returns a list of available <a href="https://corefork.telegram.org/api/wallpapers">wallpapers</a>. <para>See <a href="https://corefork.telegram.org/method/account.getWallPapers"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Account_WallPapers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.wallPapersNotModified">account.wallPapersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.wallPapersNotModified">account.wallPapersNotModified</a></returns>
|
||||||
public static Task<Account_WallPapers> Account_GetWallPapers(this Client client, long hash = default)
|
public static Task<Account_WallPapers> Account_GetWallPapers(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetWallPapers
|
=> client.Invoke(new Account_GetWallPapers
|
||||||
|
|
@ -972,7 +972,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Get installed themes <para>See <a href="https://corefork.telegram.org/method/account.getThemes"/></para></summary>
|
/// <summary>Get installed themes <para>See <a href="https://corefork.telegram.org/method/account.getThemes"/></para></summary>
|
||||||
/// <param name="format">Theme format, a string that identifies the theming engines supported by the client</param>
|
/// <param name="format">Theme format, a string that identifies the theming engines supported by the client</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Account_Themes"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.themesNotModified">account.themesNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.themesNotModified">account.themesNotModified</a></returns>
|
||||||
public static Task<Account_Themes> Account_GetThemes(this Client client, string format, long hash = default)
|
public static Task<Account_Themes> Account_GetThemes(this Client client, string format, long hash = default)
|
||||||
=> client.Invoke(new Account_GetThemes
|
=> client.Invoke(new Account_GetThemes
|
||||||
|
|
@ -1044,7 +1044,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get all available chat <a href="https://corefork.telegram.org/api/themes">themes »</a>. <para>See <a href="https://corefork.telegram.org/method/account.getChatThemes"/></para></summary>
|
/// <summary>Get all available chat <a href="https://corefork.telegram.org/api/themes">themes »</a>. <para>See <a href="https://corefork.telegram.org/method/account.getChatThemes"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Account_Themes"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.themesNotModified">account.themesNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.themesNotModified">account.themesNotModified</a></returns>
|
||||||
public static Task<Account_Themes> Account_GetChatThemes(this Client client, long hash = default)
|
public static Task<Account_Themes> Account_GetChatThemes(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetChatThemes
|
=> client.Invoke(new Account_GetChatThemes
|
||||||
|
|
@ -1075,7 +1075,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Fetch saved notification sounds <para>See <a href="https://corefork.telegram.org/method/account.getSavedRingtones"/></para></summary>
|
/// <summary>Fetch saved notification sounds <para>See <a href="https://corefork.telegram.org/method/account.getSavedRingtones"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Account_SavedRingtones"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.savedRingtonesNotModified">account.savedRingtonesNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.savedRingtonesNotModified">account.savedRingtonesNotModified</a></returns>
|
||||||
public static Task<Account_SavedRingtones> Account_GetSavedRingtones(this Client client, long hash = default)
|
public static Task<Account_SavedRingtones> Account_GetSavedRingtones(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetSavedRingtones
|
=> client.Invoke(new Account_GetSavedRingtones
|
||||||
|
|
@ -1114,7 +1114,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get a list of default suggested <a href="https://corefork.telegram.org/api/emoji-status">emoji statuses</a> <para>See <a href="https://corefork.telegram.org/method/account.getDefaultEmojiStatuses"/></para></summary>
|
/// <summary>Get a list of default suggested <a href="https://corefork.telegram.org/api/emoji-status">emoji statuses</a> <para>See <a href="https://corefork.telegram.org/method/account.getDefaultEmojiStatuses"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Account_EmojiStatuses"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.emojiStatusesNotModified">account.emojiStatusesNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.emojiStatusesNotModified">account.emojiStatusesNotModified</a></returns>
|
||||||
public static Task<Account_EmojiStatuses> Account_GetDefaultEmojiStatuses(this Client client, long hash = default)
|
public static Task<Account_EmojiStatuses> Account_GetDefaultEmojiStatuses(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetDefaultEmojiStatuses
|
=> client.Invoke(new Account_GetDefaultEmojiStatuses
|
||||||
|
|
@ -1123,7 +1123,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get recently used <a href="https://corefork.telegram.org/api/emoji-status">emoji statuses</a> <para>See <a href="https://corefork.telegram.org/method/account.getRecentEmojiStatuses"/></para></summary>
|
/// <summary>Get recently used <a href="https://corefork.telegram.org/api/emoji-status">emoji statuses</a> <para>See <a href="https://corefork.telegram.org/method/account.getRecentEmojiStatuses"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Account_EmojiStatuses"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.emojiStatusesNotModified">account.emojiStatusesNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.emojiStatusesNotModified">account.emojiStatusesNotModified</a></returns>
|
||||||
public static Task<Account_EmojiStatuses> Account_GetRecentEmojiStatuses(this Client client, long hash = default)
|
public static Task<Account_EmojiStatuses> Account_GetRecentEmojiStatuses(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetRecentEmojiStatuses
|
=> client.Invoke(new Account_GetRecentEmojiStatuses
|
||||||
|
|
@ -1156,7 +1156,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get a set of suggested <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickers</a> that can be <a href="https://corefork.telegram.org/api/files#sticker-profile-pictures">used as profile picture</a> <para>See <a href="https://corefork.telegram.org/method/account.getDefaultProfilePhotoEmojis"/></para></summary>
|
/// <summary>Get a set of suggested <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickers</a> that can be <a href="https://corefork.telegram.org/api/files#sticker-profile-pictures">used as profile picture</a> <para>See <a href="https://corefork.telegram.org/method/account.getDefaultProfilePhotoEmojis"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="EmojiList"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
||||||
public static Task<EmojiList> Account_GetDefaultProfilePhotoEmojis(this Client client, long hash = default)
|
public static Task<EmojiList> Account_GetDefaultProfilePhotoEmojis(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetDefaultProfilePhotoEmojis
|
=> client.Invoke(new Account_GetDefaultProfilePhotoEmojis
|
||||||
|
|
@ -1165,7 +1165,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get a set of suggested <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickers</a> that can be <a href="https://corefork.telegram.org/api/files#sticker-profile-pictures">used as group picture</a> <para>See <a href="https://corefork.telegram.org/method/account.getDefaultGroupPhotoEmojis"/></para></summary>
|
/// <summary>Get a set of suggested <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickers</a> that can be <a href="https://corefork.telegram.org/api/files#sticker-profile-pictures">used as group picture</a> <para>See <a href="https://corefork.telegram.org/method/account.getDefaultGroupPhotoEmojis"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="EmojiList"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
||||||
public static Task<EmojiList> Account_GetDefaultGroupPhotoEmojis(this Client client, long hash = default)
|
public static Task<EmojiList> Account_GetDefaultGroupPhotoEmojis(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetDefaultGroupPhotoEmojis
|
=> client.Invoke(new Account_GetDefaultGroupPhotoEmojis
|
||||||
|
|
@ -1220,7 +1220,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get a set of suggested <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickers</a> that can be used in an <a href="https://corefork.telegram.org/api/colors">accent color pattern</a>. <para>See <a href="https://corefork.telegram.org/method/account.getDefaultBackgroundEmojis"/></para></summary>
|
/// <summary>Get a set of suggested <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickers</a> that can be used in an <a href="https://corefork.telegram.org/api/colors">accent color pattern</a>. <para>See <a href="https://corefork.telegram.org/method/account.getDefaultBackgroundEmojis"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="EmojiList"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
||||||
public static Task<EmojiList> Account_GetDefaultBackgroundEmojis(this Client client, long hash = default)
|
public static Task<EmojiList> Account_GetDefaultBackgroundEmojis(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetDefaultBackgroundEmojis
|
=> client.Invoke(new Account_GetDefaultBackgroundEmojis
|
||||||
|
|
@ -1229,7 +1229,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get a list of default suggested <a href="https://corefork.telegram.org/api/emoji-status">channel emoji statuses</a>. <para>See <a href="https://corefork.telegram.org/method/account.getChannelDefaultEmojiStatuses"/></para></summary>
|
/// <summary>Get a list of default suggested <a href="https://corefork.telegram.org/api/emoji-status">channel emoji statuses</a>. <para>See <a href="https://corefork.telegram.org/method/account.getChannelDefaultEmojiStatuses"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Account_EmojiStatuses"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.emojiStatusesNotModified">account.emojiStatusesNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/account.emojiStatusesNotModified">account.emojiStatusesNotModified</a></returns>
|
||||||
public static Task<Account_EmojiStatuses> Account_GetChannelDefaultEmojiStatuses(this Client client, long hash = default)
|
public static Task<Account_EmojiStatuses> Account_GetChannelDefaultEmojiStatuses(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetChannelDefaultEmojiStatuses
|
=> client.Invoke(new Account_GetChannelDefaultEmojiStatuses
|
||||||
|
|
@ -1238,7 +1238,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Returns fetch the full list of <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji IDs »</a> that cannot be used in <a href="https://corefork.telegram.org/api/emoji-status">channel emoji statuses »</a>. <para>See <a href="https://corefork.telegram.org/method/account.getChannelRestrictedStatusEmojis"/></para></summary>
|
/// <summary>Returns fetch the full list of <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji IDs »</a> that cannot be used in <a href="https://corefork.telegram.org/api/emoji-status">channel emoji statuses »</a>. <para>See <a href="https://corefork.telegram.org/method/account.getChannelRestrictedStatusEmojis"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="EmojiList"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
||||||
public static Task<EmojiList> Account_GetChannelRestrictedStatusEmojis(this Client client, long hash = default)
|
public static Task<EmojiList> Account_GetChannelRestrictedStatusEmojis(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Account_GetChannelRestrictedStatusEmojis
|
=> client.Invoke(new Account_GetChannelRestrictedStatusEmojis
|
||||||
|
|
@ -1561,10 +1561,10 @@ namespace TL
|
||||||
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a></param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a></param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/contacts.topPeersNotModified">contacts.topPeersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/contacts.topPeersNotModified">contacts.topPeersNotModified</a></returns>
|
||||||
public static Task<Contacts_TopPeersBase> Contacts_GetTopPeers(this Client client, int offset = default, int limit = int.MaxValue, long hash = default, bool correspondents = false, bool bots_pm = false, bool bots_inline = false, bool phone_calls = false, bool forward_users = false, bool forward_chats = false, bool groups = false, bool channels = false)
|
public static Task<Contacts_TopPeersBase> Contacts_GetTopPeers(this Client client, int offset = default, int limit = int.MaxValue, long hash = default, bool correspondents = false, bool bots_pm = false, bool bots_inline = false, bool phone_calls = false, bool forward_users = false, bool forward_chats = false, bool groups = false, bool channels = false, bool bots_app = false)
|
||||||
=> client.Invoke(new Contacts_GetTopPeers
|
=> client.Invoke(new Contacts_GetTopPeers
|
||||||
{
|
{
|
||||||
flags = (Contacts_GetTopPeers.Flags)((correspondents ? 0x1 : 0) | (bots_pm ? 0x2 : 0) | (bots_inline ? 0x4 : 0) | (phone_calls ? 0x8 : 0) | (forward_users ? 0x10 : 0) | (forward_chats ? 0x20 : 0) | (groups ? 0x400 : 0) | (channels ? 0x8000 : 0)),
|
flags = (Contacts_GetTopPeers.Flags)((correspondents ? 0x1 : 0) | (bots_pm ? 0x2 : 0) | (bots_inline ? 0x4 : 0) | (phone_calls ? 0x8 : 0) | (forward_users ? 0x10 : 0) | (forward_chats ? 0x20 : 0) | (groups ? 0x400 : 0) | (channels ? 0x8000 : 0) | (bots_app ? 0x10000 : 0)),
|
||||||
offset = offset,
|
offset = offset,
|
||||||
limit = limit,
|
limit = limit,
|
||||||
hash = hash,
|
hash = hash,
|
||||||
|
|
@ -2174,7 +2174,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Get stickers by emoji <para>See <a href="https://corefork.telegram.org/method/messages.getStickers"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.getStickers#possible-errors">details</a>)</para></summary>
|
/// <summary>Get stickers by emoji <para>See <a href="https://corefork.telegram.org/method/messages.getStickers"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.getStickers#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="emoticon">The emoji</param>
|
/// <param name="emoticon">The emoji</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_Stickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickersNotModified">messages.stickersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.stickersNotModified">messages.stickersNotModified</a></returns>
|
||||||
public static Task<Messages_Stickers> Messages_GetStickers(this Client client, string emoticon, long hash = default)
|
public static Task<Messages_Stickers> Messages_GetStickers(this Client client, string emoticon, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetStickers
|
=> client.Invoke(new Messages_GetStickers
|
||||||
|
|
@ -2184,7 +2184,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get all installed stickers <para>See <a href="https://corefork.telegram.org/method/messages.getAllStickers"/></para></summary>
|
/// <summary>Get all installed stickers <para>See <a href="https://corefork.telegram.org/method/messages.getAllStickers"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_AllStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.allStickersNotModified">messages.allStickersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.allStickersNotModified">messages.allStickersNotModified</a></returns>
|
||||||
public static Task<Messages_AllStickers> Messages_GetAllStickers(this Client client, long hash = default)
|
public static Task<Messages_AllStickers> Messages_GetAllStickers(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetAllStickers
|
=> client.Invoke(new Messages_GetAllStickers
|
||||||
|
|
@ -2362,7 +2362,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get saved GIFs. <para>See <a href="https://corefork.telegram.org/method/messages.getSavedGifs"/></para></summary>
|
/// <summary>Get saved GIFs. <para>See <a href="https://corefork.telegram.org/method/messages.getSavedGifs"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_SavedGifs"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.savedGifsNotModified">messages.savedGifsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.savedGifsNotModified">messages.savedGifsNotModified</a></returns>
|
||||||
public static Task<Messages_SavedGifs> Messages_GetSavedGifs(this Client client, long hash = default)
|
public static Task<Messages_SavedGifs> Messages_GetSavedGifs(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetSavedGifs
|
=> client.Invoke(new Messages_GetSavedGifs
|
||||||
|
|
@ -2566,7 +2566,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get featured stickers <para>See <a href="https://corefork.telegram.org/method/messages.getFeaturedStickers"/></para></summary>
|
/// <summary>Get featured stickers <para>See <a href="https://corefork.telegram.org/method/messages.getFeaturedStickers"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_FeaturedStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
public static Task<Messages_FeaturedStickersBase> Messages_GetFeaturedStickers(this Client client, long hash = default)
|
public static Task<Messages_FeaturedStickersBase> Messages_GetFeaturedStickers(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetFeaturedStickers
|
=> client.Invoke(new Messages_GetFeaturedStickers
|
||||||
{
|
{
|
||||||
|
|
@ -2583,7 +2583,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Get recent stickers <para>See <a href="https://corefork.telegram.org/method/messages.getRecentStickers"/></para></summary>
|
/// <summary>Get recent stickers <para>See <a href="https://corefork.telegram.org/method/messages.getRecentStickers"/></para></summary>
|
||||||
/// <param name="attached">Get stickers recently attached to photo or video files</param>
|
/// <param name="attached">Get stickers recently attached to photo or video files</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_RecentStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.recentStickersNotModified">messages.recentStickersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.recentStickersNotModified">messages.recentStickersNotModified</a></returns>
|
||||||
public static Task<Messages_RecentStickers> Messages_GetRecentStickers(this Client client, long hash = default, bool attached = false)
|
public static Task<Messages_RecentStickers> Messages_GetRecentStickers(this Client client, long hash = default, bool attached = false)
|
||||||
=> client.Invoke(new Messages_GetRecentStickers
|
=> client.Invoke(new Messages_GetRecentStickers
|
||||||
|
|
@ -2626,7 +2626,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get installed mask stickers <para>See <a href="https://corefork.telegram.org/method/messages.getMaskStickers"/></para></summary>
|
/// <summary>Get installed mask stickers <para>See <a href="https://corefork.telegram.org/method/messages.getMaskStickers"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_AllStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.allStickersNotModified">messages.allStickersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.allStickersNotModified">messages.allStickersNotModified</a></returns>
|
||||||
public static Task<Messages_AllStickers> Messages_GetMaskStickers(this Client client, long hash = default)
|
public static Task<Messages_AllStickers> Messages_GetMaskStickers(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetMaskStickers
|
=> client.Invoke(new Messages_GetMaskStickers
|
||||||
|
|
@ -2800,7 +2800,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get faved stickers <para>See <a href="https://corefork.telegram.org/method/messages.getFavedStickers"/></para></summary>
|
/// <summary>Get faved stickers <para>See <a href="https://corefork.telegram.org/method/messages.getFavedStickers"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_FavedStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.favedStickersNotModified">messages.favedStickersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.favedStickersNotModified">messages.favedStickersNotModified</a></returns>
|
||||||
public static Task<Messages_FavedStickers> Messages_GetFavedStickers(this Client client, long hash = default)
|
public static Task<Messages_FavedStickers> Messages_GetFavedStickers(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetFavedStickers
|
=> client.Invoke(new Messages_GetFavedStickers
|
||||||
|
|
@ -2903,7 +2903,7 @@ namespace TL
|
||||||
/// <summary>Search for stickersets <para>See <a href="https://corefork.telegram.org/method/messages.searchStickerSets"/></para></summary>
|
/// <summary>Search for stickersets <para>See <a href="https://corefork.telegram.org/method/messages.searchStickerSets"/></para></summary>
|
||||||
/// <param name="exclude_featured">Exclude featured stickersets from results</param>
|
/// <param name="exclude_featured">Exclude featured stickersets from results</param>
|
||||||
/// <param name="q">Query string</param>
|
/// <param name="q">Query string</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_FoundStickerSets"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.foundStickerSetsNotModified">messages.foundStickerSetsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.foundStickerSetsNotModified">messages.foundStickerSetsNotModified</a></returns>
|
||||||
public static Task<Messages_FoundStickerSets> Messages_SearchStickerSets(this Client client, string q, long hash = default, bool exclude_featured = false)
|
public static Task<Messages_FoundStickerSets> Messages_SearchStickerSets(this Client client, string q, long hash = default, bool exclude_featured = false)
|
||||||
=> client.Invoke(new Messages_SearchStickerSets
|
=> client.Invoke(new Messages_SearchStickerSets
|
||||||
|
|
@ -3198,7 +3198,7 @@ namespace TL
|
||||||
/// <summary>Method for fetching previously featured stickers <para>See <a href="https://corefork.telegram.org/method/messages.getOldFeaturedStickers"/></para></summary>
|
/// <summary>Method for fetching previously featured stickers <para>See <a href="https://corefork.telegram.org/method/messages.getOldFeaturedStickers"/></para></summary>
|
||||||
/// <param name="offset">Offset</param>
|
/// <param name="offset">Offset</param>
|
||||||
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_FeaturedStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
public static Task<Messages_FeaturedStickersBase> Messages_GetOldFeaturedStickers(this Client client, int offset = default, int limit = int.MaxValue, long hash = default)
|
public static Task<Messages_FeaturedStickersBase> Messages_GetOldFeaturedStickers(this Client client, int offset = default, int limit = int.MaxValue, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetOldFeaturedStickers
|
=> client.Invoke(new Messages_GetOldFeaturedStickers
|
||||||
{
|
{
|
||||||
|
|
@ -3593,7 +3593,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Obtain available <a href="https://corefork.telegram.org/api/reactions">message reactions »</a> <para>See <a href="https://corefork.telegram.org/method/messages.getAvailableReactions"/></para></summary>
|
/// <summary>Obtain available <a href="https://corefork.telegram.org/api/reactions">message reactions »</a> <para>See <a href="https://corefork.telegram.org/method/messages.getAvailableReactions"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_AvailableReactions"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.availableReactionsNotModified">messages.availableReactionsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.availableReactionsNotModified">messages.availableReactionsNotModified</a></returns>
|
||||||
public static Task<Messages_AvailableReactions> Messages_GetAvailableReactions(this Client client, int hash = default)
|
public static Task<Messages_AvailableReactions> Messages_GetAvailableReactions(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Messages_GetAvailableReactions
|
=> client.Invoke(new Messages_GetAvailableReactions
|
||||||
|
|
@ -3669,7 +3669,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Returns installed attachment menu <a href="https://corefork.telegram.org/api/bots/attach">bot mini apps »</a> <para>See <a href="https://corefork.telegram.org/method/messages.getAttachMenuBots"/></para></summary>
|
/// <summary>Returns installed attachment menu <a href="https://corefork.telegram.org/api/bots/attach">bot mini apps »</a> <para>See <a href="https://corefork.telegram.org/method/messages.getAttachMenuBots"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="AttachMenuBots"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/attachMenuBotsNotModified">attachMenuBotsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/attachMenuBotsNotModified">attachMenuBotsNotModified</a></returns>
|
||||||
public static Task<AttachMenuBots> Messages_GetAttachMenuBots(this Client client, long hash = default)
|
public static Task<AttachMenuBots> Messages_GetAttachMenuBots(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetAttachMenuBots
|
=> client.Invoke(new Messages_GetAttachMenuBots
|
||||||
|
|
@ -3816,7 +3816,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Gets the list of currently installed <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickersets</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiStickers"/></para></summary>
|
/// <summary>Gets the list of currently installed <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickersets</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiStickers"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_AllStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.allStickersNotModified">messages.allStickersNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.allStickersNotModified">messages.allStickersNotModified</a></returns>
|
||||||
public static Task<Messages_AllStickers> Messages_GetEmojiStickers(this Client client, long hash = default)
|
public static Task<Messages_AllStickers> Messages_GetEmojiStickers(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetEmojiStickers
|
=> client.Invoke(new Messages_GetEmojiStickers
|
||||||
|
|
@ -3825,7 +3825,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Gets featured custom emoji stickersets. <para>See <a href="https://corefork.telegram.org/method/messages.getFeaturedEmojiStickers"/></para></summary>
|
/// <summary>Gets featured custom emoji stickersets. <para>See <a href="https://corefork.telegram.org/method/messages.getFeaturedEmojiStickers"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_FeaturedStickers"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
public static Task<Messages_FeaturedStickersBase> Messages_GetFeaturedEmojiStickers(this Client client, long hash = default)
|
public static Task<Messages_FeaturedStickersBase> Messages_GetFeaturedEmojiStickers(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetFeaturedEmojiStickers
|
=> client.Invoke(new Messages_GetFeaturedEmojiStickers
|
||||||
{
|
{
|
||||||
|
|
@ -3846,7 +3846,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Got popular <a href="https://corefork.telegram.org/api/reactions">message reactions</a> <para>See <a href="https://corefork.telegram.org/method/messages.getTopReactions"/></para></summary>
|
/// <summary>Got popular <a href="https://corefork.telegram.org/api/reactions">message reactions</a> <para>See <a href="https://corefork.telegram.org/method/messages.getTopReactions"/></para></summary>
|
||||||
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_Reactions"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.reactionsNotModified">messages.reactionsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.reactionsNotModified">messages.reactionsNotModified</a></returns>
|
||||||
public static Task<Messages_Reactions> Messages_GetTopReactions(this Client client, int limit = int.MaxValue, long hash = default)
|
public static Task<Messages_Reactions> Messages_GetTopReactions(this Client client, int limit = int.MaxValue, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetTopReactions
|
=> client.Invoke(new Messages_GetTopReactions
|
||||||
|
|
@ -3857,7 +3857,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Get recently used <a href="https://corefork.telegram.org/api/reactions">message reactions</a> <para>See <a href="https://corefork.telegram.org/method/messages.getRecentReactions"/></para></summary>
|
/// <summary>Get recently used <a href="https://corefork.telegram.org/api/reactions">message reactions</a> <para>See <a href="https://corefork.telegram.org/method/messages.getRecentReactions"/></para></summary>
|
||||||
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_Reactions"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.reactionsNotModified">messages.reactionsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.reactionsNotModified">messages.reactionsNotModified</a></returns>
|
||||||
public static Task<Messages_Reactions> Messages_GetRecentReactions(this Client client, int limit = int.MaxValue, long hash = default)
|
public static Task<Messages_Reactions> Messages_GetRecentReactions(this Client client, int limit = int.MaxValue, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetRecentReactions
|
=> client.Invoke(new Messages_GetRecentReactions
|
||||||
|
|
@ -3911,7 +3911,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiGroups"/></para></summary>
|
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiGroups"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_EmojiGroups"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
||||||
public static Task<Messages_EmojiGroups> Messages_GetEmojiGroups(this Client client, int hash = default)
|
public static Task<Messages_EmojiGroups> Messages_GetEmojiGroups(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Messages_GetEmojiGroups
|
=> client.Invoke(new Messages_GetEmojiGroups
|
||||||
|
|
@ -3920,7 +3920,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="https://corefork.telegram.org/api">custom emoji status</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiStatusGroups"/></para></summary>
|
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="https://corefork.telegram.org/api">custom emoji status</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiStatusGroups"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_EmojiGroups"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
||||||
public static Task<Messages_EmojiGroups> Messages_GetEmojiStatusGroups(this Client client, int hash = default)
|
public static Task<Messages_EmojiGroups> Messages_GetEmojiStatusGroups(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Messages_GetEmojiStatusGroups
|
=> client.Invoke(new Messages_GetEmojiStatusGroups
|
||||||
|
|
@ -3929,7 +3929,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="https://corefork.telegram.org/api/files#sticker-profile-pictures">profile picture</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiProfilePhotoGroups"/></para></summary>
|
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="https://corefork.telegram.org/api/files#sticker-profile-pictures">profile picture</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiProfilePhotoGroups"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_EmojiGroups"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
||||||
public static Task<Messages_EmojiGroups> Messages_GetEmojiProfilePhotoGroups(this Client client, int hash = default)
|
public static Task<Messages_EmojiGroups> Messages_GetEmojiProfilePhotoGroups(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Messages_GetEmojiProfilePhotoGroups
|
=> client.Invoke(new Messages_GetEmojiProfilePhotoGroups
|
||||||
|
|
@ -3939,7 +3939,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Look for <a href="https://corefork.telegram.org/api/custom-emoji">custom emojis</a> associated to a UTF8 emoji <para>See <a href="https://corefork.telegram.org/method/messages.searchCustomEmoji"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.searchCustomEmoji#possible-errors">details</a>)</para></summary>
|
/// <summary>Look for <a href="https://corefork.telegram.org/api/custom-emoji">custom emojis</a> associated to a UTF8 emoji <para>See <a href="https://corefork.telegram.org/method/messages.searchCustomEmoji"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.searchCustomEmoji#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="emoticon">The emoji</param>
|
/// <param name="emoticon">The emoji</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="EmojiList"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/emojiListNotModified">emojiListNotModified</a></returns>
|
||||||
public static Task<EmojiList> Messages_SearchCustomEmoji(this Client client, string emoticon, long hash = default)
|
public static Task<EmojiList> Messages_SearchCustomEmoji(this Client client, string emoticon, long hash = default)
|
||||||
=> client.Invoke(new Messages_SearchCustomEmoji
|
=> client.Invoke(new Messages_SearchCustomEmoji
|
||||||
|
|
@ -4006,7 +4006,7 @@ namespace TL
|
||||||
/// <summary>Search for <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickersets »</a> <para>See <a href="https://corefork.telegram.org/method/messages.searchEmojiStickerSets"/></para></summary>
|
/// <summary>Search for <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji stickersets »</a> <para>See <a href="https://corefork.telegram.org/method/messages.searchEmojiStickerSets"/></para></summary>
|
||||||
/// <param name="exclude_featured">Exclude featured stickersets from results</param>
|
/// <param name="exclude_featured">Exclude featured stickersets from results</param>
|
||||||
/// <param name="q">Query string</param>
|
/// <param name="q">Query string</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_FoundStickerSets"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.foundStickerSetsNotModified">messages.foundStickerSetsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.foundStickerSetsNotModified">messages.foundStickerSetsNotModified</a></returns>
|
||||||
public static Task<Messages_FoundStickerSets> Messages_SearchEmojiStickerSets(this Client client, string q, long hash = default, bool exclude_featured = false)
|
public static Task<Messages_FoundStickerSets> Messages_SearchEmojiStickerSets(this Client client, string q, long hash = default, bool exclude_featured = false)
|
||||||
=> client.Invoke(new Messages_SearchEmojiStickerSets
|
=> client.Invoke(new Messages_SearchEmojiStickerSets
|
||||||
|
|
@ -4099,7 +4099,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Fetch the full list of <a href="https://corefork.telegram.org/api/saved-messages#tags">saved message tags</a> created by the user. <para>See <a href="https://corefork.telegram.org/method/messages.getSavedReactionTags"/></para></summary>
|
/// <summary>Fetch the full list of <a href="https://corefork.telegram.org/api/saved-messages#tags">saved message tags</a> created by the user. <para>See <a href="https://corefork.telegram.org/method/messages.getSavedReactionTags"/></para></summary>
|
||||||
/// <param name="peer">If set, returns tags only used in the specified <a href="https://corefork.telegram.org/api/saved-messages#saved-message-dialogs">saved message dialog</a>.</param>
|
/// <param name="peer">If set, returns tags only used in the specified <a href="https://corefork.telegram.org/api/saved-messages#saved-message-dialogs">saved message dialog</a>.</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_SavedReactionTags"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.savedReactionTagsNotModified">messages.savedReactionTagsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.savedReactionTagsNotModified">messages.savedReactionTagsNotModified</a></returns>
|
||||||
public static Task<Messages_SavedReactionTags> Messages_GetSavedReactionTags(this Client client, long hash = default, InputPeer peer = null)
|
public static Task<Messages_SavedReactionTags> Messages_GetSavedReactionTags(this Client client, long hash = default, InputPeer peer = null)
|
||||||
=> client.Invoke(new Messages_GetSavedReactionTags
|
=> client.Invoke(new Messages_GetSavedReactionTags
|
||||||
|
|
@ -4121,7 +4121,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Fetch a default recommended list of <a href="https://corefork.telegram.org/api/saved-messages#tags">saved message tag reactions</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getDefaultTagReactions"/></para></summary>
|
/// <summary>Fetch a default recommended list of <a href="https://corefork.telegram.org/api/saved-messages#tags">saved message tag reactions</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getDefaultTagReactions"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_Reactions"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.reactionsNotModified">messages.reactionsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.reactionsNotModified">messages.reactionsNotModified</a></returns>
|
||||||
public static Task<Messages_Reactions> Messages_GetDefaultTagReactions(this Client client, long hash = default)
|
public static Task<Messages_Reactions> Messages_GetDefaultTagReactions(this Client client, long hash = default)
|
||||||
=> client.Invoke(new Messages_GetDefaultTagReactions
|
=> client.Invoke(new Messages_GetDefaultTagReactions
|
||||||
|
|
@ -4238,7 +4238,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>, to be used when choosing a sticker. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiStickerGroups"/></para></summary>
|
/// <summary>Represents a list of <a href="https://corefork.telegram.org/api/emoji-categories">emoji categories</a>, to be used when choosing a sticker. <para>See <a href="https://corefork.telegram.org/method/messages.getEmojiStickerGroups"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_EmojiGroups"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></returns>
|
||||||
public static Task<Messages_EmojiGroups> Messages_GetEmojiStickerGroups(this Client client, int hash = default)
|
public static Task<Messages_EmojiGroups> Messages_GetEmojiStickerGroups(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Messages_GetEmojiStickerGroups
|
=> client.Invoke(new Messages_GetEmojiStickerGroups
|
||||||
|
|
@ -4247,7 +4247,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Fetch the full list of usable <a href="https://corefork.telegram.org/api/effects">animated message effects »</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getAvailableEffects"/></para></summary>
|
/// <summary>Fetch the full list of usable <a href="https://corefork.telegram.org/api/effects">animated message effects »</a>. <para>See <a href="https://corefork.telegram.org/method/messages.getAvailableEffects"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Messages_AvailableEffects"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.availableEffectsNotModified">messages.availableEffectsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.availableEffectsNotModified">messages.availableEffectsNotModified</a></returns>
|
||||||
public static Task<Messages_AvailableEffects> Messages_GetAvailableEffects(this Client client, int hash = default)
|
public static Task<Messages_AvailableEffects> Messages_GetAvailableEffects(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Messages_GetAvailableEffects
|
=> client.Invoke(new Messages_GetAvailableEffects
|
||||||
|
|
@ -4287,6 +4287,18 @@ namespace TL
|
||||||
msg_id = msg_id,
|
msg_id = msg_id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/messages.requestMainWebView"/></para></summary>
|
||||||
|
public static Task<WebViewResult> Messages_RequestMainWebView(this Client client, InputPeer peer, InputUserBase bot, string platform, DataJSON theme_params = null, string start_param = null, bool compact = false)
|
||||||
|
=> client.Invoke(new Messages_RequestMainWebView
|
||||||
|
{
|
||||||
|
flags = (Messages_RequestMainWebView.Flags)((theme_params != null ? 0x1 : 0) | (start_param != null ? 0x2 : 0) | (compact ? 0x80 : 0)),
|
||||||
|
peer = peer,
|
||||||
|
bot = bot,
|
||||||
|
start_param = start_param,
|
||||||
|
theme_params = theme_params,
|
||||||
|
platform = platform,
|
||||||
|
});
|
||||||
|
|
||||||
/// <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.Invoke(new Updates_GetState
|
=> client.Invoke(new Updates_GetState
|
||||||
|
|
@ -4575,7 +4587,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get app-specific configuration, see <a href="https://corefork.telegram.org/api/config#client-configuration">client configuration</a> for more info on the result. <para>See <a href="https://corefork.telegram.org/method/help.getAppConfig"/></para></summary>
|
/// <summary>Get app-specific configuration, see <a href="https://corefork.telegram.org/api/config#client-configuration">client configuration</a> for more info on the result. <para>See <a href="https://corefork.telegram.org/method/help.getAppConfig"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Help_AppConfig"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.appConfigNotModified">help.appConfigNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.appConfigNotModified">help.appConfigNotModified</a></returns>
|
||||||
public static Task<Help_AppConfig> Help_GetAppConfig(this Client client, int hash = default)
|
public static Task<Help_AppConfig> Help_GetAppConfig(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Help_GetAppConfig
|
=> client.Invoke(new Help_GetAppConfig
|
||||||
|
|
@ -4592,7 +4604,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get <a href="https://corefork.telegram.org/passport">passport</a> configuration <para>See <a href="https://corefork.telegram.org/method/help.getPassportConfig"/></para></summary>
|
/// <summary>Get <a href="https://corefork.telegram.org/passport">passport</a> configuration <para>See <a href="https://corefork.telegram.org/method/help.getPassportConfig"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Help_PassportConfig"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.passportConfigNotModified">help.passportConfigNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.passportConfigNotModified">help.passportConfigNotModified</a></returns>
|
||||||
public static Task<Help_PassportConfig> Help_GetPassportConfig(this Client client, int hash = default)
|
public static Task<Help_PassportConfig> Help_GetPassportConfig(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Help_GetPassportConfig
|
=> client.Invoke(new Help_GetPassportConfig
|
||||||
|
|
@ -4654,7 +4666,7 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Get name, ISO code, localized name and phone codes/patterns of all available countries <para>See <a href="https://corefork.telegram.org/method/help.getCountriesList"/></para></summary>
|
/// <summary>Get name, ISO code, localized name and phone codes/patterns of all available countries <para>See <a href="https://corefork.telegram.org/method/help.getCountriesList"/></para></summary>
|
||||||
/// <param name="lang_code">Language code of the current user</param>
|
/// <param name="lang_code">Language code of the current user</param>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Help_CountriesList"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.countriesListNotModified">help.countriesListNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.countriesListNotModified">help.countriesListNotModified</a></returns>
|
||||||
public static Task<Help_CountriesList> Help_GetCountriesList(this Client client, string lang_code, int hash = default)
|
public static Task<Help_CountriesList> Help_GetCountriesList(this Client client, string lang_code, int hash = default)
|
||||||
=> client.Invoke(new Help_GetCountriesList
|
=> client.Invoke(new Help_GetCountriesList
|
||||||
|
|
@ -4670,7 +4682,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get the set of <a href="https://corefork.telegram.org/api/colors">accent color palettes »</a> that can be used for message accents. <para>See <a href="https://corefork.telegram.org/method/help.getPeerColors"/></para></summary>
|
/// <summary>Get the set of <a href="https://corefork.telegram.org/api/colors">accent color palettes »</a> that can be used for message accents. <para>See <a href="https://corefork.telegram.org/method/help.getPeerColors"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Help_PeerColors"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.peerColorsNotModified">help.peerColorsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.peerColorsNotModified">help.peerColorsNotModified</a></returns>
|
||||||
public static Task<Help_PeerColors> Help_GetPeerColors(this Client client, int hash = default)
|
public static Task<Help_PeerColors> Help_GetPeerColors(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Help_GetPeerColors
|
=> client.Invoke(new Help_GetPeerColors
|
||||||
|
|
@ -4679,7 +4691,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get the set of <a href="https://corefork.telegram.org/api/colors">accent color palettes »</a> that can be used in profile page backgrounds. <para>See <a href="https://corefork.telegram.org/method/help.getPeerProfileColors"/></para></summary>
|
/// <summary>Get the set of <a href="https://corefork.telegram.org/api/colors">accent color palettes »</a> that can be used in profile page backgrounds. <para>See <a href="https://corefork.telegram.org/method/help.getPeerProfileColors"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Help_PeerColors"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.peerColorsNotModified">help.peerColorsNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.peerColorsNotModified">help.peerColorsNotModified</a></returns>
|
||||||
public static Task<Help_PeerColors> Help_GetPeerProfileColors(this Client client, int hash = default)
|
public static Task<Help_PeerColors> Help_GetPeerProfileColors(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Help_GetPeerProfileColors
|
=> client.Invoke(new Help_GetPeerProfileColors
|
||||||
|
|
@ -4688,7 +4700,7 @@ namespace TL
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Returns timezone information that may be used elsewhere in the API, such as to set <a href="https://corefork.telegram.org/api/business#opening-hours">Telegram Business opening hours »</a>. <para>See <a href="https://corefork.telegram.org/method/help.getTimezonesList"/></para></summary>
|
/// <summary>Returns timezone information that may be used elsewhere in the API, such as to set <a href="https://corefork.telegram.org/api/business#opening-hours">Telegram Business opening hours »</a>. <para>See <a href="https://corefork.telegram.org/method/help.getTimezonesList"/></para></summary>
|
||||||
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.<br/><strong>Note</strong>: the usual hash generation algorithm cannot be used in this case, please re-use the <see cref="Help_TimezonesList"/>.<c>hash</c> field returned by a previous call to the method, or pass 0 if this is the first call.</param>
|
/// <param name="hash"><a href="https://corefork.telegram.org/api/offsets#hash-generation">Hash used for caching, for more info click here</a>.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.timezonesListNotModified">help.timezonesListNotModified</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/help.timezonesListNotModified">help.timezonesListNotModified</a></returns>
|
||||||
public static Task<Help_TimezonesList> Help_GetTimezonesList(this Client client, int hash = default)
|
public static Task<Help_TimezonesList> Help_GetTimezonesList(this Client client, int hash = default)
|
||||||
=> client.Invoke(new Help_GetTimezonesList
|
=> client.Invoke(new Help_GetTimezonesList
|
||||||
|
|
@ -5574,6 +5586,66 @@ namespace TL
|
||||||
params_ = params_,
|
params_ = params_,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/bots.getPopularAppBots"/></para></summary>
|
||||||
|
public static Task<Bots_PopularAppBots> Bots_GetPopularAppBots(this Client client, string offset, int limit = int.MaxValue)
|
||||||
|
=> client.Invoke(new Bots_GetPopularAppBots
|
||||||
|
{
|
||||||
|
offset = offset,
|
||||||
|
limit = limit,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/bots.addPreviewMedia"/></para></summary>
|
||||||
|
public static Task<BotPreviewMedia> Bots_AddPreviewMedia(this Client client, InputUserBase bot, string lang_code, InputMedia media)
|
||||||
|
=> client.Invoke(new Bots_AddPreviewMedia
|
||||||
|
{
|
||||||
|
bot = bot,
|
||||||
|
lang_code = lang_code,
|
||||||
|
media = media,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/bots.editPreviewMedia"/></para></summary>
|
||||||
|
public static Task<BotPreviewMedia> Bots_EditPreviewMedia(this Client client, InputUserBase bot, string lang_code, InputMedia media, InputMedia new_media)
|
||||||
|
=> client.Invoke(new Bots_EditPreviewMedia
|
||||||
|
{
|
||||||
|
bot = bot,
|
||||||
|
lang_code = lang_code,
|
||||||
|
media = media,
|
||||||
|
new_media = new_media,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/bots.deletePreviewMedia"/></para></summary>
|
||||||
|
public static Task<bool> Bots_DeletePreviewMedia(this Client client, InputUserBase bot, string lang_code, params InputMedia[] media)
|
||||||
|
=> client.Invoke(new Bots_DeletePreviewMedia
|
||||||
|
{
|
||||||
|
bot = bot,
|
||||||
|
lang_code = lang_code,
|
||||||
|
media = media,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/bots.reorderPreviewMedias"/></para></summary>
|
||||||
|
public static Task<bool> Bots_ReorderPreviewMedias(this Client client, InputUserBase bot, string lang_code, params InputMedia[] order)
|
||||||
|
=> client.Invoke(new Bots_ReorderPreviewMedias
|
||||||
|
{
|
||||||
|
bot = bot,
|
||||||
|
lang_code = lang_code,
|
||||||
|
order = order,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/bots.getPreviewInfo"/></para></summary>
|
||||||
|
public static Task<Bots_PreviewInfo> Bots_GetPreviewInfo(this Client client, InputUserBase bot, string lang_code)
|
||||||
|
=> client.Invoke(new Bots_GetPreviewInfo
|
||||||
|
{
|
||||||
|
bot = bot,
|
||||||
|
lang_code = lang_code,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/bots.getPreviewMedias"/></para></summary>
|
||||||
|
public static Task<BotPreviewMedia[]> Bots_GetPreviewMedias(this Client client, InputUserBase bot)
|
||||||
|
=> client.Invoke(new Bots_GetPreviewMedias
|
||||||
|
{
|
||||||
|
bot = bot,
|
||||||
|
});
|
||||||
|
|
||||||
/// <summary>Get a payment form <para>See <a href="https://corefork.telegram.org/method/payments.getPaymentForm"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getPaymentForm#possible-errors">details</a>)</para></summary>
|
/// <summary>Get a payment form <para>See <a href="https://corefork.telegram.org/method/payments.getPaymentForm"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getPaymentForm#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="invoice">Invoice</param>
|
/// <param name="invoice">Invoice</param>
|
||||||
/// <param name="theme_params">A JSON object with the following keys, containing color theme information (integers, RGB24) to pass to the payment provider, to apply in eventual verification pages: <br/><c>bg_color</c> - Background color <br/><c>text_color</c> - Text color <br/><c>hint_color</c> - Hint text color <br/><c>link_color</c> - Link color <br/><c>button_color</c> - Button color <br/><c>button_text_color</c> - Button text color</param>
|
/// <param name="theme_params">A JSON object with the following keys, containing color theme information (integers, RGB24) to pass to the payment provider, to apply in eventual verification pages: <br/><c>bg_color</c> - Background color <br/><c>text_color</c> - Text color <br/><c>hint_color</c> - Hint text color <br/><c>link_color</c> - Link color <br/><c>button_color</c> - Button color <br/><c>button_text_color</c> - Button text color</param>
|
||||||
|
|
@ -5813,6 +5885,14 @@ namespace TL
|
||||||
id = id,
|
id = id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/payments.getStarsGiftOptions"/></para></summary>
|
||||||
|
public static Task<StarsGiftOption[]> Payments_GetStarsGiftOptions(this Client client, InputUserBase user_id = null)
|
||||||
|
=> client.Invoke(new Payments_GetStarsGiftOptions
|
||||||
|
{
|
||||||
|
flags = (Payments_GetStarsGiftOptions.Flags)(user_id != null ? 0x1 : 0),
|
||||||
|
user_id = user_id,
|
||||||
|
});
|
||||||
|
|
||||||
/// <summary>Create a stickerset, bots only. <para>See <a href="https://corefork.telegram.org/method/stickers.createStickerSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.createStickerSet#possible-errors">details</a>)</para></summary>
|
/// <summary>Create a stickerset, bots only. <para>See <a href="https://corefork.telegram.org/method/stickers.createStickerSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.createStickerSet#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="masks">Whether this is a mask stickerset</param>
|
/// <param name="masks">Whether this is a mask stickerset</param>
|
||||||
/// <param name="emojis">Whether this is a <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji</a> stickerset.</param>
|
/// <param name="emojis">Whether this is a <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji</a> stickerset.</param>
|
||||||
|
|
@ -6234,7 +6314,7 @@ namespace TL
|
||||||
subscribed = subscribed,
|
subscribed = subscribed,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Start a scheduled group call. <para>See <a href="https://corefork.telegram.org/method/phone.startScheduledGroupCall"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/phone.startScheduledGroupCall#possible-errors">details</a>)</para></summary>
|
/// <summary>Start a scheduled group call. <para>See <a href="https://corefork.telegram.org/method/phone.startScheduledGroupCall"/></para> <para>Possible <see cref="RpcException"/> codes: 400,403 (<a href="https://corefork.telegram.org/method/phone.startScheduledGroupCall#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="call">The scheduled group call</param>
|
/// <param name="call">The scheduled group call</param>
|
||||||
public static Task<UpdatesBase> Phone_StartScheduledGroupCall(this Client client, InputGroupCall call)
|
public static Task<UpdatesBase> Phone_StartScheduledGroupCall(this Client client, InputGroupCall call)
|
||||||
=> client.Invoke(new Phone_StartScheduledGroupCall
|
=> client.Invoke(new Phone_StartScheduledGroupCall
|
||||||
|
|
@ -8242,6 +8322,7 @@ namespace TL.Methods
|
||||||
forward_chats = 0x20,
|
forward_chats = 0x20,
|
||||||
groups = 0x400,
|
groups = 0x400,
|
||||||
channels = 0x8000,
|
channels = 0x8000,
|
||||||
|
bots_app = 0x10000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -10558,6 +10639,24 @@ namespace TL.Methods
|
||||||
public int[] msg_id;
|
public int[] msg_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TLDef(0xC9E01E7B)]
|
||||||
|
public sealed partial class Messages_RequestMainWebView : IMethod<WebViewResult>
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public InputPeer peer;
|
||||||
|
public InputUserBase bot;
|
||||||
|
[IfFlag(1)] public string start_param;
|
||||||
|
[IfFlag(0)] public DataJSON theme_params;
|
||||||
|
public string platform;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_theme_params = 0x1,
|
||||||
|
has_start_param = 0x2,
|
||||||
|
compact = 0x80,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0xEDD4882A)]
|
[TLDef(0xEDD4882A)]
|
||||||
public sealed partial class Updates_GetState : IMethod<Updates_State> { }
|
public sealed partial class Updates_GetState : IMethod<Updates_State> { }
|
||||||
|
|
||||||
|
|
@ -11543,6 +11642,59 @@ namespace TL.Methods
|
||||||
public DataJSON params_;
|
public DataJSON params_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TLDef(0xC2510192)]
|
||||||
|
public sealed partial class Bots_GetPopularAppBots : IMethod<Bots_PopularAppBots>
|
||||||
|
{
|
||||||
|
public string offset;
|
||||||
|
public int limit;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x17AEB75A)]
|
||||||
|
public sealed partial class Bots_AddPreviewMedia : IMethod<BotPreviewMedia>
|
||||||
|
{
|
||||||
|
public InputUserBase bot;
|
||||||
|
public string lang_code;
|
||||||
|
public InputMedia media;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x8525606F)]
|
||||||
|
public sealed partial class Bots_EditPreviewMedia : IMethod<BotPreviewMedia>
|
||||||
|
{
|
||||||
|
public InputUserBase bot;
|
||||||
|
public string lang_code;
|
||||||
|
public InputMedia media;
|
||||||
|
public InputMedia new_media;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x2D0135B3)]
|
||||||
|
public sealed partial class Bots_DeletePreviewMedia : IMethod<bool>
|
||||||
|
{
|
||||||
|
public InputUserBase bot;
|
||||||
|
public string lang_code;
|
||||||
|
public InputMedia[] media;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0xB627F3AA)]
|
||||||
|
public sealed partial class Bots_ReorderPreviewMedias : IMethod<bool>
|
||||||
|
{
|
||||||
|
public InputUserBase bot;
|
||||||
|
public string lang_code;
|
||||||
|
public InputMedia[] order;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x423AB3AD)]
|
||||||
|
public sealed partial class Bots_GetPreviewInfo : IMethod<Bots_PreviewInfo>
|
||||||
|
{
|
||||||
|
public InputUserBase bot;
|
||||||
|
public string lang_code;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0xA2A5594D)]
|
||||||
|
public sealed partial class Bots_GetPreviewMedias : IMethod<BotPreviewMedia[]>
|
||||||
|
{
|
||||||
|
public InputUserBase bot;
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0x37148DBB)]
|
[TLDef(0x37148DBB)]
|
||||||
public sealed partial class Payments_GetPaymentForm : IMethod<Payments_PaymentFormBase>
|
public sealed partial class Payments_GetPaymentForm : IMethod<Payments_PaymentFormBase>
|
||||||
{
|
{
|
||||||
|
|
@ -11758,6 +11910,18 @@ namespace TL.Methods
|
||||||
public InputStarsTransaction[] id;
|
public InputStarsTransaction[] id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TLDef(0xD3C96BC8)]
|
||||||
|
public sealed partial class Payments_GetStarsGiftOptions : IMethod<StarsGiftOption[]>
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(0)] public InputUserBase user_id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_user_id = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0x9021AB67)]
|
[TLDef(0x9021AB67)]
|
||||||
public sealed partial class Stickers_CreateStickerSet : IMethod<Messages_StickerSet>
|
public sealed partial class Stickers_CreateStickerSet : IMethod<Messages_StickerSet>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace TL
|
||||||
{
|
{
|
||||||
public static partial class Layer
|
public static partial class Layer
|
||||||
{
|
{
|
||||||
public const int Version = 184; // fetched 17/07/2024 09:17:31
|
public const int Version = 185; // fetched 31/07/2024 17:28:03
|
||||||
internal const int SecretChats = 144;
|
internal const int SecretChats = 144;
|
||||||
internal const int MTProto2 = 73;
|
internal const int MTProto2 = 73;
|
||||||
internal const uint VectorCtor = 0x1CB5C415;
|
internal const uint VectorCtor = 0x1CB5C415;
|
||||||
|
|
@ -123,7 +123,7 @@ namespace TL
|
||||||
[0x36C6019A] = typeof(PeerChat),
|
[0x36C6019A] = typeof(PeerChat),
|
||||||
[0xA2A5371E] = typeof(PeerChannel),
|
[0xA2A5371E] = typeof(PeerChannel),
|
||||||
[0xD3BC4B7A] = typeof(UserEmpty),
|
[0xD3BC4B7A] = typeof(UserEmpty),
|
||||||
[0x215C4438] = typeof(User),
|
[0x83314FCA] = typeof(User),
|
||||||
[0x4F11BAE1] = null,//UserProfilePhotoEmpty
|
[0x4F11BAE1] = null,//UserProfilePhotoEmpty
|
||||||
[0x82D1F706] = typeof(UserProfilePhoto),
|
[0x82D1F706] = typeof(UserProfilePhoto),
|
||||||
[0x09D05049] = null,//UserStatusEmpty
|
[0x09D05049] = null,//UserStatusEmpty
|
||||||
|
|
@ -210,6 +210,7 @@ namespace TL
|
||||||
[0xCC02AA6D] = typeof(MessageActionBoostApply),
|
[0xCC02AA6D] = typeof(MessageActionBoostApply),
|
||||||
[0x93B31848] = typeof(MessageActionRequestedPeerSentMe),
|
[0x93B31848] = typeof(MessageActionRequestedPeerSentMe),
|
||||||
[0x41B3E202] = typeof(MessageActionPaymentRefunded),
|
[0x41B3E202] = typeof(MessageActionPaymentRefunded),
|
||||||
|
[0x45D5B021] = typeof(MessageActionGiftStars),
|
||||||
[0xD58A08C6] = typeof(Dialog),
|
[0xD58A08C6] = typeof(Dialog),
|
||||||
[0x71BD134C] = typeof(DialogFolder),
|
[0x71BD134C] = typeof(DialogFolder),
|
||||||
[0x2331B22D] = typeof(PhotoEmpty),
|
[0x2331B22D] = typeof(PhotoEmpty),
|
||||||
|
|
@ -508,7 +509,7 @@ namespace TL
|
||||||
[0x6C37C15C] = typeof(DocumentAttributeImageSize),
|
[0x6C37C15C] = typeof(DocumentAttributeImageSize),
|
||||||
[0x11B58939] = typeof(DocumentAttributeAnimated),
|
[0x11B58939] = typeof(DocumentAttributeAnimated),
|
||||||
[0x6319D612] = typeof(DocumentAttributeSticker),
|
[0x6319D612] = typeof(DocumentAttributeSticker),
|
||||||
[0xD38FF1C2] = typeof(DocumentAttributeVideo),
|
[0x17399FAD] = typeof(DocumentAttributeVideo),
|
||||||
[0x9852F9C6] = typeof(DocumentAttributeAudio),
|
[0x9852F9C6] = typeof(DocumentAttributeAudio),
|
||||||
[0x15590068] = typeof(DocumentAttributeFilename),
|
[0x15590068] = typeof(DocumentAttributeFilename),
|
||||||
[0x9801D2F7] = typeof(DocumentAttributeHasStickers),
|
[0x9801D2F7] = typeof(DocumentAttributeHasStickers),
|
||||||
|
|
@ -1080,7 +1081,7 @@ namespace TL
|
||||||
[0xC5B56859] = typeof(InputInvoiceMessage),
|
[0xC5B56859] = typeof(InputInvoiceMessage),
|
||||||
[0xC326CAEF] = typeof(InputInvoiceSlug),
|
[0xC326CAEF] = typeof(InputInvoiceSlug),
|
||||||
[0x98986C0D] = typeof(InputInvoicePremiumGiftCode),
|
[0x98986C0D] = typeof(InputInvoicePremiumGiftCode),
|
||||||
[0x1DA33AD8] = typeof(InputInvoiceStars),
|
[0x65F00CE3] = typeof(InputInvoiceStars),
|
||||||
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
|
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
|
||||||
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
|
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
|
||||||
[0x5334759C] = typeof(Help_PremiumPromo),
|
[0x5334759C] = typeof(Help_PremiumPromo),
|
||||||
|
|
@ -1088,7 +1089,8 @@ namespace TL
|
||||||
[0x616F7FE8] = typeof(InputStorePaymentGiftPremium),
|
[0x616F7FE8] = typeof(InputStorePaymentGiftPremium),
|
||||||
[0xA3805F3F] = typeof(InputStorePaymentPremiumGiftCode),
|
[0xA3805F3F] = typeof(InputStorePaymentPremiumGiftCode),
|
||||||
[0x160544CA] = typeof(InputStorePaymentPremiumGiveaway),
|
[0x160544CA] = typeof(InputStorePaymentPremiumGiveaway),
|
||||||
[0x4F0EE8DF] = typeof(InputStorePaymentStars),
|
[0xDDDD0F56] = typeof(InputStorePaymentStarsTopup),
|
||||||
|
[0x1D741EF7] = typeof(InputStorePaymentStarsGift),
|
||||||
[0x74C34319] = typeof(PremiumGiftOption),
|
[0x74C34319] = typeof(PremiumGiftOption),
|
||||||
[0x88F8F21B] = typeof(PaymentFormMethod),
|
[0x88F8F21B] = typeof(PaymentFormMethod),
|
||||||
[0x2DE11AAE] = null,//EmojiStatusEmpty
|
[0x2DE11AAE] = null,//EmojiStatusEmpty
|
||||||
|
|
@ -1182,6 +1184,7 @@ namespace TL
|
||||||
[0x770416AF] = typeof(MediaAreaChannelPost),
|
[0x770416AF] = typeof(MediaAreaChannelPost),
|
||||||
[0x2271F2BF] = typeof(InputMediaAreaChannelPost),
|
[0x2271F2BF] = typeof(InputMediaAreaChannelPost),
|
||||||
[0x37381085] = typeof(MediaAreaUrl),
|
[0x37381085] = typeof(MediaAreaUrl),
|
||||||
|
[0x49A6549C] = typeof(MediaAreaWeather),
|
||||||
[0x9A35E999] = typeof(PeerStories),
|
[0x9A35E999] = typeof(PeerStories),
|
||||||
[0xCAE68768] = typeof(Stories_PeerStories),
|
[0xCAE68768] = typeof(Stories_PeerStories),
|
||||||
[0xFD5E12BD] = typeof(Messages_WebPage),
|
[0xFD5E12BD] = typeof(Messages_WebPage),
|
||||||
|
|
@ -1301,6 +1304,10 @@ namespace TL
|
||||||
[0x1DAB80B7] = typeof(Payments_StarsRevenueWithdrawalUrl),
|
[0x1DAB80B7] = typeof(Payments_StarsRevenueWithdrawalUrl),
|
||||||
[0x394E7F21] = typeof(Payments_StarsRevenueAdsAccountUrl),
|
[0x394E7F21] = typeof(Payments_StarsRevenueAdsAccountUrl),
|
||||||
[0x206AE6D1] = typeof(InputStarsTransaction),
|
[0x206AE6D1] = typeof(InputStarsTransaction),
|
||||||
|
[0x5E0589F1] = typeof(StarsGiftOption),
|
||||||
|
[0x1991B13B] = typeof(Bots_PopularAppBots),
|
||||||
|
[0x23E91BA3] = typeof(BotPreviewMedia),
|
||||||
|
[0x0CA71D64] = typeof(Bots_PreviewInfo),
|
||||||
// from TL.Secret:
|
// from TL.Secret:
|
||||||
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
||||||
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
|
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<PackageId>WTelegramClient</PackageId>
|
<PackageId>WTelegramClient</PackageId>
|
||||||
<Version>0.0.0</Version>
|
<Version>0.0.0</Version>
|
||||||
<Authors>Wizou</Authors>
|
<Authors>Wizou</Authors>
|
||||||
<Description>Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 184
|
<Description>Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 185
|
||||||
|
|
||||||
Release Notes:
|
Release Notes:
|
||||||
$(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A"))</Description>
|
$(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A"))</Description>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue