mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
Compare commits
3 commits
6f6dd38738
...
b759bb29ea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b759bb29ea | ||
|
|
52d948af2a | ||
|
|
bdcf389ed2 |
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
|
@ -54,3 +54,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git tag $VERSION
|
git tag $VERSION
|
||||||
git push --tags
|
git push --tags
|
||||||
|
- name: Deployment Notification
|
||||||
|
env:
|
||||||
|
JSON: |
|
||||||
|
{
|
||||||
|
"status": "success", "complete": true, "commitMessage": ${{ toJSON(github.event.head_commit.message) }},
|
||||||
|
"message": "{ \"commitId\": \"${{ github.sha }}\", \"buildNumber\": \"${{ env.VERSION }}\", \"repoName\": \"${{ github.repository }}\"}"
|
||||||
|
}
|
||||||
|
run: |
|
||||||
|
curl -X POST -H "Content-Type: application/json" -d "$JSON" ${{ secrets.DEPLOYED_WEBHOOK }}
|
||||||
|
|
|
||||||
|
|
@ -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://buymeacoffee.com/wizou)
|
[](https://buymeacoffee.com/wizou)
|
||||||
|
|
|
||||||
370
src/TL.Schema.cs
370
src/TL.Schema.cs
|
|
@ -507,6 +507,12 @@ namespace TL
|
||||||
has_payload = 0x1,
|
has_payload = 0x1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/inputMediaTodo"/></para></summary>
|
||||||
|
[TLDef(0x9FC55FDE)]
|
||||||
|
public sealed partial class InputMediaTodo : InputMedia
|
||||||
|
{
|
||||||
|
public TodoList todo;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Defines a new group profile photo. <para>See <a href="https://corefork.telegram.org/type/InputChatPhoto"/></para> <para>Derived classes: <see cref="InputChatUploadedPhoto"/>, <see cref="InputChatPhoto"/></para></summary>
|
/// <summary>Defines a new group profile photo. <para>See <a href="https://corefork.telegram.org/type/InputChatPhoto"/></para> <para>Derived classes: <see cref="InputChatUploadedPhoto"/>, <see cref="InputChatPhoto"/></para></summary>
|
||||||
/// <remarks>a <see langword="null"/> value means <a href="https://corefork.telegram.org/constructor/inputChatPhotoEmpty">inputChatPhotoEmpty</a></remarks>
|
/// <remarks>a <see langword="null"/> value means <a href="https://corefork.telegram.org/constructor/inputChatPhotoEmpty">inputChatPhotoEmpty</a></remarks>
|
||||||
|
|
@ -1394,7 +1400,7 @@ namespace TL
|
||||||
public override int ReactionsLimit => reactions_limit;
|
public override int ReactionsLimit => reactions_limit;
|
||||||
}
|
}
|
||||||
/// <summary>Full info about a <a href="https://corefork.telegram.org/api/channel#channels">channel</a>, <a href="https://corefork.telegram.org/api/channel#supergroups">supergroup</a> or <a href="https://corefork.telegram.org/api/channel#gigagroups">gigagroup</a>. <para>See <a href="https://corefork.telegram.org/constructor/channelFull"/></para></summary>
|
/// <summary>Full info about a <a href="https://corefork.telegram.org/api/channel#channels">channel</a>, <a href="https://corefork.telegram.org/api/channel#supergroups">supergroup</a> or <a href="https://corefork.telegram.org/api/channel#gigagroups">gigagroup</a>. <para>See <a href="https://corefork.telegram.org/constructor/channelFull"/></para></summary>
|
||||||
[TLDef(0x52D6806B)]
|
[TLDef(0xE07429DE)]
|
||||||
public sealed partial class ChannelFull : ChatFullBase
|
public sealed partial class ChannelFull : ChatFullBase
|
||||||
{
|
{
|
||||||
/// <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>
|
||||||
|
|
@ -1485,6 +1491,7 @@ namespace TL
|
||||||
[IfFlag(42)] public StickerSet emojiset;
|
[IfFlag(42)] public StickerSet emojiset;
|
||||||
[IfFlag(49)] public BotVerification bot_verification;
|
[IfFlag(49)] public BotVerification bot_verification;
|
||||||
[IfFlag(50)] public int stargifts_count;
|
[IfFlag(50)] public int stargifts_count;
|
||||||
|
[IfFlag(53)] public long send_paid_messages_stars;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -1594,6 +1601,8 @@ namespace TL
|
||||||
has_stargifts_count = 0x40000,
|
has_stargifts_count = 0x40000,
|
||||||
stargifts_available = 0x80000,
|
stargifts_available = 0x80000,
|
||||||
paid_messages_available = 0x100000,
|
paid_messages_available = 0x100000,
|
||||||
|
/// <summary>Field <see cref="send_paid_messages_stars"/> has a value</summary>
|
||||||
|
has_send_paid_messages_stars = 0x200000,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>ID of the channel</summary>
|
/// <summary>ID of the channel</summary>
|
||||||
|
|
@ -1739,6 +1748,8 @@ namespace TL
|
||||||
public virtual Peer From => default;
|
public virtual Peer From => default;
|
||||||
/// <summary>Peer ID, the chat where this message was sent</summary>
|
/// <summary>Peer ID, the chat where this message was sent</summary>
|
||||||
public virtual Peer Peer => default;
|
public virtual Peer Peer => default;
|
||||||
|
/// <summary>Messages fetched from a <a href="https://corefork.telegram.org/api/saved-messages">saved messages dialog »</a> will have <c>peer</c>=<see cref="InputPeerSelf"/> and the <c>saved_peer_id</c> flag set to the ID of the saved dialog.<br/></summary>
|
||||||
|
public virtual Peer SavedPeer => default;
|
||||||
/// <summary>Reply information</summary>
|
/// <summary>Reply information</summary>
|
||||||
public virtual MessageReplyHeaderBase ReplyTo => default;
|
public virtual MessageReplyHeaderBase ReplyTo => default;
|
||||||
/// <summary>Date of the message</summary>
|
/// <summary>Date of the message</summary>
|
||||||
|
|
@ -1771,7 +1782,7 @@ namespace TL
|
||||||
public override Peer Peer => peer_id;
|
public override Peer Peer => peer_id;
|
||||||
}
|
}
|
||||||
/// <summary>A message <para>See <a href="https://corefork.telegram.org/constructor/message"/></para></summary>
|
/// <summary>A message <para>See <a href="https://corefork.telegram.org/constructor/message"/></para></summary>
|
||||||
[TLDef(0xEABCDD4D)]
|
[TLDef(0x9815CEC8)]
|
||||||
public sealed partial class Message : MessageBase
|
public sealed partial class Message : MessageBase
|
||||||
{
|
{
|
||||||
/// <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>
|
||||||
|
|
@ -1832,6 +1843,7 @@ namespace TL
|
||||||
[IfFlag(35)] public FactCheck factcheck;
|
[IfFlag(35)] public FactCheck factcheck;
|
||||||
[IfFlag(37)] public DateTime report_delivery_until_date;
|
[IfFlag(37)] public DateTime report_delivery_until_date;
|
||||||
[IfFlag(38)] public long paid_message_stars;
|
[IfFlag(38)] public long paid_message_stars;
|
||||||
|
[IfFlag(39)] public SuggestedPost suggested_post;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -1911,6 +1923,10 @@ namespace TL
|
||||||
has_report_delivery_until_date = 0x20,
|
has_report_delivery_until_date = 0x20,
|
||||||
/// <summary>Field <see cref="paid_message_stars"/> has a value</summary>
|
/// <summary>Field <see cref="paid_message_stars"/> has a value</summary>
|
||||||
has_paid_message_stars = 0x40,
|
has_paid_message_stars = 0x40,
|
||||||
|
/// <summary>Field <see cref="suggested_post"/> has a value</summary>
|
||||||
|
has_suggested_post = 0x80,
|
||||||
|
paid_suggested_post_stars = 0x100,
|
||||||
|
paid_suggested_post_ton = 0x200,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>ID of the message</summary>
|
/// <summary>ID of the message</summary>
|
||||||
|
|
@ -1919,6 +1935,8 @@ namespace TL
|
||||||
public override Peer From => from_id;
|
public override Peer From => from_id;
|
||||||
/// <summary>Peer ID, the chat where this message was sent</summary>
|
/// <summary>Peer ID, the chat where this message was sent</summary>
|
||||||
public override Peer Peer => peer_id;
|
public override Peer Peer => peer_id;
|
||||||
|
/// <summary>Messages fetched from a <a href="https://corefork.telegram.org/api/saved-messages">saved messages dialog »</a> will have <c>peer</c>=<see cref="InputPeerSelf"/> and the <c>saved_peer_id</c> flag set to the ID of the saved dialog.<br/></summary>
|
||||||
|
public override Peer SavedPeer => saved_peer_id;
|
||||||
/// <summary>Reply information</summary>
|
/// <summary>Reply information</summary>
|
||||||
public override MessageReplyHeaderBase ReplyTo => reply_to;
|
public override MessageReplyHeaderBase ReplyTo => reply_to;
|
||||||
/// <summary>Date of the message</summary>
|
/// <summary>Date of the message</summary>
|
||||||
|
|
@ -1929,7 +1947,7 @@ namespace TL
|
||||||
public override int TtlPeriod => ttl_period;
|
public override int TtlPeriod => ttl_period;
|
||||||
}
|
}
|
||||||
/// <summary>Indicates a service message <para>See <a href="https://corefork.telegram.org/constructor/messageService"/></para></summary>
|
/// <summary>Indicates a service message <para>See <a href="https://corefork.telegram.org/constructor/messageService"/></para></summary>
|
||||||
[TLDef(0xD3D28540)]
|
[TLDef(0x7A800E0A)]
|
||||||
public sealed partial class MessageService : MessageBase
|
public sealed partial class MessageService : MessageBase
|
||||||
{
|
{
|
||||||
/// <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>
|
||||||
|
|
@ -1940,6 +1958,7 @@ namespace TL
|
||||||
[IfFlag(8)] public Peer from_id;
|
[IfFlag(8)] public Peer from_id;
|
||||||
/// <summary>Sender of service message</summary>
|
/// <summary>Sender of service message</summary>
|
||||||
public Peer peer_id;
|
public Peer peer_id;
|
||||||
|
[IfFlag(28)] public Peer saved_peer_id;
|
||||||
/// <summary>Reply (thread) information</summary>
|
/// <summary>Reply (thread) information</summary>
|
||||||
[IfFlag(3)] public MessageReplyHeaderBase reply_to;
|
[IfFlag(3)] public MessageReplyHeaderBase reply_to;
|
||||||
/// <summary>Message date</summary>
|
/// <summary>Message date</summary>
|
||||||
|
|
@ -1973,6 +1992,8 @@ namespace TL
|
||||||
has_reactions = 0x100000,
|
has_reactions = 0x100000,
|
||||||
/// <summary>Field <see cref="ttl_period"/> has a value</summary>
|
/// <summary>Field <see cref="ttl_period"/> has a value</summary>
|
||||||
has_ttl_period = 0x2000000,
|
has_ttl_period = 0x2000000,
|
||||||
|
/// <summary>Field <see cref="saved_peer_id"/> has a value</summary>
|
||||||
|
has_saved_peer_id = 0x10000000,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Message ID</summary>
|
/// <summary>Message ID</summary>
|
||||||
|
|
@ -1981,6 +2002,7 @@ namespace TL
|
||||||
public override Peer From => from_id;
|
public override Peer From => from_id;
|
||||||
/// <summary>Sender of service message</summary>
|
/// <summary>Sender of service message</summary>
|
||||||
public override Peer Peer => peer_id;
|
public override Peer Peer => peer_id;
|
||||||
|
public override Peer SavedPeer => saved_peer_id;
|
||||||
/// <summary>Reply (thread) information</summary>
|
/// <summary>Reply (thread) information</summary>
|
||||||
public override MessageReplyHeaderBase ReplyTo => reply_to;
|
public override MessageReplyHeaderBase ReplyTo => reply_to;
|
||||||
/// <summary>Message date</summary>
|
/// <summary>Message date</summary>
|
||||||
|
|
@ -2311,6 +2333,19 @@ namespace TL
|
||||||
/// <summary>Either the paid-for media, or super low resolution media previews if the media wasn't purchased yet, <a href="https://corefork.telegram.org/api/paid-media#viewing-paid-media">see here »</a> for more info.</summary>
|
/// <summary>Either the paid-for media, or super low resolution media previews if the media wasn't purchased yet, <a href="https://corefork.telegram.org/api/paid-media#viewing-paid-media">see here »</a> for more info.</summary>
|
||||||
public MessageExtendedMediaBase[] extended_media;
|
public MessageExtendedMediaBase[] extended_media;
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageMediaToDo"/></para></summary>
|
||||||
|
[TLDef(0x8A53B014)]
|
||||||
|
public sealed partial class MessageMediaToDo : MessageMedia
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public TodoList todo;
|
||||||
|
[IfFlag(0)] public TodoCompletion[] completions;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_completions = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Object describing actions connected to a service message. <para>See <a href="https://corefork.telegram.org/type/MessageAction"/></para> <para>Derived classes: <see cref="MessageActionChatCreate"/>, <see cref="MessageActionChatEditTitle"/>, <see cref="MessageActionChatEditPhoto"/>, <see cref="MessageActionChatDeletePhoto"/>, <see cref="MessageActionChatAddUser"/>, <see cref="MessageActionChatDeleteUser"/>, <see cref="MessageActionChatJoinedByLink"/>, <see cref="MessageActionChannelCreate"/>, <see cref="MessageActionChatMigrateTo"/>, <see cref="MessageActionChannelMigrateFrom"/>, <see cref="MessageActionPinMessage"/>, <see cref="MessageActionHistoryClear"/>, <see cref="MessageActionGameScore"/>, <see cref="MessageActionPaymentSentMe"/>, <see cref="MessageActionPaymentSent"/>, <see cref="MessageActionPhoneCall"/>, <see cref="MessageActionScreenshotTaken"/>, <see cref="MessageActionCustomAction"/>, <see cref="MessageActionBotAllowed"/>, <see cref="MessageActionSecureValuesSentMe"/>, <see cref="MessageActionSecureValuesSent"/>, <see cref="MessageActionContactSignUp"/>, <see cref="MessageActionGeoProximityReached"/>, <see cref="MessageActionGroupCall"/>, <see cref="MessageActionInviteToGroupCall"/>, <see cref="MessageActionSetMessagesTTL"/>, <see cref="MessageActionGroupCallScheduled"/>, <see cref="MessageActionSetChatTheme"/>, <see cref="MessageActionChatJoinedByRequest"/>, <see cref="MessageActionWebViewDataSentMe"/>, <see cref="MessageActionWebViewDataSent"/>, <see cref="MessageActionGiftPremium"/>, <see cref="MessageActionTopicCreate"/>, <see cref="MessageActionTopicEdit"/>, <see cref="MessageActionSuggestProfilePhoto"/>, <see cref="MessageActionRequestedPeer"/>, <see cref="MessageActionSetChatWallPaper"/>, <see cref="MessageActionGiftCode"/>, <see cref="MessageActionGiveawayLaunch"/>, <see cref="MessageActionGiveawayResults"/>, <see cref="MessageActionBoostApply"/>, <see cref="MessageActionRequestedPeerSentMe"/>, <see cref="MessageActionPaymentRefunded"/>, <see cref="MessageActionGiftStars"/>, <see cref="MessageActionPrizeStars"/>, <see cref="MessageActionStarGift"/></para></summary>
|
/// <summary>Object describing actions connected to a service message. <para>See <a href="https://corefork.telegram.org/type/MessageAction"/></para> <para>Derived classes: <see cref="MessageActionChatCreate"/>, <see cref="MessageActionChatEditTitle"/>, <see cref="MessageActionChatEditPhoto"/>, <see cref="MessageActionChatDeletePhoto"/>, <see cref="MessageActionChatAddUser"/>, <see cref="MessageActionChatDeleteUser"/>, <see cref="MessageActionChatJoinedByLink"/>, <see cref="MessageActionChannelCreate"/>, <see cref="MessageActionChatMigrateTo"/>, <see cref="MessageActionChannelMigrateFrom"/>, <see cref="MessageActionPinMessage"/>, <see cref="MessageActionHistoryClear"/>, <see cref="MessageActionGameScore"/>, <see cref="MessageActionPaymentSentMe"/>, <see cref="MessageActionPaymentSent"/>, <see cref="MessageActionPhoneCall"/>, <see cref="MessageActionScreenshotTaken"/>, <see cref="MessageActionCustomAction"/>, <see cref="MessageActionBotAllowed"/>, <see cref="MessageActionSecureValuesSentMe"/>, <see cref="MessageActionSecureValuesSent"/>, <see cref="MessageActionContactSignUp"/>, <see cref="MessageActionGeoProximityReached"/>, <see cref="MessageActionGroupCall"/>, <see cref="MessageActionInviteToGroupCall"/>, <see cref="MessageActionSetMessagesTTL"/>, <see cref="MessageActionGroupCallScheduled"/>, <see cref="MessageActionSetChatTheme"/>, <see cref="MessageActionChatJoinedByRequest"/>, <see cref="MessageActionWebViewDataSentMe"/>, <see cref="MessageActionWebViewDataSent"/>, <see cref="MessageActionGiftPremium"/>, <see cref="MessageActionTopicCreate"/>, <see cref="MessageActionTopicEdit"/>, <see cref="MessageActionSuggestProfilePhoto"/>, <see cref="MessageActionRequestedPeer"/>, <see cref="MessageActionSetChatWallPaper"/>, <see cref="MessageActionGiftCode"/>, <see cref="MessageActionGiveawayLaunch"/>, <see cref="MessageActionGiveawayResults"/>, <see cref="MessageActionBoostApply"/>, <see cref="MessageActionRequestedPeerSentMe"/>, <see cref="MessageActionPaymentRefunded"/>, <see cref="MessageActionGiftStars"/>, <see cref="MessageActionPrizeStars"/>, <see cref="MessageActionStarGift"/></para></summary>
|
||||||
/// <remarks>a <see langword="null"/> value means <a href="https://corefork.telegram.org/constructor/messageActionEmpty">messageActionEmpty</a></remarks>
|
/// <remarks>a <see langword="null"/> value means <a href="https://corefork.telegram.org/constructor/messageActionEmpty">messageActionEmpty</a></remarks>
|
||||||
|
|
@ -2935,14 +2970,14 @@ namespace TL
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
public StarGiftBase gift;
|
public StarGiftBase gift;
|
||||||
[IfFlag(3)] public int can_export_at;
|
[IfFlag(3)] public DateTime can_export_at;
|
||||||
[IfFlag(4)] public long transfer_stars;
|
[IfFlag(4)] public long transfer_stars;
|
||||||
[IfFlag(6)] public Peer from_id;
|
[IfFlag(6)] public Peer from_id;
|
||||||
[IfFlag(7)] public Peer peer;
|
[IfFlag(7)] public Peer peer;
|
||||||
[IfFlag(7)] public long saved_id;
|
[IfFlag(7)] public long saved_id;
|
||||||
[IfFlag(8)] public long resale_stars;
|
[IfFlag(8)] public long resale_stars;
|
||||||
[IfFlag(9)] public int can_transfer_at;
|
[IfFlag(9)] public DateTime can_transfer_at;
|
||||||
[IfFlag(10)] public int can_resell_at;
|
[IfFlag(10)] public DateTime can_resell_at;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -2996,6 +3031,70 @@ namespace TL
|
||||||
video = 0x10,
|
video = 0x10,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionTodoCompletions"/></para></summary>
|
||||||
|
[TLDef(0xCC7C5C89)]
|
||||||
|
public sealed partial class MessageActionTodoCompletions : MessageAction
|
||||||
|
{
|
||||||
|
public int[] completed;
|
||||||
|
public int[] incompleted;
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionTodoAppendTasks"/></para></summary>
|
||||||
|
[TLDef(0xC7EDBC83)]
|
||||||
|
public sealed partial class MessageActionTodoAppendTasks : MessageAction
|
||||||
|
{
|
||||||
|
public TodoItem[] list;
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionSuggestedPostApproval"/></para></summary>
|
||||||
|
[TLDef(0xEE7A1596)]
|
||||||
|
public sealed partial class MessageActionSuggestedPostApproval : MessageAction
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(2)] public string reject_comment;
|
||||||
|
[IfFlag(3)] public DateTime schedule_date;
|
||||||
|
[IfFlag(4)] public StarsAmountBase price;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
rejected = 0x1,
|
||||||
|
balance_too_low = 0x2,
|
||||||
|
has_reject_comment = 0x4,
|
||||||
|
has_schedule_date = 0x8,
|
||||||
|
has_price = 0x10,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionSuggestedPostSuccess"/></para></summary>
|
||||||
|
[TLDef(0x95DDCF69)]
|
||||||
|
public sealed partial class MessageActionSuggestedPostSuccess : MessageAction
|
||||||
|
{
|
||||||
|
public StarsAmountBase price;
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionSuggestedPostRefund"/></para></summary>
|
||||||
|
[TLDef(0x69F916F8)]
|
||||||
|
public sealed partial class MessageActionSuggestedPostRefund : MessageAction
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
payer_initiated = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionGiftTon"/></para></summary>
|
||||||
|
[TLDef(0xA8A3C699)]
|
||||||
|
public sealed partial class MessageActionGiftTon : MessageAction
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public string currency;
|
||||||
|
public long amount;
|
||||||
|
public string crypto_currency;
|
||||||
|
public long crypto_amount;
|
||||||
|
[IfFlag(0)] public string transaction_id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_transaction_id = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <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
|
||||||
|
|
@ -5787,21 +5886,12 @@ namespace TL
|
||||||
/// <summary>The <a href="https://corefork.telegram.org/api/reactions">reaction</a>.</summary>
|
/// <summary>The <a href="https://corefork.telegram.org/api/reactions">reaction</a>.</summary>
|
||||||
public Reaction reaction;
|
public Reaction reaction;
|
||||||
}
|
}
|
||||||
/// <summary>A new <a href="https://corefork.telegram.org/api/revenue#revenue-statistics">channel ad revenue transaction was made, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/constructor/updateBroadcastRevenueTransactions"/></para></summary>
|
|
||||||
[TLDef(0xDFD961F5)]
|
|
||||||
public sealed partial class UpdateBroadcastRevenueTransactions : Update
|
|
||||||
{
|
|
||||||
/// <summary>Channel</summary>
|
|
||||||
public Peer peer;
|
|
||||||
/// <summary>New ad revenue balance.</summary>
|
|
||||||
public BroadcastRevenueBalances balances;
|
|
||||||
}
|
|
||||||
/// <summary>The current account's <a href="https://corefork.telegram.org/api/stars">Telegram Stars balance »</a> has changed. <para>See <a href="https://corefork.telegram.org/constructor/updateStarsBalance"/></para></summary>
|
/// <summary>The current account's <a href="https://corefork.telegram.org/api/stars">Telegram Stars balance »</a> has changed. <para>See <a href="https://corefork.telegram.org/constructor/updateStarsBalance"/></para></summary>
|
||||||
[TLDef(0x4E80A379)]
|
[TLDef(0x4E80A379)]
|
||||||
public sealed partial class UpdateStarsBalance : Update
|
public sealed partial class UpdateStarsBalance : Update
|
||||||
{
|
{
|
||||||
/// <summary>New balance.</summary>
|
/// <summary>New balance.</summary>
|
||||||
public StarsAmount balance;
|
public StarsAmountBase balance;
|
||||||
}
|
}
|
||||||
/// <summary>A callback button sent via a <a href="https://corefork.telegram.org/api/business#connected-bots">business connection</a> was pressed, and the button data was sent to the bot that created the button. <para>See <a href="https://corefork.telegram.org/constructor/updateBusinessBotCallbackQuery"/></para></summary>
|
/// <summary>A callback button sent via a <a href="https://corefork.telegram.org/api/business#connected-bots">business connection</a> was pressed, and the button data was sent to the bot that created the button. <para>See <a href="https://corefork.telegram.org/constructor/updateBusinessBotCallbackQuery"/></para></summary>
|
||||||
[TLDef(0x1EA2FDA7)]
|
[TLDef(0x1EA2FDA7)]
|
||||||
|
|
@ -5892,6 +5982,19 @@ namespace TL
|
||||||
public Peer saved_peer_id;
|
public Peer saved_peer_id;
|
||||||
public int read_max_id;
|
public int read_max_id;
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/updateMonoForumNoPaidException"/></para></summary>
|
||||||
|
[TLDef(0x9F812B08)]
|
||||||
|
public sealed partial class UpdateMonoForumNoPaidException : Update
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public long channel_id;
|
||||||
|
public Peer saved_peer_id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
exception = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Updates state. <para>See <a href="https://corefork.telegram.org/constructor/updates.state"/></para></summary>
|
/// <summary>Updates state. <para>See <a href="https://corefork.telegram.org/constructor/updates.state"/></para></summary>
|
||||||
[TLDef(0xA56C2A3E)]
|
[TLDef(0xA56C2A3E)]
|
||||||
|
|
@ -7872,6 +7975,9 @@ namespace TL
|
||||||
/// <summary>Default <a href="https://corefork.telegram.org/api/emoji-status">custom emoji status</a> stickerset for channel statuses <para>See <a href="https://corefork.telegram.org/constructor/inputStickerSetEmojiChannelDefaultStatuses"/></para></summary>
|
/// <summary>Default <a href="https://corefork.telegram.org/api/emoji-status">custom emoji status</a> stickerset for channel statuses <para>See <a href="https://corefork.telegram.org/constructor/inputStickerSetEmojiChannelDefaultStatuses"/></para></summary>
|
||||||
[TLDef(0x49748553)]
|
[TLDef(0x49748553)]
|
||||||
public sealed partial class InputStickerSetEmojiChannelDefaultStatuses : InputStickerSet { }
|
public sealed partial class InputStickerSetEmojiChannelDefaultStatuses : InputStickerSet { }
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/inputStickerSetTonGifts"/></para></summary>
|
||||||
|
[TLDef(0x1CF671A0)]
|
||||||
|
public sealed partial class InputStickerSetTonGifts : InputStickerSet { }
|
||||||
|
|
||||||
/// <summary>Represents a stickerset (stickerpack) <para>See <a href="https://corefork.telegram.org/constructor/stickerSet"/></para></summary>
|
/// <summary>Represents a stickerset (stickerpack) <para>See <a href="https://corefork.telegram.org/constructor/stickerSet"/></para></summary>
|
||||||
[TLDef(0x2DD14EDC)]
|
[TLDef(0x2DD14EDC)]
|
||||||
|
|
@ -9893,7 +9999,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>Represents a message <a href="https://corefork.telegram.org/api/drafts">draft</a>. <para>See <a href="https://corefork.telegram.org/constructor/draftMessage"/></para></summary>
|
/// <summary>Represents a message <a href="https://corefork.telegram.org/api/drafts">draft</a>. <para>See <a href="https://corefork.telegram.org/constructor/draftMessage"/></para></summary>
|
||||||
[TLDef(0x2D65321F)]
|
[TLDef(0x96EAA5EB)]
|
||||||
public sealed partial class DraftMessage : DraftMessageBase
|
public sealed partial class DraftMessage : DraftMessageBase
|
||||||
{
|
{
|
||||||
/// <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>
|
||||||
|
|
@ -9910,6 +10016,7 @@ namespace TL
|
||||||
public DateTime date;
|
public DateTime date;
|
||||||
/// <summary>A <a href="https://corefork.telegram.org/api/effects">message effect that should be played as specified here »</a>.</summary>
|
/// <summary>A <a href="https://corefork.telegram.org/api/effects">message effect that should be played as specified here »</a>.</summary>
|
||||||
[IfFlag(7)] public long effect;
|
[IfFlag(7)] public long effect;
|
||||||
|
[IfFlag(8)] public SuggestedPost suggested_post;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -9925,6 +10032,8 @@ namespace TL
|
||||||
invert_media = 0x40,
|
invert_media = 0x40,
|
||||||
/// <summary>Field <see cref="effect"/> has a value</summary>
|
/// <summary>Field <see cref="effect"/> has a value</summary>
|
||||||
has_effect = 0x80,
|
has_effect = 0x80,
|
||||||
|
/// <summary>Field <see cref="suggested_post"/> has a value</summary>
|
||||||
|
has_suggested_post = 0x100,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -13444,6 +13553,7 @@ namespace TL
|
||||||
edit_stories = 0x8000,
|
edit_stories = 0x8000,
|
||||||
/// <summary>If set, allows the admin to delete <a href="https://corefork.telegram.org/api/stories">stories</a> posted by the other admins of the <a href="https://corefork.telegram.org/api/channel">channel</a>.</summary>
|
/// <summary>If set, allows the admin to delete <a href="https://corefork.telegram.org/api/stories">stories</a> posted by the other admins of the <a href="https://corefork.telegram.org/api/channel">channel</a>.</summary>
|
||||||
delete_stories = 0x10000,
|
delete_stories = 0x10000,
|
||||||
|
manage_direct_messages = 0x20000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -15354,7 +15464,7 @@ namespace TL
|
||||||
public sealed partial class Account_ResetPasswordOk : Account_ResetPasswordResult { }
|
public sealed partial class Account_ResetPasswordOk : Account_ResetPasswordResult { }
|
||||||
|
|
||||||
/// <summary>A <a href="https://corefork.telegram.org/api/sponsored-messages">sponsored message</a>. <para>See <a href="https://corefork.telegram.org/constructor/sponsoredMessage"/></para></summary>
|
/// <summary>A <a href="https://corefork.telegram.org/api/sponsored-messages">sponsored message</a>. <para>See <a href="https://corefork.telegram.org/constructor/sponsoredMessage"/></para></summary>
|
||||||
[TLDef(0x4D93A990)]
|
[TLDef(0x7DBF8673)]
|
||||||
public sealed partial class SponsoredMessage : IObject
|
public sealed partial class SponsoredMessage : IObject
|
||||||
{
|
{
|
||||||
/// <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>
|
||||||
|
|
@ -15381,6 +15491,8 @@ namespace TL
|
||||||
[IfFlag(7)] public string sponsor_info;
|
[IfFlag(7)] public string sponsor_info;
|
||||||
/// <summary>If set, contains additional information about the sponsored message to be shown along with the message.</summary>
|
/// <summary>If set, contains additional information about the sponsored message to be shown along with the message.</summary>
|
||||||
[IfFlag(8)] public string additional_info;
|
[IfFlag(8)] public string additional_info;
|
||||||
|
[IfFlag(15)] public int min_display_duration;
|
||||||
|
[IfFlag(15)] public int max_display_duration;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -15400,18 +15512,22 @@ namespace TL
|
||||||
has_color = 0x2000,
|
has_color = 0x2000,
|
||||||
/// <summary>Field <see cref="media"/> has a value</summary>
|
/// <summary>Field <see cref="media"/> has a value</summary>
|
||||||
has_media = 0x4000,
|
has_media = 0x4000,
|
||||||
|
/// <summary>Fields <see cref="min_display_duration"/> and <see cref="max_display_duration"/> have a value</summary>
|
||||||
|
has_min_display_duration = 0x8000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>A set of sponsored messages associated to a channel <para>See <a href="https://corefork.telegram.org/constructor/messages.sponsoredMessages"/></para></summary>
|
/// <summary>A set of sponsored messages associated to a channel <para>See <a href="https://corefork.telegram.org/constructor/messages.sponsoredMessages"/></para></summary>
|
||||||
/// <remarks>a <see langword="null"/> value means <a href="https://corefork.telegram.org/constructor/messages.sponsoredMessagesEmpty">messages.sponsoredMessagesEmpty</a></remarks>
|
/// <remarks>a <see langword="null"/> value means <a href="https://corefork.telegram.org/constructor/messages.sponsoredMessagesEmpty">messages.sponsoredMessagesEmpty</a></remarks>
|
||||||
[TLDef(0xC9EE1D87)]
|
[TLDef(0xFFDA656D)]
|
||||||
public sealed partial class Messages_SponsoredMessages : IObject, IPeerResolver
|
public sealed partial class Messages_SponsoredMessages : IObject, IPeerResolver
|
||||||
{
|
{
|
||||||
/// <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>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
/// <summary>If set, specifies the minimum number of messages between shown sponsored messages; otherwise, only one sponsored message must be shown after all ordinary messages.</summary>
|
/// <summary>If set, specifies the minimum number of messages between shown sponsored messages; otherwise, only one sponsored message must be shown after all ordinary messages.</summary>
|
||||||
[IfFlag(0)] public int posts_between;
|
[IfFlag(0)] public int posts_between;
|
||||||
|
[IfFlag(1)] public int start_delay;
|
||||||
|
[IfFlag(2)] public int between_delay;
|
||||||
/// <summary>Sponsored messages</summary>
|
/// <summary>Sponsored messages</summary>
|
||||||
public SponsoredMessage[] messages;
|
public SponsoredMessage[] messages;
|
||||||
/// <summary>Chats mentioned in the sponsored messages</summary>
|
/// <summary>Chats mentioned in the sponsored messages</summary>
|
||||||
|
|
@ -15423,6 +15539,10 @@ namespace TL
|
||||||
{
|
{
|
||||||
/// <summary>Field <see cref="posts_between"/> has a value</summary>
|
/// <summary>Field <see cref="posts_between"/> has a value</summary>
|
||||||
has_posts_between = 0x1,
|
has_posts_between = 0x1,
|
||||||
|
/// <summary>Field <see cref="start_delay"/> has a value</summary>
|
||||||
|
has_start_delay = 0x2,
|
||||||
|
/// <summary>Field <see cref="between_delay"/> has a value</summary>
|
||||||
|
has_between_delay = 0x4,
|
||||||
}
|
}
|
||||||
/// <summary>returns a <see cref="User"/> or <see cref="ChatBase"/> for the given Peer</summary>
|
/// <summary>returns a <see cref="User"/> or <see cref="ChatBase"/> for the given Peer</summary>
|
||||||
public IPeerInfo UserOrChat(Peer peer) => peer?.UserOrChat(users, chats);
|
public IPeerInfo UserOrChat(Peer peer) => peer?.UserOrChat(users, chats);
|
||||||
|
|
@ -18432,6 +18552,7 @@ namespace TL
|
||||||
{
|
{
|
||||||
has_draft = 0x2,
|
has_draft = 0x2,
|
||||||
unread_mark = 0x8,
|
unread_mark = 0x8,
|
||||||
|
nopaid_messages_exception = 0x10,
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Peer Peer => peer;
|
public override Peer Peer => peer;
|
||||||
|
|
@ -19306,90 +19427,6 @@ namespace TL
|
||||||
[TLDef(0xAD798849)]
|
[TLDef(0xAD798849)]
|
||||||
public sealed partial class Channels_SponsoredMessageReportResultReported : Channels_SponsoredMessageReportResult { }
|
public sealed partial class Channels_SponsoredMessageReportResultReported : Channels_SponsoredMessageReportResult { }
|
||||||
|
|
||||||
/// <summary><a href="https://corefork.telegram.org/api/revenue">Channel revenue ad statistics, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/constructor/stats.broadcastRevenueStats"/></para></summary>
|
|
||||||
[TLDef(0x5407E297)]
|
|
||||||
public sealed partial class Stats_BroadcastRevenueStats : IObject
|
|
||||||
{
|
|
||||||
/// <summary>Ad impressions graph</summary>
|
|
||||||
public StatsGraphBase top_hours_graph;
|
|
||||||
/// <summary>Ad revenue graph (in the smallest unit of the cryptocurrency in which revenue is calculated)</summary>
|
|
||||||
public StatsGraphBase revenue_graph;
|
|
||||||
/// <summary>Current balance, current withdrawable balance and overall revenue</summary>
|
|
||||||
public BroadcastRevenueBalances balances;
|
|
||||||
/// <summary>Current conversion rate of the cryptocurrency (<strong>not</strong> in the smallest unit) in which revenue is calculated to USD</summary>
|
|
||||||
public double usd_rate;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Contains the URL to use to <a href="https://corefork.telegram.org/api/revenue#withdrawing-revenue">withdraw channel ad revenue</a>. <para>See <a href="https://corefork.telegram.org/constructor/stats.broadcastRevenueWithdrawalUrl"/></para></summary>
|
|
||||||
[TLDef(0xEC659737)]
|
|
||||||
public sealed partial class Stats_BroadcastRevenueWithdrawalUrl : IObject
|
|
||||||
{
|
|
||||||
/// <summary>A unique URL to a Fragment page where the user will be able to specify and submit the address of the TON wallet where the funds will be sent.</summary>
|
|
||||||
public string url;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>A <a href="https://corefork.telegram.org/api/revenue">channel ad revenue »</a> transaction. <para>See <a href="https://corefork.telegram.org/type/BroadcastRevenueTransaction"/></para> <para>Derived classes: <see cref="BroadcastRevenueTransactionProceeds"/>, <see cref="BroadcastRevenueTransactionWithdrawal"/>, <see cref="BroadcastRevenueTransactionRefund"/></para></summary>
|
|
||||||
public abstract partial class BroadcastRevenueTransaction : IObject { }
|
|
||||||
/// <summary>Describes earnings from sponsored messages in a channel in some time frame, see <a href="https://corefork.telegram.org/api/revenue">here »</a> for more info. <para>See <a href="https://corefork.telegram.org/constructor/broadcastRevenueTransactionProceeds"/></para></summary>
|
|
||||||
[TLDef(0x557E2CC4)]
|
|
||||||
public sealed partial class BroadcastRevenueTransactionProceeds : BroadcastRevenueTransaction
|
|
||||||
{
|
|
||||||
/// <summary>Amount in the smallest unit of the cryptocurrency.</summary>
|
|
||||||
public long amount;
|
|
||||||
/// <summary>Start unixtime for the timeframe.</summary>
|
|
||||||
public DateTime from_date;
|
|
||||||
/// <summary>End unixtime for the timeframe.</summary>
|
|
||||||
public DateTime to_date;
|
|
||||||
}
|
|
||||||
/// <summary>Describes a <a href="https://corefork.telegram.org/api/revenue#withdrawing-revenue">withdrawal of ad earnings »</a> <para>See <a href="https://corefork.telegram.org/constructor/broadcastRevenueTransactionWithdrawal"/></para></summary>
|
|
||||||
[TLDef(0x5A590978)]
|
|
||||||
public sealed partial class BroadcastRevenueTransactionWithdrawal : BroadcastRevenueTransaction
|
|
||||||
{
|
|
||||||
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
|
||||||
public Flags flags;
|
|
||||||
/// <summary>Amount withdrawn</summary>
|
|
||||||
public long amount;
|
|
||||||
/// <summary>Withdrawal date</summary>
|
|
||||||
public DateTime date;
|
|
||||||
/// <summary>Payment provider name</summary>
|
|
||||||
public string provider;
|
|
||||||
/// <summary>If neither <c>pending</c> nor <c>failed</c> are set, the transaction was completed successfully, and this field will contain the point in time (Unix timestamp) when the withdrawal was completed successfully.</summary>
|
|
||||||
[IfFlag(1)] public DateTime transaction_date;
|
|
||||||
/// <summary>If neither <c>pending</c> nor <c>failed</c> are set, the transaction was completed successfully, and this field will contain a URL where the withdrawal transaction can be viewed.</summary>
|
|
||||||
[IfFlag(1)] public string transaction_url;
|
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
|
||||||
{
|
|
||||||
/// <summary>Whether the withdrawal is currently pending</summary>
|
|
||||||
pending = 0x1,
|
|
||||||
/// <summary>Fields <see cref="transaction_date"/> and <see cref="transaction_url"/> have a value</summary>
|
|
||||||
has_transaction_date = 0x2,
|
|
||||||
/// <summary>Whether the withdrawal has failed</summary>
|
|
||||||
failed = 0x4,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/// <summary>Describes a <a href="https://corefork.telegram.org/api/revenue#withdrawing-revenue">refund for failed withdrawal of ad earnings »</a> <para>See <a href="https://corefork.telegram.org/constructor/broadcastRevenueTransactionRefund"/></para></summary>
|
|
||||||
[TLDef(0x42D30D2E)]
|
|
||||||
public sealed partial class BroadcastRevenueTransactionRefund : BroadcastRevenueTransaction
|
|
||||||
{
|
|
||||||
/// <summary>Amount refunded.</summary>
|
|
||||||
public long amount;
|
|
||||||
/// <summary>Date of refund.</summary>
|
|
||||||
public DateTime date;
|
|
||||||
/// <summary>Payment provider name.</summary>
|
|
||||||
public string provider;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary><a href="https://corefork.telegram.org/api/revenue">Channel ad revenue transactions »</a>. <para>See <a href="https://corefork.telegram.org/constructor/stats.broadcastRevenueTransactions"/></para></summary>
|
|
||||||
[TLDef(0x87158466)]
|
|
||||||
public sealed partial class Stats_BroadcastRevenueTransactions : IObject
|
|
||||||
{
|
|
||||||
/// <summary>Total number of transactions.</summary>
|
|
||||||
public int count;
|
|
||||||
/// <summary>Transactions</summary>
|
|
||||||
public BroadcastRevenueTransaction[] transactions;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Reaction notification settings <para>See <a href="https://corefork.telegram.org/type/ReactionNotificationsFrom"/></para></summary>
|
/// <summary>Reaction notification settings <para>See <a href="https://corefork.telegram.org/type/ReactionNotificationsFrom"/></para></summary>
|
||||||
public enum ReactionNotificationsFrom : uint
|
public enum ReactionNotificationsFrom : uint
|
||||||
{
|
{
|
||||||
|
|
@ -19423,26 +19460,6 @@ namespace TL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Describes <a href="https://corefork.telegram.org/api/revenue">channel ad revenue balances »</a>. <para>See <a href="https://corefork.telegram.org/constructor/broadcastRevenueBalances"/></para></summary>
|
|
||||||
[TLDef(0xC3FF71E7)]
|
|
||||||
public sealed partial class BroadcastRevenueBalances : IObject
|
|
||||||
{
|
|
||||||
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
|
||||||
public Flags flags;
|
|
||||||
/// <summary>Amount of not-yet-withdrawn cryptocurrency.</summary>
|
|
||||||
public long current_balance;
|
|
||||||
/// <summary>Amount of withdrawable cryptocurrency, out of the currently available balance (<c>available_balance <= current_balance</c>).</summary>
|
|
||||||
public long available_balance;
|
|
||||||
/// <summary>Total amount of earned cryptocurrency.</summary>
|
|
||||||
public long overall_revenue;
|
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
|
||||||
{
|
|
||||||
/// <summary>If set, the available balance can be <a href="https://corefork.telegram.org/api/revenue#withdrawing-revenue">withdrawn »</a>.</summary>
|
|
||||||
withdrawal_enabled = 0x1,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Represents a <a href="https://corefork.telegram.org/api/effects">message effect »</a>. <para>See <a href="https://corefork.telegram.org/constructor/availableEffect"/></para></summary>
|
/// <summary>Represents a <a href="https://corefork.telegram.org/api/effects">message effect »</a>. <para>See <a href="https://corefork.telegram.org/constructor/availableEffect"/></para></summary>
|
||||||
[TLDef(0x93C3E27E)]
|
[TLDef(0x93C3E27E)]
|
||||||
public sealed partial class AvailableEffect : IObject
|
public sealed partial class AvailableEffect : IObject
|
||||||
|
|
@ -19562,15 +19579,14 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Represents a <a href="https://corefork.telegram.org/api/stars">Telegram Stars transaction »</a>. <para>See <a href="https://corefork.telegram.org/constructor/starsTransaction"/></para></summary>
|
/// <summary>Represents a <a href="https://corefork.telegram.org/api/stars">Telegram Stars transaction »</a>. <para>See <a href="https://corefork.telegram.org/constructor/starsTransaction"/></para></summary>
|
||||||
[TLDef(0xA39FD94A)]
|
[TLDef(0x13659EB0)]
|
||||||
public sealed partial class StarsTransaction : IObject
|
public sealed partial class StarsTransaction : IObject
|
||||||
{
|
{
|
||||||
/// <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>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
/// <summary>Transaction ID.</summary>
|
/// <summary>Transaction ID.</summary>
|
||||||
public string id;
|
public string id;
|
||||||
/// <summary>Amount of Stars (negative for outgoing transactions).</summary>
|
public StarsAmountBase amount;
|
||||||
public StarsAmount stars;
|
|
||||||
/// <summary>Date of the transaction (unixtime).</summary>
|
/// <summary>Date of the transaction (unixtime).</summary>
|
||||||
public DateTime date;
|
public DateTime date;
|
||||||
/// <summary>Source of the incoming transaction, or its recipient for outgoing transactions.</summary>
|
/// <summary>Source of the incoming transaction, or its recipient for outgoing transactions.</summary>
|
||||||
|
|
@ -19604,9 +19620,11 @@ namespace TL
|
||||||
/// <summary>For transactions made by <a href="https://corefork.telegram.org/api/bots/referrals">referred users</a>, the peer that received the affiliate commission.</summary>
|
/// <summary>For transactions made by <a href="https://corefork.telegram.org/api/bots/referrals">referred users</a>, the peer that received the affiliate commission.</summary>
|
||||||
[IfFlag(17)] public Peer starref_peer;
|
[IfFlag(17)] public Peer starref_peer;
|
||||||
/// <summary>For transactions made by <a href="https://corefork.telegram.org/api/bots/referrals">referred users</a>, the amount of Telegram Stars received by the affiliate, can be negative for refunds.</summary>
|
/// <summary>For transactions made by <a href="https://corefork.telegram.org/api/bots/referrals">referred users</a>, the amount of Telegram Stars received by the affiliate, can be negative for refunds.</summary>
|
||||||
[IfFlag(17)] public StarsAmount starref_amount;
|
[IfFlag(17)] public StarsAmountBase starref_amount;
|
||||||
[IfFlag(19)] public int paid_messages;
|
[IfFlag(19)] public int paid_messages;
|
||||||
[IfFlag(20)] public int premium_gift_months;
|
[IfFlag(20)] public int premium_gift_months;
|
||||||
|
[IfFlag(23)] public DateTime ads_proceeds_from_date;
|
||||||
|
[IfFlag(23)] public DateTime ads_proceeds_to_date;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -19653,6 +19671,8 @@ namespace TL
|
||||||
has_premium_gift_months = 0x100000,
|
has_premium_gift_months = 0x100000,
|
||||||
business_transfer = 0x200000,
|
business_transfer = 0x200000,
|
||||||
stargift_resale = 0x400000,
|
stargift_resale = 0x400000,
|
||||||
|
/// <summary>Fields <see cref="ads_proceeds_from_date"/> and <see cref="ads_proceeds_to_date"/> have a value</summary>
|
||||||
|
has_ads_proceeds_from_date = 0x800000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -19663,7 +19683,7 @@ namespace TL
|
||||||
/// <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>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
/// <summary>Current Telegram Star balance.</summary>
|
/// <summary>Current Telegram Star balance.</summary>
|
||||||
public StarsAmount balance;
|
public StarsAmountBase balance;
|
||||||
/// <summary>Info about current Telegram Star subscriptions, only returned when invoking <see cref="SchemaExtensions.Payments_GetStarsTransactions">Payments_GetStarsTransactions</see> and <see cref="SchemaExtensions.Payments_GetStarsSubscriptions">Payments_GetStarsSubscriptions</see>.</summary>
|
/// <summary>Info about current Telegram Star subscriptions, only returned when invoking <see cref="SchemaExtensions.Payments_GetStarsTransactions">Payments_GetStarsTransactions</see> and <see cref="SchemaExtensions.Payments_GetStarsSubscriptions">Payments_GetStarsSubscriptions</see>.</summary>
|
||||||
[IfFlag(1)] public StarsSubscription[] subscriptions;
|
[IfFlag(1)] public StarsSubscription[] subscriptions;
|
||||||
/// <summary>Offset for pagination of subscriptions: only usable and returned when invoking <see cref="SchemaExtensions.Payments_GetStarsSubscriptions">Payments_GetStarsSubscriptions</see>.</summary>
|
/// <summary>Offset for pagination of subscriptions: only usable and returned when invoking <see cref="SchemaExtensions.Payments_GetStarsSubscriptions">Payments_GetStarsSubscriptions</see>.</summary>
|
||||||
|
|
@ -19765,13 +19785,13 @@ namespace TL
|
||||||
/// <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>
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
/// <summary>Amount of not-yet-withdrawn Telegram Stars.</summary>
|
/// <summary>Amount of not-yet-withdrawn Telegram Stars.</summary>
|
||||||
public StarsAmount current_balance;
|
public StarsAmountBase current_balance;
|
||||||
/// <summary>Amount of withdrawable Telegram Stars.</summary>
|
/// <summary>Amount of withdrawable Telegram Stars.</summary>
|
||||||
public StarsAmount available_balance;
|
public StarsAmountBase available_balance;
|
||||||
/// <summary>Total amount of earned Telegram Stars.</summary>
|
/// <summary>Total amount of earned Telegram Stars.</summary>
|
||||||
public StarsAmount overall_revenue;
|
public StarsAmountBase overall_revenue;
|
||||||
/// <summary>Unixtime indicating when will withdrawal be available to the user. If not set, withdrawal can be started now.</summary>
|
/// <summary>Unixtime indicating when will withdrawal be available to the user. If not set, withdrawal can be started now.</summary>
|
||||||
[IfFlag(1)] public int next_withdrawal_at;
|
[IfFlag(1)] public DateTime next_withdrawal_at;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -19783,15 +19803,23 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary><a href="https://corefork.telegram.org/api/stars">Star revenue statistics, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/constructor/payments.starsRevenueStats"/></para></summary>
|
/// <summary><a href="https://corefork.telegram.org/api/stars">Star revenue statistics, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/constructor/payments.starsRevenueStats"/></para></summary>
|
||||||
[TLDef(0xC92BB73B)]
|
[TLDef(0x6C207376)]
|
||||||
public sealed partial class Payments_StarsRevenueStats : IObject
|
public sealed partial class Payments_StarsRevenueStats : IObject
|
||||||
{
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(0)] public StatsGraphBase top_hours_graph;
|
||||||
/// <summary>Star revenue graph (number of earned stars)</summary>
|
/// <summary>Star revenue graph (number of earned stars)</summary>
|
||||||
public StatsGraphBase revenue_graph;
|
public StatsGraphBase revenue_graph;
|
||||||
/// <summary>Current balance, current withdrawable balance and overall earned Telegram Stars</summary>
|
/// <summary>Current balance, current withdrawable balance and overall earned Telegram Stars</summary>
|
||||||
public StarsRevenueStatus status;
|
public StarsRevenueStatus status;
|
||||||
/// <summary>Current conversion rate of Telegram Stars to USD</summary>
|
/// <summary>Current conversion rate of Telegram Stars to USD</summary>
|
||||||
public double usd_rate;
|
public double usd_rate;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
/// <summary>Field <see cref="top_hours_graph"/> has a value</summary>
|
||||||
|
has_top_hours_graph = 0x1,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Contains the URL to use to <a href="https://corefork.telegram.org/api/stars#withdrawing-stars">withdraw Telegram Star revenue</a>. <para>See <a href="https://corefork.telegram.org/constructor/payments.starsRevenueWithdrawalUrl"/></para></summary>
|
/// <summary>Contains the URL to use to <a href="https://corefork.telegram.org/api/stars#withdrawing-stars">withdraw Telegram Star revenue</a>. <para>See <a href="https://corefork.telegram.org/constructor/payments.starsRevenueWithdrawalUrl"/></para></summary>
|
||||||
|
|
@ -20228,7 +20256,7 @@ namespace TL
|
||||||
/// <summary>Point in time (Unix timestamp) when the affiliate program will be closed (optional, if not set the affiliate program isn't scheduled to be closed)</summary>
|
/// <summary>Point in time (Unix timestamp) when the affiliate program will be closed (optional, if not set the affiliate program isn't scheduled to be closed)</summary>
|
||||||
[IfFlag(1)] public DateTime end_date;
|
[IfFlag(1)] public DateTime end_date;
|
||||||
/// <summary>The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program. <br/>To obtain the approximated revenue per referred user, multiply this value by <c>commission_permille</c> and divide by <c>1000</c>.</summary>
|
/// <summary>The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program. <br/>To obtain the approximated revenue per referred user, multiply this value by <c>commission_permille</c> and divide by <c>1000</c>.</summary>
|
||||||
[IfFlag(2)] public StarsAmount daily_revenue_per_user;
|
[IfFlag(2)] public StarsAmountBase daily_revenue_per_user;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -20305,14 +20333,31 @@ namespace TL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>Describes a real (i.e. possibly decimal) amount of <a href="https://corefork.telegram.org/api/stars">Telegram Stars</a>. <para>See <a href="https://corefork.telegram.org/type/StarsAmount"/></para> <para>Derived classes: <see cref="StarsAmount"/></para></summary>
|
||||||
|
public abstract partial class StarsAmountBase : IObject
|
||||||
|
{
|
||||||
|
/// <summary>The integer amount of Telegram Stars.</summary>
|
||||||
|
public virtual long Amount => default;
|
||||||
|
}
|
||||||
/// <summary>Describes a real (i.e. possibly decimal) amount of <a href="https://corefork.telegram.org/api/stars">Telegram Stars</a>. <para>See <a href="https://corefork.telegram.org/constructor/starsAmount"/></para></summary>
|
/// <summary>Describes a real (i.e. possibly decimal) amount of <a href="https://corefork.telegram.org/api/stars">Telegram Stars</a>. <para>See <a href="https://corefork.telegram.org/constructor/starsAmount"/></para></summary>
|
||||||
[TLDef(0xBBB6B4A3)]
|
[TLDef(0xBBB6B4A3)]
|
||||||
public sealed partial class StarsAmount : IObject
|
public sealed partial class StarsAmount : StarsAmountBase
|
||||||
{
|
{
|
||||||
/// <summary>The integer amount of Telegram Stars.</summary>
|
/// <summary>The integer amount of Telegram Stars.</summary>
|
||||||
public long amount;
|
public long amount;
|
||||||
/// <summary>The decimal amount of Telegram Stars, expressed as nanostars (i.e. 1 nanostar is equal to <c>1/1'000'000'000</c>th of a Telegram Star). <br/>This field may also be negative (the allowed range is -999999999 to 999999999).</summary>
|
/// <summary>The decimal amount of Telegram Stars, expressed as nanostars (i.e. 1 nanostar is equal to <c>1/1'000'000'000</c>th of a Telegram Star). <br/>This field may also be negative (the allowed range is -999999999 to 999999999).</summary>
|
||||||
public int nanos;
|
public int nanos;
|
||||||
|
|
||||||
|
/// <summary>The integer amount of Telegram Stars.</summary>
|
||||||
|
public override long Amount => amount;
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/starsTonAmount"/></para></summary>
|
||||||
|
[TLDef(0x74AEE3E0)]
|
||||||
|
public sealed partial class StarsTonAmount : StarsAmountBase
|
||||||
|
{
|
||||||
|
public long amount;
|
||||||
|
|
||||||
|
public override long Amount => amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Found <a href="https://corefork.telegram.org/api/stickers">stickers</a> <para>See <a href="https://corefork.telegram.org/type/messages.FoundStickers"/></para> <para>Derived classes: <see cref="Messages_FoundStickersNotModified"/>, <see cref="Messages_FoundStickers"/></para></summary>
|
/// <summary>Found <a href="https://corefork.telegram.org/api/stickers">stickers</a> <para>See <a href="https://corefork.telegram.org/type/messages.FoundStickers"/></para> <para>Derived classes: <see cref="Messages_FoundStickersNotModified"/>, <see cref="Messages_FoundStickers"/></para></summary>
|
||||||
|
|
@ -20473,10 +20518,10 @@ namespace TL
|
||||||
[IfFlag(11)] public long saved_id;
|
[IfFlag(11)] public long saved_id;
|
||||||
[IfFlag(4)] public long convert_stars;
|
[IfFlag(4)] public long convert_stars;
|
||||||
[IfFlag(6)] public long upgrade_stars;
|
[IfFlag(6)] public long upgrade_stars;
|
||||||
[IfFlag(7)] public int can_export_at;
|
[IfFlag(7)] public DateTime can_export_at;
|
||||||
[IfFlag(8)] public long transfer_stars;
|
[IfFlag(8)] public long transfer_stars;
|
||||||
[IfFlag(13)] public int can_transfer_at;
|
[IfFlag(13)] public DateTime can_transfer_at;
|
||||||
[IfFlag(14)] public int can_resell_at;
|
[IfFlag(14)] public DateTime can_resell_at;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -20719,4 +20764,53 @@ namespace TL
|
||||||
public TextWithEntities description;
|
public TextWithEntities description;
|
||||||
public string url;
|
public string url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/todoItem"/></para></summary>
|
||||||
|
[TLDef(0xCBA9A52F)]
|
||||||
|
public sealed partial class TodoItem : IObject
|
||||||
|
{
|
||||||
|
public int id;
|
||||||
|
public TextWithEntities title;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/todoList"/></para></summary>
|
||||||
|
[TLDef(0x49B92A26)]
|
||||||
|
public sealed partial class TodoList : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public TextWithEntities title;
|
||||||
|
public TodoItem[] list;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
others_can_append = 0x1,
|
||||||
|
others_can_complete = 0x2,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/todoCompletion"/></para></summary>
|
||||||
|
[TLDef(0x4CC120B7)]
|
||||||
|
public sealed partial class TodoCompletion : IObject
|
||||||
|
{
|
||||||
|
public int id;
|
||||||
|
public long completed_by;
|
||||||
|
public DateTime date;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/suggestedPost"/></para></summary>
|
||||||
|
[TLDef(0x0E8E37E5)]
|
||||||
|
public sealed partial class SuggestedPost : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(3)] public StarsAmountBase price;
|
||||||
|
[IfFlag(0)] public DateTime schedule_date;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_schedule_date = 0x1,
|
||||||
|
accepted = 0x2,
|
||||||
|
rejected = 0x4,
|
||||||
|
has_price = 0x8,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1433,18 +1433,21 @@ namespace TL
|
||||||
hash = hash,
|
hash = hash,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary><para>See <a href="https://corefork.telegram.org/method/account.addNoPaidMessagesException"/></para></summary>
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/account.getPaidMessagesRevenue"/></para></summary>
|
||||||
public static Task<bool> Account_AddNoPaidMessagesException(this Client client, InputUserBase user_id, bool refund_charged = false)
|
public static Task<Account_PaidMessagesRevenue> Account_GetPaidMessagesRevenue(this Client client, InputUserBase user_id, InputPeer parent_peer = null)
|
||||||
=> client.Invoke(new Account_AddNoPaidMessagesException
|
=> client.Invoke(new Account_GetPaidMessagesRevenue
|
||||||
{
|
{
|
||||||
flags = (Account_AddNoPaidMessagesException.Flags)(refund_charged ? 0x1 : 0),
|
flags = (Account_GetPaidMessagesRevenue.Flags)(parent_peer != null ? 0x1 : 0),
|
||||||
|
parent_peer = parent_peer,
|
||||||
user_id = user_id,
|
user_id = user_id,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary><para>See <a href="https://corefork.telegram.org/method/account.getPaidMessagesRevenue"/></para></summary>
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/account.toggleNoPaidMessagesException"/></para></summary>
|
||||||
public static Task<Account_PaidMessagesRevenue> Account_GetPaidMessagesRevenue(this Client client, InputUserBase user_id)
|
public static Task<bool> Account_ToggleNoPaidMessagesException(this Client client, InputUserBase user_id, InputPeer parent_peer = null, bool refund_charged = false, bool require_payment = false)
|
||||||
=> client.Invoke(new Account_GetPaidMessagesRevenue
|
=> client.Invoke(new Account_ToggleNoPaidMessagesException
|
||||||
{
|
{
|
||||||
|
flags = (Account_ToggleNoPaidMessagesException.Flags)((parent_peer != null ? 0x2 : 0) | (refund_charged ? 0x1 : 0) | (require_payment ? 0x4 : 0)),
|
||||||
|
parent_peer = parent_peer,
|
||||||
user_id = user_id,
|
user_id = user_id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1902,10 +1905,10 @@ namespace TL
|
||||||
/// <param name="send_as">Send this message as the specified peer</param>
|
/// <param name="send_as">Send this message as the specified peer</param>
|
||||||
/// <param name="quick_reply_shortcut">Add the message to the specified <a href="https://corefork.telegram.org/api/business#quick-reply-shortcuts">quick reply shortcut »</a>, instead.</param>
|
/// <param name="quick_reply_shortcut">Add the message to the specified <a href="https://corefork.telegram.org/api/business#quick-reply-shortcuts">quick reply shortcut »</a>, instead.</param>
|
||||||
/// <param name="effect">Specifies a <a href="https://corefork.telegram.org/api/effects">message effect »</a> to use for the message.</param>
|
/// <param name="effect">Specifies a <a href="https://corefork.telegram.org/api/effects">message effect »</a> to use for the message.</param>
|
||||||
public static Task<UpdatesBase> Messages_SendMessage(this Client client, InputPeer peer, string message, long random_id, InputReplyTo reply_to = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, long? effect = null, long? allow_paid_stars = null, bool no_webpage = false, bool silent = false, bool background = false, bool clear_draft = false, bool noforwards = false, bool update_stickersets_order = false, bool invert_media = false, bool allow_paid_floodskip = false)
|
public static Task<UpdatesBase> Messages_SendMessage(this Client client, InputPeer peer, string message, long random_id, InputReplyTo reply_to = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, long? effect = null, long? allow_paid_stars = null, SuggestedPost suggested_post = null, bool no_webpage = false, bool silent = false, bool background = false, bool clear_draft = false, bool noforwards = false, bool update_stickersets_order = false, bool invert_media = false, bool allow_paid_floodskip = false)
|
||||||
=> client.Invoke(new Messages_SendMessage
|
=> client.Invoke(new Messages_SendMessage
|
||||||
{
|
{
|
||||||
flags = (Messages_SendMessage.Flags)((reply_to != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (effect != null ? 0x40000 : 0) | (allow_paid_stars != null ? 0x200000 : 0) | (no_webpage ? 0x2 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (noforwards ? 0x4000 : 0) | (update_stickersets_order ? 0x8000 : 0) | (invert_media ? 0x10000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
|
flags = (Messages_SendMessage.Flags)((reply_to != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (effect != null ? 0x40000 : 0) | (allow_paid_stars != null ? 0x200000 : 0) | (suggested_post != null ? 0x400000 : 0) | (no_webpage ? 0x2 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (noforwards ? 0x4000 : 0) | (update_stickersets_order ? 0x8000 : 0) | (invert_media ? 0x10000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
reply_to = reply_to,
|
reply_to = reply_to,
|
||||||
message = message,
|
message = message,
|
||||||
|
|
@ -1917,6 +1920,7 @@ namespace TL
|
||||||
quick_reply_shortcut = quick_reply_shortcut,
|
quick_reply_shortcut = quick_reply_shortcut,
|
||||||
effect = effect ?? default,
|
effect = effect ?? default,
|
||||||
allow_paid_stars = allow_paid_stars ?? default,
|
allow_paid_stars = allow_paid_stars ?? default,
|
||||||
|
suggested_post = suggested_post,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Send a media <para>See <a href="https://corefork.telegram.org/method/messages.sendMedia"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,406,420,500 (<a href="https://corefork.telegram.org/method/messages.sendMedia#possible-errors">details</a>)</para></summary>
|
/// <summary>Send a media <para>See <a href="https://corefork.telegram.org/method/messages.sendMedia"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,406,420,500 (<a href="https://corefork.telegram.org/method/messages.sendMedia#possible-errors">details</a>)</para></summary>
|
||||||
|
|
@ -1938,10 +1942,10 @@ namespace TL
|
||||||
/// <param name="send_as">Send this message as the specified peer</param>
|
/// <param name="send_as">Send this message as the specified peer</param>
|
||||||
/// <param name="quick_reply_shortcut">Add the message to the specified <a href="https://corefork.telegram.org/api/business#quick-reply-shortcuts">quick reply shortcut »</a>, instead.</param>
|
/// <param name="quick_reply_shortcut">Add the message to the specified <a href="https://corefork.telegram.org/api/business#quick-reply-shortcuts">quick reply shortcut »</a>, instead.</param>
|
||||||
/// <param name="effect">Specifies a <a href="https://corefork.telegram.org/api/effects">message effect »</a> to use for the message.</param>
|
/// <param name="effect">Specifies a <a href="https://corefork.telegram.org/api/effects">message effect »</a> to use for the message.</param>
|
||||||
public static Task<UpdatesBase> Messages_SendMedia(this Client client, InputPeer peer, InputMedia media, string message, long random_id, InputReplyTo reply_to = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, long? effect = null, long? allow_paid_stars = null, bool silent = false, bool background = false, bool clear_draft = false, bool noforwards = false, bool update_stickersets_order = false, bool invert_media = false, bool allow_paid_floodskip = false)
|
public static Task<UpdatesBase> Messages_SendMedia(this Client client, InputPeer peer, InputMedia media, string message, long random_id, InputReplyTo reply_to = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, long? effect = null, long? allow_paid_stars = null, SuggestedPost suggested_post = null, bool silent = false, bool background = false, bool clear_draft = false, bool noforwards = false, bool update_stickersets_order = false, bool invert_media = false, bool allow_paid_floodskip = false)
|
||||||
=> client.Invoke(new Messages_SendMedia
|
=> client.Invoke(new Messages_SendMedia
|
||||||
{
|
{
|
||||||
flags = (Messages_SendMedia.Flags)((reply_to != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (effect != null ? 0x40000 : 0) | (allow_paid_stars != null ? 0x200000 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (noforwards ? 0x4000 : 0) | (update_stickersets_order ? 0x8000 : 0) | (invert_media ? 0x10000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
|
flags = (Messages_SendMedia.Flags)((reply_to != null ? 0x1 : 0) | (reply_markup != null ? 0x4 : 0) | (entities != null ? 0x8 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (effect != null ? 0x40000 : 0) | (allow_paid_stars != null ? 0x200000 : 0) | (suggested_post != null ? 0x400000 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (clear_draft ? 0x80 : 0) | (noforwards ? 0x4000 : 0) | (update_stickersets_order ? 0x8000 : 0) | (invert_media ? 0x10000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
reply_to = reply_to,
|
reply_to = reply_to,
|
||||||
media = media,
|
media = media,
|
||||||
|
|
@ -1954,6 +1958,7 @@ namespace TL
|
||||||
quick_reply_shortcut = quick_reply_shortcut,
|
quick_reply_shortcut = quick_reply_shortcut,
|
||||||
effect = effect ?? default,
|
effect = effect ?? default,
|
||||||
allow_paid_stars = allow_paid_stars ?? default,
|
allow_paid_stars = allow_paid_stars ?? default,
|
||||||
|
suggested_post = suggested_post,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Forwards messages by their IDs. <para>See <a href="https://corefork.telegram.org/method/messages.forwardMessages"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,406,420,500 (<a href="https://corefork.telegram.org/method/messages.forwardMessages#possible-errors">details</a>)</para></summary>
|
/// <summary>Forwards messages by their IDs. <para>See <a href="https://corefork.telegram.org/method/messages.forwardMessages"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400,403,406,420,500 (<a href="https://corefork.telegram.org/method/messages.forwardMessages#possible-errors">details</a>)</para></summary>
|
||||||
|
|
@ -1972,10 +1977,10 @@ namespace TL
|
||||||
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
/// <param name="schedule_date">Scheduled message date for scheduled messages</param>
|
||||||
/// <param name="send_as">Forward the messages as the specified peer</param>
|
/// <param name="send_as">Forward the messages as the specified peer</param>
|
||||||
/// <param name="quick_reply_shortcut">Add the messages to the specified <a href="https://corefork.telegram.org/api/business#quick-reply-shortcuts">quick reply shortcut »</a>, instead.</param>
|
/// <param name="quick_reply_shortcut">Add the messages to the specified <a href="https://corefork.telegram.org/api/business#quick-reply-shortcuts">quick reply shortcut »</a>, instead.</param>
|
||||||
public static Task<UpdatesBase> Messages_ForwardMessages(this Client client, InputPeer from_peer, int[] id, long[] random_id, InputPeer to_peer, int? top_msg_id = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, int? video_timestamp = null, long? allow_paid_stars = null, InputReplyTo reply_to = null, bool silent = false, bool background = false, bool with_my_score = false, bool drop_author = false, bool drop_media_captions = false, bool noforwards = false, bool allow_paid_floodskip = false)
|
public static Task<UpdatesBase> Messages_ForwardMessages(this Client client, InputPeer from_peer, int[] id, long[] random_id, InputPeer to_peer, int? top_msg_id = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, int? video_timestamp = null, long? allow_paid_stars = null, InputReplyTo reply_to = null, SuggestedPost suggested_post = null, bool silent = false, bool background = false, bool with_my_score = false, bool drop_author = false, bool drop_media_captions = false, bool noforwards = false, bool allow_paid_floodskip = false)
|
||||||
=> client.Invoke(new Messages_ForwardMessages
|
=> client.Invoke(new Messages_ForwardMessages
|
||||||
{
|
{
|
||||||
flags = (Messages_ForwardMessages.Flags)((top_msg_id != null ? 0x200 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (video_timestamp != null ? 0x100000 : 0) | (allow_paid_stars != null ? 0x200000 : 0) | (reply_to != null ? 0x400000 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (with_my_score ? 0x100 : 0) | (drop_author ? 0x800 : 0) | (drop_media_captions ? 0x1000 : 0) | (noforwards ? 0x4000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
|
flags = (Messages_ForwardMessages.Flags)((top_msg_id != null ? 0x200 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (video_timestamp != null ? 0x100000 : 0) | (allow_paid_stars != null ? 0x200000 : 0) | (reply_to != null ? 0x400000 : 0) | (suggested_post != null ? 0x800000 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (with_my_score ? 0x100 : 0) | (drop_author ? 0x800 : 0) | (drop_media_captions ? 0x1000 : 0) | (noforwards ? 0x4000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
|
||||||
from_peer = from_peer,
|
from_peer = from_peer,
|
||||||
id = id,
|
id = id,
|
||||||
random_id = random_id,
|
random_id = random_id,
|
||||||
|
|
@ -1987,6 +1992,7 @@ namespace TL
|
||||||
quick_reply_shortcut = quick_reply_shortcut,
|
quick_reply_shortcut = quick_reply_shortcut,
|
||||||
video_timestamp = video_timestamp ?? default,
|
video_timestamp = video_timestamp ?? default,
|
||||||
allow_paid_stars = allow_paid_stars ?? default,
|
allow_paid_stars = allow_paid_stars ?? default,
|
||||||
|
suggested_post = suggested_post,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Report a new incoming chat for spam, if the <see cref="PeerSettings"/> of the chat allow us to do that <para>See <a href="https://corefork.telegram.org/method/messages.reportSpam"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.reportSpam#possible-errors">details</a>)</para></summary>
|
/// <summary>Report a new incoming chat for spam, if the <see cref="PeerSettings"/> of the chat allow us to do that <para>See <a href="https://corefork.telegram.org/method/messages.reportSpam"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.reportSpam#possible-errors">details</a>)</para></summary>
|
||||||
|
|
@ -2602,16 +2608,17 @@ namespace TL
|
||||||
/// <param name="entities">Message <a href="https://corefork.telegram.org/api/entities">entities</a> for styled text</param>
|
/// <param name="entities">Message <a href="https://corefork.telegram.org/api/entities">entities</a> for styled text</param>
|
||||||
/// <param name="media">Attached media</param>
|
/// <param name="media">Attached media</param>
|
||||||
/// <param name="effect">Specifies a <a href="https://corefork.telegram.org/api/effects">message effect »</a> to use for the message.</param>
|
/// <param name="effect">Specifies a <a href="https://corefork.telegram.org/api/effects">message effect »</a> to use for the message.</param>
|
||||||
public static Task<bool> Messages_SaveDraft(this Client client, InputPeer peer, string message, MessageEntity[] entities = null, InputReplyTo reply_to = null, InputMedia media = null, long? effect = null, bool no_webpage = false, bool invert_media = false)
|
public static Task<bool> Messages_SaveDraft(this Client client, InputPeer peer, string message, MessageEntity[] entities = null, InputReplyTo reply_to = null, InputMedia media = null, long? effect = null, SuggestedPost suggested_post = null, bool no_webpage = false, bool invert_media = false)
|
||||||
=> client.Invoke(new Messages_SaveDraft
|
=> client.Invoke(new Messages_SaveDraft
|
||||||
{
|
{
|
||||||
flags = (Messages_SaveDraft.Flags)((entities != null ? 0x8 : 0) | (reply_to != null ? 0x10 : 0) | (media != null ? 0x20 : 0) | (effect != null ? 0x80 : 0) | (no_webpage ? 0x2 : 0) | (invert_media ? 0x40 : 0)),
|
flags = (Messages_SaveDraft.Flags)((entities != null ? 0x8 : 0) | (reply_to != null ? 0x10 : 0) | (media != null ? 0x20 : 0) | (effect != null ? 0x80 : 0) | (suggested_post != null ? 0x100 : 0) | (no_webpage ? 0x2 : 0) | (invert_media ? 0x40 : 0)),
|
||||||
reply_to = reply_to,
|
reply_to = reply_to,
|
||||||
peer = peer,
|
peer = peer,
|
||||||
message = message,
|
message = message,
|
||||||
entities = entities,
|
entities = entities,
|
||||||
media = media,
|
media = media,
|
||||||
effect = effect ?? default,
|
effect = effect ?? default,
|
||||||
|
suggested_post = suggested_post,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Return all message <a href="https://corefork.telegram.org/api/drafts">drafts</a>.<br/>Returns all the latest <see cref="UpdateDraftMessage"/> updates related to all chats with drafts. <para>See <a href="https://corefork.telegram.org/method/messages.getAllDrafts"/></para></summary>
|
/// <summary>Return all message <a href="https://corefork.telegram.org/api/drafts">drafts</a>.<br/>Returns all the latest <see cref="UpdateDraftMessage"/> updates related to all chats with drafts. <para>See <a href="https://corefork.telegram.org/method/messages.getAllDrafts"/></para></summary>
|
||||||
|
|
@ -4449,10 +4456,12 @@ namespace TL
|
||||||
/// <summary>Get a list of <a href="https://corefork.telegram.org/api/sponsored-messages">sponsored messages for a peer, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/method/messages.getSponsoredMessages"/></para></summary>
|
/// <summary>Get a list of <a href="https://corefork.telegram.org/api/sponsored-messages">sponsored messages for a peer, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/method/messages.getSponsoredMessages"/></para></summary>
|
||||||
/// <param name="peer">The currently open channel/bot.</param>
|
/// <param name="peer">The currently open channel/bot.</param>
|
||||||
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.sponsoredMessagesEmpty">messages.sponsoredMessagesEmpty</a></returns>
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/messages.sponsoredMessagesEmpty">messages.sponsoredMessagesEmpty</a></returns>
|
||||||
public static Task<Messages_SponsoredMessages> Messages_GetSponsoredMessages(this Client client, InputPeer peer)
|
public static Task<Messages_SponsoredMessages> Messages_GetSponsoredMessages(this Client client, InputPeer peer, int? msg_id = null)
|
||||||
=> client.Invoke(new Messages_GetSponsoredMessages
|
=> client.Invoke(new Messages_GetSponsoredMessages
|
||||||
{
|
{
|
||||||
|
flags = (Messages_GetSponsoredMessages.Flags)(msg_id != null ? 0x1 : 0),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
|
msg_id = msg_id ?? default,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Save a <a href="https://corefork.telegram.org/api/bots/inline#21-using-a-prepared-inline-message">prepared inline message</a>, to be shared by the user of the mini app using a <a href="https://corefork.telegram.org/api/web-events#web-app-send-prepared-message">web_app_send_prepared_message event</a> <para>See <a href="https://corefork.telegram.org/method/messages.savePreparedInlineMessage"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.savePreparedInlineMessage#possible-errors">details</a>)</para></summary>
|
/// <summary>Save a <a href="https://corefork.telegram.org/api/bots/inline#21-using-a-prepared-inline-message">prepared inline message</a>, to be shared by the user of the mini app using a <a href="https://corefork.telegram.org/api/web-events#web-app-send-prepared-message">web_app_send_prepared_message event</a> <para>See <a href="https://corefork.telegram.org/method/messages.savePreparedInlineMessage"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.savePreparedInlineMessage#possible-errors">details</a>)</para></summary>
|
||||||
|
|
@ -4525,6 +4534,36 @@ namespace TL
|
||||||
max_id = max_id,
|
max_id = max_id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/messages.toggleTodoCompleted"/></para></summary>
|
||||||
|
public static Task<UpdatesBase> Messages_ToggleTodoCompleted(this Client client, InputPeer peer, int msg_id, int[] completed, params int[] incompleted)
|
||||||
|
=> client.Invoke(new Messages_ToggleTodoCompleted
|
||||||
|
{
|
||||||
|
peer = peer,
|
||||||
|
msg_id = msg_id,
|
||||||
|
completed = completed,
|
||||||
|
incompleted = incompleted,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/messages.appendTodoList"/></para></summary>
|
||||||
|
public static Task<UpdatesBase> Messages_AppendTodoList(this Client client, InputPeer peer, int msg_id, params TodoItem[] list)
|
||||||
|
=> client.Invoke(new Messages_AppendTodoList
|
||||||
|
{
|
||||||
|
peer = peer,
|
||||||
|
msg_id = msg_id,
|
||||||
|
list = list,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/messages.toggleSuggestedPostApproval"/></para></summary>
|
||||||
|
public static Task<UpdatesBase> Messages_ToggleSuggestedPostApproval(this Client client, InputPeer peer, int msg_id, DateTime? schedule_date = null, string reject_comment = null, bool reject = false)
|
||||||
|
=> client.Invoke(new Messages_ToggleSuggestedPostApproval
|
||||||
|
{
|
||||||
|
flags = (Messages_ToggleSuggestedPostApproval.Flags)((schedule_date != null ? 0x1 : 0) | (reject_comment != null ? 0x4 : 0) | (reject ? 0x2 : 0)),
|
||||||
|
peer = peer,
|
||||||
|
msg_id = msg_id,
|
||||||
|
schedule_date = schedule_date ?? default,
|
||||||
|
reject_comment = reject_comment,
|
||||||
|
});
|
||||||
|
|
||||||
/// <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
|
||||||
|
|
@ -6103,9 +6142,10 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Get the current <a href="https://corefork.telegram.org/api/stars">Telegram Stars balance</a> of the current account (with peer=<see cref="InputPeerSelf"/>), or the stars balance of the bot specified in <c>peer</c>. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsStatus"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsStatus#possible-errors">details</a>)</para></summary>
|
/// <summary>Get the current <a href="https://corefork.telegram.org/api/stars">Telegram Stars balance</a> of the current account (with peer=<see cref="InputPeerSelf"/>), or the stars balance of the bot specified in <c>peer</c>. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsStatus"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsStatus#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">Peer of which to get the balance.</param>
|
/// <param name="peer">Peer of which to get the balance.</param>
|
||||||
public static Task<Payments_StarsStatus> Payments_GetStarsStatus(this Client client, InputPeer peer)
|
public static Task<Payments_StarsStatus> Payments_GetStarsStatus(this Client client, InputPeer peer, bool ton = false)
|
||||||
=> client.Invoke(new Payments_GetStarsStatus
|
=> client.Invoke(new Payments_GetStarsStatus
|
||||||
{
|
{
|
||||||
|
flags = (Payments_GetStarsStatus.Flags)(ton ? 0x1 : 0),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -6117,10 +6157,10 @@ namespace TL
|
||||||
/// <param name="peer">Fetch the transaction history of the peer (<see cref="InputPeerSelf"/> or a bot we own).</param>
|
/// <param name="peer">Fetch the transaction history of the peer (<see cref="InputPeerSelf"/> or a bot we own).</param>
|
||||||
/// <param name="offset"><a href="https://corefork.telegram.org/api/offsets">Offset for pagination, obtained from the returned <c>next_offset</c>, initially an empty string »</a>.</param>
|
/// <param name="offset"><a href="https://corefork.telegram.org/api/offsets">Offset for pagination, obtained from the returned <c>next_offset</c>, initially an empty string »</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="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
||||||
public static Task<Payments_StarsStatus> Payments_GetStarsTransactions(this Client client, InputPeer peer, string offset, int limit = int.MaxValue, string subscription_id = null, bool inbound = false, bool outbound = false, bool ascending = false)
|
public static Task<Payments_StarsStatus> Payments_GetStarsTransactions(this Client client, InputPeer peer, string offset, int limit = int.MaxValue, string subscription_id = null, bool inbound = false, bool outbound = false, bool ascending = false, bool ton = false)
|
||||||
=> client.Invoke(new Payments_GetStarsTransactions
|
=> client.Invoke(new Payments_GetStarsTransactions
|
||||||
{
|
{
|
||||||
flags = (Payments_GetStarsTransactions.Flags)((subscription_id != null ? 0x8 : 0) | (inbound ? 0x1 : 0) | (outbound ? 0x2 : 0) | (ascending ? 0x4 : 0)),
|
flags = (Payments_GetStarsTransactions.Flags)((subscription_id != null ? 0x8 : 0) | (inbound ? 0x1 : 0) | (outbound ? 0x2 : 0) | (ascending ? 0x4 : 0) | (ton ? 0x10 : 0)),
|
||||||
subscription_id = subscription_id,
|
subscription_id = subscription_id,
|
||||||
peer = peer,
|
peer = peer,
|
||||||
offset = offset,
|
offset = offset,
|
||||||
|
|
@ -6150,22 +6190,22 @@ namespace TL
|
||||||
/// <summary>Get <a href="https://corefork.telegram.org/api/stars">Telegram Star revenue statistics »</a>. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsRevenueStats"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsRevenueStats#possible-errors">details</a>)</para></summary>
|
/// <summary>Get <a href="https://corefork.telegram.org/api/stars">Telegram Star revenue statistics »</a>. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsRevenueStats"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsRevenueStats#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="dark">Whether to enable dark theme for graph colors</param>
|
/// <param name="dark">Whether to enable dark theme for graph colors</param>
|
||||||
/// <param name="peer">Get statistics for the specified bot, channel or ourselves (<see cref="InputPeerSelf"/>).</param>
|
/// <param name="peer">Get statistics for the specified bot, channel or ourselves (<see cref="InputPeerSelf"/>).</param>
|
||||||
public static Task<Payments_StarsRevenueStats> Payments_GetStarsRevenueStats(this Client client, InputPeer peer, bool dark = false)
|
public static Task<Payments_StarsRevenueStats> Payments_GetStarsRevenueStats(this Client client, InputPeer peer, bool dark = false, bool ton = false)
|
||||||
=> client.Invoke(new Payments_GetStarsRevenueStats
|
=> client.Invoke(new Payments_GetStarsRevenueStats
|
||||||
{
|
{
|
||||||
flags = (Payments_GetStarsRevenueStats.Flags)(dark ? 0x1 : 0),
|
flags = (Payments_GetStarsRevenueStats.Flags)((dark ? 0x1 : 0) | (ton ? 0x2 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Withdraw funds from a channel or bot's <a href="https://corefork.telegram.org/api/stars#withdrawing-stars">star balance »</a>. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsRevenueWithdrawalUrl"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsRevenueWithdrawalUrl#possible-errors">details</a>)</para></summary>
|
/// <summary>Withdraw funds from a channel or bot's <a href="https://corefork.telegram.org/api/stars#withdrawing-stars">star balance »</a>. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsRevenueWithdrawalUrl"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsRevenueWithdrawalUrl#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">Channel or bot from which to withdraw funds.</param>
|
/// <param name="peer">Channel or bot from which to withdraw funds.</param>
|
||||||
/// <param name="stars">Amount of stars to withdraw.</param>
|
|
||||||
/// <param name="password">2FA password, see <a href="https://corefork.telegram.org/api/srp#using-the-2fa-password">here »</a> for more info.</param>
|
/// <param name="password">2FA password, see <a href="https://corefork.telegram.org/api/srp#using-the-2fa-password">here »</a> for more info.</param>
|
||||||
public static Task<Payments_StarsRevenueWithdrawalUrl> Payments_GetStarsRevenueWithdrawalUrl(this Client client, InputPeer peer, long stars, InputCheckPasswordSRP password)
|
public static Task<Payments_StarsRevenueWithdrawalUrl> Payments_GetStarsRevenueWithdrawalUrl(this Client client, InputPeer peer, InputCheckPasswordSRP password, long? amount = null, bool ton = false)
|
||||||
=> client.Invoke(new Payments_GetStarsRevenueWithdrawalUrl
|
=> client.Invoke(new Payments_GetStarsRevenueWithdrawalUrl
|
||||||
{
|
{
|
||||||
|
flags = (Payments_GetStarsRevenueWithdrawalUrl.Flags)((amount != null ? 0x2 : 0) | (ton ? 0x1 : 0)),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
stars = stars,
|
amount = amount ?? default,
|
||||||
password = password,
|
password = password,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -6180,9 +6220,10 @@ namespace TL
|
||||||
/// <summary>Obtain info about <a href="https://corefork.telegram.org/api/stars#balance-and-transaction-history">Telegram Star transactions »</a> using specific transaction IDs. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsTransactionsByID"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsTransactionsByID#possible-errors">details</a>)</para></summary>
|
/// <summary>Obtain info about <a href="https://corefork.telegram.org/api/stars#balance-and-transaction-history">Telegram Star transactions »</a> using specific transaction IDs. <para>See <a href="https://corefork.telegram.org/method/payments.getStarsTransactionsByID"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/payments.getStarsTransactionsByID#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">Channel or bot.</param>
|
/// <param name="peer">Channel or bot.</param>
|
||||||
/// <param name="id">Transaction IDs.</param>
|
/// <param name="id">Transaction IDs.</param>
|
||||||
public static Task<Payments_StarsStatus> Payments_GetStarsTransactionsByID(this Client client, InputPeer peer, params InputStarsTransaction[] id)
|
public static Task<Payments_StarsStatus> Payments_GetStarsTransactionsByID(this Client client, InputPeer peer, InputStarsTransaction[] id, bool ton = false)
|
||||||
=> client.Invoke(new Payments_GetStarsTransactionsByID
|
=> client.Invoke(new Payments_GetStarsTransactionsByID
|
||||||
{
|
{
|
||||||
|
flags = (Payments_GetStarsTransactionsByID.Flags)(ton ? 0x1 : 0),
|
||||||
peer = peer,
|
peer = peer,
|
||||||
id = id,
|
id = id,
|
||||||
});
|
});
|
||||||
|
|
@ -7119,38 +7160,6 @@ namespace TL
|
||||||
limit = limit,
|
limit = limit,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// <summary>Get <a href="https://corefork.telegram.org/api/revenue">channel ad revenue statistics »</a>. <para>See <a href="https://corefork.telegram.org/method/stats.getBroadcastRevenueStats"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stats.getBroadcastRevenueStats#possible-errors">details</a>)</para></summary>
|
|
||||||
/// <param name="dark">Whether to enable dark theme for graph colors</param>
|
|
||||||
/// <param name="peer">Get ad revenue stats for the specified channel or bot</param>
|
|
||||||
public static Task<Stats_BroadcastRevenueStats> Stats_GetBroadcastRevenueStats(this Client client, InputPeer peer, bool dark = false)
|
|
||||||
=> client.Invoke(new Stats_GetBroadcastRevenueStats
|
|
||||||
{
|
|
||||||
flags = (Stats_GetBroadcastRevenueStats.Flags)(dark ? 0x1 : 0),
|
|
||||||
peer = peer,
|
|
||||||
});
|
|
||||||
|
|
||||||
/// <summary>Withdraw funds from a channel's <a href="https://corefork.telegram.org/api/revenue">ad revenue balance »</a>. <para>See <a href="https://corefork.telegram.org/method/stats.getBroadcastRevenueWithdrawalUrl"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stats.getBroadcastRevenueWithdrawalUrl#possible-errors">details</a>)</para></summary>
|
|
||||||
/// <param name="peer">Get ad revenue withdrawal URL for the specified channel or bot</param>
|
|
||||||
/// <param name="password">2FA password, see <a href="https://corefork.telegram.org/api/srp#using-the-2fa-password">here »</a> for more info.</param>
|
|
||||||
public static Task<Stats_BroadcastRevenueWithdrawalUrl> Stats_GetBroadcastRevenueWithdrawalUrl(this Client client, InputPeer peer, InputCheckPasswordSRP password)
|
|
||||||
=> client.Invoke(new Stats_GetBroadcastRevenueWithdrawalUrl
|
|
||||||
{
|
|
||||||
peer = peer,
|
|
||||||
password = password,
|
|
||||||
});
|
|
||||||
|
|
||||||
/// <summary>Fetch <a href="https://corefork.telegram.org/api/revenue">channel ad revenue transaction history »</a>. <para>See <a href="https://corefork.telegram.org/method/stats.getBroadcastRevenueTransactions"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stats.getBroadcastRevenueTransactions#possible-errors">details</a>)</para></summary>
|
|
||||||
/// <param name="peer">Get ad revenue transactions for the specified channel or bot</param>
|
|
||||||
/// <param name="offset"><a href="https://corefork.telegram.org/api/offsets">Offset for pagination</a></param>
|
|
||||||
/// <param name="limit">Maximum number of results to return, <a href="https://corefork.telegram.org/api/offsets">see pagination</a></param>
|
|
||||||
public static Task<Stats_BroadcastRevenueTransactions> Stats_GetBroadcastRevenueTransactions(this Client client, InputPeer peer, int offset = default, int limit = int.MaxValue)
|
|
||||||
=> client.Invoke(new Stats_GetBroadcastRevenueTransactions
|
|
||||||
{
|
|
||||||
peer = peer,
|
|
||||||
offset = offset,
|
|
||||||
limit = limit,
|
|
||||||
});
|
|
||||||
|
|
||||||
/// <summary>Export a <a href="https://corefork.telegram.org/api/folders">folder »</a>, creating a <a href="https://corefork.telegram.org/api/links#chat-folder-links">chat folder deep link »</a>. <para>See <a href="https://corefork.telegram.org/method/chatlists.exportChatlistInvite"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/chatlists.exportChatlistInvite#possible-errors">details</a>)</para></summary>
|
/// <summary>Export a <a href="https://corefork.telegram.org/api/folders">folder »</a>, creating a <a href="https://corefork.telegram.org/api/links#chat-folder-links">chat folder deep link »</a>. <para>See <a href="https://corefork.telegram.org/method/chatlists.exportChatlistInvite"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/chatlists.exportChatlistInvite#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="chatlist">The folder to export</param>
|
/// <param name="chatlist">The folder to export</param>
|
||||||
/// <param name="title">An optional name for the link</param>
|
/// <param name="title">An optional name for the link</param>
|
||||||
|
|
@ -8814,24 +8823,34 @@ namespace TL.Methods
|
||||||
public long hash;
|
public long hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x6F688AA7)]
|
[TLDef(0x19BA4A67)]
|
||||||
public sealed partial class Account_AddNoPaidMessagesException : IMethod<bool>
|
public sealed partial class Account_GetPaidMessagesRevenue : IMethod<Account_PaidMessagesRevenue>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
[IfFlag(0)] public InputPeer parent_peer;
|
||||||
|
public InputUserBase user_id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_parent_peer = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0xFE2EDA76)]
|
||||||
|
public sealed partial class Account_ToggleNoPaidMessagesException : IMethod<bool>
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(1)] public InputPeer parent_peer;
|
||||||
public InputUserBase user_id;
|
public InputUserBase user_id;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
refund_charged = 0x1,
|
refund_charged = 0x1,
|
||||||
|
has_parent_peer = 0x2,
|
||||||
|
require_payment = 0x4,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xF1266F38)]
|
|
||||||
public sealed partial class Account_GetPaidMessagesRevenue : IMethod<Account_PaidMessagesRevenue>
|
|
||||||
{
|
|
||||||
public InputUserBase user_id;
|
|
||||||
}
|
|
||||||
|
|
||||||
[TLDef(0x0D91A548)]
|
[TLDef(0x0D91A548)]
|
||||||
public sealed partial class Users_GetUsers : IMethod<UserBase[]>
|
public sealed partial class Users_GetUsers : IMethod<UserBase[]>
|
||||||
{
|
{
|
||||||
|
|
@ -9203,7 +9222,7 @@ namespace TL.Methods
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xFBF2340A)]
|
[TLDef(0xFE05DC9A)]
|
||||||
public sealed partial class Messages_SendMessage : IMethod<UpdatesBase>
|
public sealed partial class Messages_SendMessage : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -9218,6 +9237,7 @@ namespace TL.Methods
|
||||||
[IfFlag(17)] public InputQuickReplyShortcutBase quick_reply_shortcut;
|
[IfFlag(17)] public InputQuickReplyShortcutBase quick_reply_shortcut;
|
||||||
[IfFlag(18)] public long effect;
|
[IfFlag(18)] public long effect;
|
||||||
[IfFlag(21)] public long allow_paid_stars;
|
[IfFlag(21)] public long allow_paid_stars;
|
||||||
|
[IfFlag(22)] public SuggestedPost suggested_post;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -9237,10 +9257,11 @@ namespace TL.Methods
|
||||||
has_effect = 0x40000,
|
has_effect = 0x40000,
|
||||||
allow_paid_floodskip = 0x80000,
|
allow_paid_floodskip = 0x80000,
|
||||||
has_allow_paid_stars = 0x200000,
|
has_allow_paid_stars = 0x200000,
|
||||||
|
has_suggested_post = 0x400000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xA550CD78)]
|
[TLDef(0xAC55D9C1)]
|
||||||
public sealed partial class Messages_SendMedia : IMethod<UpdatesBase>
|
public sealed partial class Messages_SendMedia : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -9256,6 +9277,7 @@ namespace TL.Methods
|
||||||
[IfFlag(17)] public InputQuickReplyShortcutBase quick_reply_shortcut;
|
[IfFlag(17)] public InputQuickReplyShortcutBase quick_reply_shortcut;
|
||||||
[IfFlag(18)] public long effect;
|
[IfFlag(18)] public long effect;
|
||||||
[IfFlag(21)] public long allow_paid_stars;
|
[IfFlag(21)] public long allow_paid_stars;
|
||||||
|
[IfFlag(22)] public SuggestedPost suggested_post;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -9274,10 +9296,11 @@ namespace TL.Methods
|
||||||
has_effect = 0x40000,
|
has_effect = 0x40000,
|
||||||
allow_paid_floodskip = 0x80000,
|
allow_paid_floodskip = 0x80000,
|
||||||
has_allow_paid_stars = 0x200000,
|
has_allow_paid_stars = 0x200000,
|
||||||
|
has_suggested_post = 0x400000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x38F0188C)]
|
[TLDef(0x978928CA)]
|
||||||
public sealed partial class Messages_ForwardMessages : IMethod<UpdatesBase>
|
public sealed partial class Messages_ForwardMessages : IMethod<UpdatesBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -9292,6 +9315,7 @@ namespace TL.Methods
|
||||||
[IfFlag(17)] public InputQuickReplyShortcutBase quick_reply_shortcut;
|
[IfFlag(17)] public InputQuickReplyShortcutBase quick_reply_shortcut;
|
||||||
[IfFlag(20)] public int video_timestamp;
|
[IfFlag(20)] public int video_timestamp;
|
||||||
[IfFlag(21)] public long allow_paid_stars;
|
[IfFlag(21)] public long allow_paid_stars;
|
||||||
|
[IfFlag(23)] public SuggestedPost suggested_post;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -9309,6 +9333,7 @@ namespace TL.Methods
|
||||||
has_video_timestamp = 0x100000,
|
has_video_timestamp = 0x100000,
|
||||||
has_allow_paid_stars = 0x200000,
|
has_allow_paid_stars = 0x200000,
|
||||||
has_reply_to = 0x400000,
|
has_reply_to = 0x400000,
|
||||||
|
has_suggested_post = 0x800000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -9824,7 +9849,7 @@ namespace TL.Methods
|
||||||
public InputDialogPeerBase[] peers;
|
public InputDialogPeerBase[] peers;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xD372C5CE)]
|
[TLDef(0x54AE308E)]
|
||||||
public sealed partial class Messages_SaveDraft : IMethod<bool>
|
public sealed partial class Messages_SaveDraft : IMethod<bool>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
|
|
@ -9834,6 +9859,7 @@ namespace TL.Methods
|
||||||
[IfFlag(3)] public MessageEntity[] entities;
|
[IfFlag(3)] public MessageEntity[] entities;
|
||||||
[IfFlag(5)] public InputMedia media;
|
[IfFlag(5)] public InputMedia media;
|
||||||
[IfFlag(7)] public long effect;
|
[IfFlag(7)] public long effect;
|
||||||
|
[IfFlag(8)] public SuggestedPost suggested_post;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -9843,6 +9869,7 @@ namespace TL.Methods
|
||||||
has_media = 0x20,
|
has_media = 0x20,
|
||||||
invert_media = 0x40,
|
invert_media = 0x40,
|
||||||
has_effect = 0x80,
|
has_effect = 0x80,
|
||||||
|
has_suggested_post = 0x100,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -11416,10 +11443,17 @@ namespace TL.Methods
|
||||||
public byte[] option;
|
public byte[] option;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x9BD2F439)]
|
[TLDef(0x3D6CE850)]
|
||||||
public sealed partial class Messages_GetSponsoredMessages : IMethod<Messages_SponsoredMessages>
|
public sealed partial class Messages_GetSponsoredMessages : IMethod<Messages_SponsoredMessages>
|
||||||
{
|
{
|
||||||
|
public Flags flags;
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
|
[IfFlag(0)] public int msg_id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_msg_id = 0x1,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xF21F7F2F)]
|
[TLDef(0xF21F7F2F)]
|
||||||
|
|
@ -11494,6 +11528,40 @@ namespace TL.Methods
|
||||||
public int max_id;
|
public int max_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TLDef(0xD3E03124)]
|
||||||
|
public sealed partial class Messages_ToggleTodoCompleted : IMethod<UpdatesBase>
|
||||||
|
{
|
||||||
|
public InputPeer peer;
|
||||||
|
public int msg_id;
|
||||||
|
public int[] completed;
|
||||||
|
public int[] incompleted;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x21A61057)]
|
||||||
|
public sealed partial class Messages_AppendTodoList : IMethod<UpdatesBase>
|
||||||
|
{
|
||||||
|
public InputPeer peer;
|
||||||
|
public int msg_id;
|
||||||
|
public TodoItem[] list;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x8107455C)]
|
||||||
|
public sealed partial class Messages_ToggleSuggestedPostApproval : IMethod<UpdatesBase>
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public InputPeer peer;
|
||||||
|
public int msg_id;
|
||||||
|
[IfFlag(0)] public DateTime schedule_date;
|
||||||
|
[IfFlag(2)] public string reject_comment;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_schedule_date = 0x1,
|
||||||
|
reject = 0x2,
|
||||||
|
has_reject_comment = 0x4,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0xEDD4882A)]
|
[TLDef(0xEDD4882A)]
|
||||||
public sealed partial class Updates_GetState : IMethod<Updates_State> { }
|
public sealed partial class Updates_GetState : IMethod<Updates_State> { }
|
||||||
|
|
||||||
|
|
@ -12740,10 +12808,16 @@ namespace TL.Methods
|
||||||
[TLDef(0xC00EC7D3)]
|
[TLDef(0xC00EC7D3)]
|
||||||
public sealed partial class Payments_GetStarsTopupOptions : IMethod<StarsTopupOption[]> { }
|
public sealed partial class Payments_GetStarsTopupOptions : IMethod<StarsTopupOption[]> { }
|
||||||
|
|
||||||
[TLDef(0x104FCFA7)]
|
[TLDef(0x4EA9B3BF)]
|
||||||
public sealed partial class Payments_GetStarsStatus : IMethod<Payments_StarsStatus>
|
public sealed partial class Payments_GetStarsStatus : IMethod<Payments_StarsStatus>
|
||||||
{
|
{
|
||||||
|
public Flags flags;
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
ton = 0x1,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x69DA4557)]
|
[TLDef(0x69DA4557)]
|
||||||
|
|
@ -12761,6 +12835,7 @@ namespace TL.Methods
|
||||||
outbound = 0x2,
|
outbound = 0x2,
|
||||||
ascending = 0x4,
|
ascending = 0x4,
|
||||||
has_subscription_id = 0x8,
|
has_subscription_id = 0x8,
|
||||||
|
ton = 0x10,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -12787,15 +12862,23 @@ namespace TL.Methods
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
dark = 0x1,
|
dark = 0x1,
|
||||||
|
ton = 0x2,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x13BBE8B3)]
|
[TLDef(0x2433DC92)]
|
||||||
public sealed partial class Payments_GetStarsRevenueWithdrawalUrl : IMethod<Payments_StarsRevenueWithdrawalUrl>
|
public sealed partial class Payments_GetStarsRevenueWithdrawalUrl : IMethod<Payments_StarsRevenueWithdrawalUrl>
|
||||||
{
|
{
|
||||||
|
public Flags flags;
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
public long stars;
|
[IfFlag(1)] public long amount;
|
||||||
public InputCheckPasswordSRP password;
|
public InputCheckPasswordSRP password;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
ton = 0x1,
|
||||||
|
has_amount = 0x2,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xD1D7EFC5)]
|
[TLDef(0xD1D7EFC5)]
|
||||||
|
|
@ -12804,11 +12887,17 @@ namespace TL.Methods
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x27842D2E)]
|
[TLDef(0x2DCA16B8)]
|
||||||
public sealed partial class Payments_GetStarsTransactionsByID : IMethod<Payments_StarsStatus>
|
public sealed partial class Payments_GetStarsTransactionsByID : IMethod<Payments_StarsStatus>
|
||||||
{
|
{
|
||||||
|
public Flags flags;
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
public InputStarsTransaction[] id;
|
public InputStarsTransaction[] id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
ton = 0x1,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xD3C96BC8)]
|
[TLDef(0xD3C96BC8)]
|
||||||
|
|
@ -13660,33 +13749,6 @@ namespace TL.Methods
|
||||||
public int limit;
|
public int limit;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0xF788EE19)]
|
|
||||||
public sealed partial class Stats_GetBroadcastRevenueStats : IMethod<Stats_BroadcastRevenueStats>
|
|
||||||
{
|
|
||||||
public Flags flags;
|
|
||||||
public InputPeer peer;
|
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
|
||||||
{
|
|
||||||
dark = 0x1,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[TLDef(0x9DF4FAAD)]
|
|
||||||
public sealed partial class Stats_GetBroadcastRevenueWithdrawalUrl : IMethod<Stats_BroadcastRevenueWithdrawalUrl>
|
|
||||||
{
|
|
||||||
public InputPeer peer;
|
|
||||||
public InputCheckPasswordSRP password;
|
|
||||||
}
|
|
||||||
|
|
||||||
[TLDef(0x70990B6D)]
|
|
||||||
public sealed partial class Stats_GetBroadcastRevenueTransactions : IMethod<Stats_BroadcastRevenueTransactions>
|
|
||||||
{
|
|
||||||
public InputPeer peer;
|
|
||||||
public int offset;
|
|
||||||
public int limit;
|
|
||||||
}
|
|
||||||
|
|
||||||
[TLDef(0x8472478E)]
|
[TLDef(0x8472478E)]
|
||||||
public sealed partial class Chatlists_ExportChatlistInvite : IMethod<Chatlists_ExportedChatlistInvite>
|
public sealed partial class Chatlists_ExportChatlistInvite : IMethod<Chatlists_ExportedChatlistInvite>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace TL
|
||||||
{
|
{
|
||||||
public static partial class Layer
|
public static partial class Layer
|
||||||
{
|
{
|
||||||
public const int Version = 204; // fetched 04/06/2025 15:07:47
|
public const int Version = 206; // fetched 02/07/2025 12:40:29
|
||||||
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;
|
||||||
|
|
@ -103,6 +103,7 @@ namespace TL
|
||||||
[0x89FDD778] = typeof(InputMediaStory),
|
[0x89FDD778] = typeof(InputMediaStory),
|
||||||
[0xC21B8849] = typeof(InputMediaWebPage),
|
[0xC21B8849] = typeof(InputMediaWebPage),
|
||||||
[0xC4103386] = typeof(InputMediaPaidMedia),
|
[0xC4103386] = typeof(InputMediaPaidMedia),
|
||||||
|
[0x9FC55FDE] = typeof(InputMediaTodo),
|
||||||
[0x1CA48F57] = null,//InputChatPhotoEmpty
|
[0x1CA48F57] = null,//InputChatPhotoEmpty
|
||||||
[0xBDCDAEC0] = typeof(InputChatUploadedPhoto),
|
[0xBDCDAEC0] = typeof(InputChatUploadedPhoto),
|
||||||
[0x8953AD37] = typeof(InputChatPhoto),
|
[0x8953AD37] = typeof(InputChatPhoto),
|
||||||
|
|
@ -139,7 +140,7 @@ namespace TL
|
||||||
[0xFE685355] = typeof(Channel),
|
[0xFE685355] = typeof(Channel),
|
||||||
[0x17D493D5] = typeof(ChannelForbidden),
|
[0x17D493D5] = typeof(ChannelForbidden),
|
||||||
[0x2633421B] = typeof(ChatFull),
|
[0x2633421B] = typeof(ChatFull),
|
||||||
[0x52D6806B] = typeof(ChannelFull),
|
[0xE07429DE] = typeof(ChannelFull),
|
||||||
[0xC02D4007] = typeof(ChatParticipant),
|
[0xC02D4007] = typeof(ChatParticipant),
|
||||||
[0xE46BCEE4] = typeof(ChatParticipantCreator),
|
[0xE46BCEE4] = typeof(ChatParticipantCreator),
|
||||||
[0xA0933F5B] = typeof(ChatParticipantAdmin),
|
[0xA0933F5B] = typeof(ChatParticipantAdmin),
|
||||||
|
|
@ -148,8 +149,8 @@ namespace TL
|
||||||
[0x37C1011C] = null,//ChatPhotoEmpty
|
[0x37C1011C] = null,//ChatPhotoEmpty
|
||||||
[0x1C6E1C11] = typeof(ChatPhoto),
|
[0x1C6E1C11] = typeof(ChatPhoto),
|
||||||
[0x90A6CA84] = typeof(MessageEmpty),
|
[0x90A6CA84] = typeof(MessageEmpty),
|
||||||
[0xEABCDD4D] = typeof(Message),
|
[0x9815CEC8] = typeof(Message),
|
||||||
[0xD3D28540] = typeof(MessageService),
|
[0x7A800E0A] = typeof(MessageService),
|
||||||
[0x3DED6320] = null,//MessageMediaEmpty
|
[0x3DED6320] = null,//MessageMediaEmpty
|
||||||
[0x695150D7] = typeof(MessageMediaPhoto),
|
[0x695150D7] = typeof(MessageMediaPhoto),
|
||||||
[0x56E0D474] = typeof(MessageMediaGeo),
|
[0x56E0D474] = typeof(MessageMediaGeo),
|
||||||
|
|
@ -167,6 +168,7 @@ namespace TL
|
||||||
[0xAA073BEB] = typeof(MessageMediaGiveaway),
|
[0xAA073BEB] = typeof(MessageMediaGiveaway),
|
||||||
[0xCEAA3EA1] = typeof(MessageMediaGiveawayResults),
|
[0xCEAA3EA1] = typeof(MessageMediaGiveawayResults),
|
||||||
[0xA8852491] = typeof(MessageMediaPaidMedia),
|
[0xA8852491] = typeof(MessageMediaPaidMedia),
|
||||||
|
[0x8A53B014] = typeof(MessageMediaToDo),
|
||||||
[0xB6AEF7B0] = null,//MessageActionEmpty
|
[0xB6AEF7B0] = null,//MessageActionEmpty
|
||||||
[0xBD47CBAD] = typeof(MessageActionChatCreate),
|
[0xBD47CBAD] = typeof(MessageActionChatCreate),
|
||||||
[0xB5A1CE5A] = typeof(MessageActionChatEditTitle),
|
[0xB5A1CE5A] = typeof(MessageActionChatEditTitle),
|
||||||
|
|
@ -218,6 +220,12 @@ namespace TL
|
||||||
[0xAC1F1FCD] = typeof(MessageActionPaidMessagesRefunded),
|
[0xAC1F1FCD] = typeof(MessageActionPaidMessagesRefunded),
|
||||||
[0x84B88578] = typeof(MessageActionPaidMessagesPrice),
|
[0x84B88578] = typeof(MessageActionPaidMessagesPrice),
|
||||||
[0x2FFE2F7A] = typeof(MessageActionConferenceCall),
|
[0x2FFE2F7A] = typeof(MessageActionConferenceCall),
|
||||||
|
[0xCC7C5C89] = typeof(MessageActionTodoCompletions),
|
||||||
|
[0xC7EDBC83] = typeof(MessageActionTodoAppendTasks),
|
||||||
|
[0xEE7A1596] = typeof(MessageActionSuggestedPostApproval),
|
||||||
|
[0x95DDCF69] = typeof(MessageActionSuggestedPostSuccess),
|
||||||
|
[0x69F916F8] = typeof(MessageActionSuggestedPostRefund),
|
||||||
|
[0xA8A3C699] = typeof(MessageActionGiftTon),
|
||||||
[0xD58A08C6] = typeof(Dialog),
|
[0xD58A08C6] = typeof(Dialog),
|
||||||
[0x71BD134C] = typeof(DialogFolder),
|
[0x71BD134C] = typeof(DialogFolder),
|
||||||
[0x2331B22D] = typeof(PhotoEmpty),
|
[0x2331B22D] = typeof(PhotoEmpty),
|
||||||
|
|
@ -418,7 +426,6 @@ namespace TL
|
||||||
[0x07DF587C] = typeof(UpdateBotEditBusinessMessage),
|
[0x07DF587C] = typeof(UpdateBotEditBusinessMessage),
|
||||||
[0xA02A982E] = typeof(UpdateBotDeleteBusinessMessage),
|
[0xA02A982E] = typeof(UpdateBotDeleteBusinessMessage),
|
||||||
[0x1824E40B] = typeof(UpdateNewStoryReaction),
|
[0x1824E40B] = typeof(UpdateNewStoryReaction),
|
||||||
[0xDFD961F5] = typeof(UpdateBroadcastRevenueTransactions),
|
|
||||||
[0x4E80A379] = typeof(UpdateStarsBalance),
|
[0x4E80A379] = typeof(UpdateStarsBalance),
|
||||||
[0x1EA2FDA7] = typeof(UpdateBusinessBotCallbackQuery),
|
[0x1EA2FDA7] = typeof(UpdateBusinessBotCallbackQuery),
|
||||||
[0xA584B019] = typeof(UpdateStarsRevenueStatus),
|
[0xA584B019] = typeof(UpdateStarsRevenueStatus),
|
||||||
|
|
@ -428,6 +435,7 @@ namespace TL
|
||||||
[0xA477288F] = typeof(UpdateGroupCallChainBlocks),
|
[0xA477288F] = typeof(UpdateGroupCallChainBlocks),
|
||||||
[0x77B0E372] = typeof(UpdateReadMonoForumInbox),
|
[0x77B0E372] = typeof(UpdateReadMonoForumInbox),
|
||||||
[0xA4A79376] = typeof(UpdateReadMonoForumOutbox),
|
[0xA4A79376] = typeof(UpdateReadMonoForumOutbox),
|
||||||
|
[0x9F812B08] = typeof(UpdateMonoForumNoPaidException),
|
||||||
[0xA56C2A3E] = typeof(Updates_State),
|
[0xA56C2A3E] = typeof(Updates_State),
|
||||||
[0x5D75A138] = typeof(Updates_DifferenceEmpty),
|
[0x5D75A138] = typeof(Updates_DifferenceEmpty),
|
||||||
[0x00F49CA0] = typeof(Updates_Difference),
|
[0x00F49CA0] = typeof(Updates_Difference),
|
||||||
|
|
@ -565,6 +573,7 @@ namespace TL
|
||||||
[0x29D0F5EE] = typeof(InputStickerSetEmojiDefaultStatuses),
|
[0x29D0F5EE] = typeof(InputStickerSetEmojiDefaultStatuses),
|
||||||
[0x44C1F8E9] = typeof(InputStickerSetEmojiDefaultTopicIcons),
|
[0x44C1F8E9] = typeof(InputStickerSetEmojiDefaultTopicIcons),
|
||||||
[0x49748553] = typeof(InputStickerSetEmojiChannelDefaultStatuses),
|
[0x49748553] = typeof(InputStickerSetEmojiChannelDefaultStatuses),
|
||||||
|
[0x1CF671A0] = typeof(InputStickerSetTonGifts),
|
||||||
[0x2DD14EDC] = typeof(StickerSet),
|
[0x2DD14EDC] = typeof(StickerSet),
|
||||||
[0x6E153F16] = typeof(Messages_StickerSet),
|
[0x6E153F16] = typeof(Messages_StickerSet),
|
||||||
[0xD3F924EB] = null,//Messages_StickerSetNotModified
|
[0xD3F924EB] = null,//Messages_StickerSetNotModified
|
||||||
|
|
@ -691,7 +700,7 @@ namespace TL
|
||||||
[0x70B772A8] = typeof(Contacts_TopPeers),
|
[0x70B772A8] = typeof(Contacts_TopPeers),
|
||||||
[0xB52C939D] = typeof(Contacts_TopPeersDisabled),
|
[0xB52C939D] = typeof(Contacts_TopPeersDisabled),
|
||||||
[0x1B0C841A] = typeof(DraftMessageEmpty),
|
[0x1B0C841A] = typeof(DraftMessageEmpty),
|
||||||
[0x2D65321F] = typeof(DraftMessage),
|
[0x96EAA5EB] = typeof(DraftMessage),
|
||||||
[0xC6DC0C66] = typeof(Messages_FeaturedStickersNotModified),
|
[0xC6DC0C66] = typeof(Messages_FeaturedStickersNotModified),
|
||||||
[0xBE382906] = typeof(Messages_FeaturedStickers),
|
[0xBE382906] = typeof(Messages_FeaturedStickers),
|
||||||
[0x0B17F890] = null,//Messages_RecentStickersNotModified
|
[0x0B17F890] = null,//Messages_RecentStickersNotModified
|
||||||
|
|
@ -1069,8 +1078,8 @@ namespace TL
|
||||||
[0xE3779861] = typeof(Account_ResetPasswordFailedWait),
|
[0xE3779861] = typeof(Account_ResetPasswordFailedWait),
|
||||||
[0xE9EFFC7D] = typeof(Account_ResetPasswordRequestedWait),
|
[0xE9EFFC7D] = typeof(Account_ResetPasswordRequestedWait),
|
||||||
[0xE926D63E] = typeof(Account_ResetPasswordOk),
|
[0xE926D63E] = typeof(Account_ResetPasswordOk),
|
||||||
[0x4D93A990] = typeof(SponsoredMessage),
|
[0x7DBF8673] = typeof(SponsoredMessage),
|
||||||
[0xC9EE1D87] = typeof(Messages_SponsoredMessages),
|
[0xFFDA656D] = typeof(Messages_SponsoredMessages),
|
||||||
[0x1839490F] = null,//Messages_SponsoredMessagesEmpty
|
[0x1839490F] = null,//Messages_SponsoredMessagesEmpty
|
||||||
[0xC9B0539F] = typeof(SearchResultsCalendarPeriod),
|
[0xC9B0539F] = typeof(SearchResultsCalendarPeriod),
|
||||||
[0x147EE23C] = typeof(Messages_SearchResultsCalendar),
|
[0x147EE23C] = typeof(Messages_SearchResultsCalendar),
|
||||||
|
|
@ -1319,14 +1328,7 @@ namespace TL
|
||||||
[0x846F9E42] = typeof(Channels_SponsoredMessageReportResultChooseOption),
|
[0x846F9E42] = typeof(Channels_SponsoredMessageReportResultChooseOption),
|
||||||
[0x3E3BCF2F] = typeof(Channels_SponsoredMessageReportResultAdsHidden),
|
[0x3E3BCF2F] = typeof(Channels_SponsoredMessageReportResultAdsHidden),
|
||||||
[0xAD798849] = typeof(Channels_SponsoredMessageReportResultReported),
|
[0xAD798849] = typeof(Channels_SponsoredMessageReportResultReported),
|
||||||
[0x5407E297] = typeof(Stats_BroadcastRevenueStats),
|
|
||||||
[0xEC659737] = typeof(Stats_BroadcastRevenueWithdrawalUrl),
|
|
||||||
[0x557E2CC4] = typeof(BroadcastRevenueTransactionProceeds),
|
|
||||||
[0x5A590978] = typeof(BroadcastRevenueTransactionWithdrawal),
|
|
||||||
[0x42D30D2E] = typeof(BroadcastRevenueTransactionRefund),
|
|
||||||
[0x87158466] = typeof(Stats_BroadcastRevenueTransactions),
|
|
||||||
[0x56E34970] = typeof(ReactionsNotifySettings),
|
[0x56E34970] = typeof(ReactionsNotifySettings),
|
||||||
[0xC3FF71E7] = typeof(BroadcastRevenueBalances),
|
|
||||||
[0x93C3E27E] = typeof(AvailableEffect),
|
[0x93C3E27E] = typeof(AvailableEffect),
|
||||||
[0xD1ED9A5B] = null,//Messages_AvailableEffectsNotModified
|
[0xD1ED9A5B] = null,//Messages_AvailableEffectsNotModified
|
||||||
[0xBDDB616E] = typeof(Messages_AvailableEffects),
|
[0xBDDB616E] = typeof(Messages_AvailableEffects),
|
||||||
|
|
@ -1340,13 +1342,13 @@ namespace TL
|
||||||
[0x60682812] = typeof(StarsTransactionPeerAds),
|
[0x60682812] = typeof(StarsTransactionPeerAds),
|
||||||
[0xF9677AAD] = typeof(StarsTransactionPeerAPI),
|
[0xF9677AAD] = typeof(StarsTransactionPeerAPI),
|
||||||
[0x0BD915C0] = typeof(StarsTopupOption),
|
[0x0BD915C0] = typeof(StarsTopupOption),
|
||||||
[0xA39FD94A] = typeof(StarsTransaction),
|
[0x13659EB0] = typeof(StarsTransaction),
|
||||||
[0x6C9CE8ED] = typeof(Payments_StarsStatus),
|
[0x6C9CE8ED] = typeof(Payments_StarsStatus),
|
||||||
[0xE87ACBC0] = typeof(FoundStory),
|
[0xE87ACBC0] = typeof(FoundStory),
|
||||||
[0xE2DE7737] = typeof(Stories_FoundStories),
|
[0xE2DE7737] = typeof(Stories_FoundStories),
|
||||||
[0xDE4C5D93] = typeof(GeoPointAddress),
|
[0xDE4C5D93] = typeof(GeoPointAddress),
|
||||||
[0xFEBE5491] = typeof(StarsRevenueStatus),
|
[0xFEBE5491] = typeof(StarsRevenueStatus),
|
||||||
[0xC92BB73B] = typeof(Payments_StarsRevenueStats),
|
[0x6C207376] = typeof(Payments_StarsRevenueStats),
|
||||||
[0x1DAB80B7] = typeof(Payments_StarsRevenueWithdrawalUrl),
|
[0x1DAB80B7] = typeof(Payments_StarsRevenueWithdrawalUrl),
|
||||||
[0x394E7F21] = typeof(Payments_StarsRevenueAdsAccountUrl),
|
[0x394E7F21] = typeof(Payments_StarsRevenueAdsAccountUrl),
|
||||||
[0x206AE6D1] = typeof(InputStarsTransaction),
|
[0x206AE6D1] = typeof(InputStarsTransaction),
|
||||||
|
|
@ -1375,6 +1377,7 @@ namespace TL
|
||||||
[0x98D5EA1D] = typeof(Payments_ConnectedStarRefBots),
|
[0x98D5EA1D] = typeof(Payments_ConnectedStarRefBots),
|
||||||
[0xB4D5D859] = typeof(Payments_SuggestedStarRefBots),
|
[0xB4D5D859] = typeof(Payments_SuggestedStarRefBots),
|
||||||
[0xBBB6B4A3] = typeof(StarsAmount),
|
[0xBBB6B4A3] = typeof(StarsAmount),
|
||||||
|
[0x74AEE3E0] = typeof(StarsTonAmount),
|
||||||
[0x6010C534] = typeof(Messages_FoundStickersNotModified),
|
[0x6010C534] = typeof(Messages_FoundStickersNotModified),
|
||||||
[0x82C9E290] = typeof(Messages_FoundStickers),
|
[0x82C9E290] = typeof(Messages_FoundStickers),
|
||||||
[0xB0CD6617] = typeof(BotVerifierSettings),
|
[0xB0CD6617] = typeof(BotVerifierSettings),
|
||||||
|
|
@ -1413,6 +1416,10 @@ namespace TL
|
||||||
[0x947A12DF] = typeof(Payments_ResaleStarGifts),
|
[0x947A12DF] = typeof(Payments_ResaleStarGifts),
|
||||||
[0xC387C04E] = typeof(Stories_CanSendStoryCount),
|
[0xC387C04E] = typeof(Stories_CanSendStoryCount),
|
||||||
[0xE7E82E12] = typeof(PendingSuggestion),
|
[0xE7E82E12] = typeof(PendingSuggestion),
|
||||||
|
[0xCBA9A52F] = typeof(TodoItem),
|
||||||
|
[0x49B92A26] = typeof(TodoList),
|
||||||
|
[0x4CC120B7] = typeof(TodoCompletion),
|
||||||
|
[0x0E8E37E5] = typeof(SuggestedPost),
|
||||||
// from TL.Secret:
|
// from TL.Secret:
|
||||||
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
||||||
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
|
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,10 @@
|
||||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||||
<PackageId>WTelegramClient</PackageId>
|
<PackageId>WTelegramClient</PackageId>
|
||||||
<VersionPrefix>0.0.0</VersionPrefix>
|
|
||||||
<VersionSuffix>layer.204</VersionSuffix>
|
|
||||||
<Authors>Wizou</Authors>
|
<Authors>Wizou</Authors>
|
||||||
<Description>Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 204
|
<VersionPrefix>0.0.0</VersionPrefix>
|
||||||
|
<VersionSuffix>layer.206</VersionSuffix>
|
||||||
|
<Description>Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 206
|
||||||
|
|
||||||
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