mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
comments
This commit is contained in:
parent
4b4965a335
commit
275ece196b
|
|
@ -113,7 +113,7 @@ In the API, Telegram uses some terms/classnames that can be confusing as they di
|
|||
- `Peer` : Either a `Chat`, `Channel` or a private chat with a `User`
|
||||
- Dialog : The current status of a chat with a `Peer` *(draft, last message, unread count, pinned...)*
|
||||
- DC (DataCenter) : There are a few datacenters depending on where in the world the user (or an uploaded media file) is from.
|
||||
- Access Hash : Telegram requires you to provide a specific `access_hash` for users, channels, and other resources before interacting with them. See [FAQ #4](https://github.com/wiz0u/WTelegramClient/blob/master/FAQ.md) to learn more about it.
|
||||
- Access Hash : Telegram requires you to provide a specific `access_hash` for users, channels, and other resources before interacting with them. See [FAQ #4](https://github.com/wiz0u/WTelegramClient/blob/master/FAQ.md#access-hash) to learn more about it.
|
||||
|
||||
# Other things to know
|
||||
|
||||
|
|
|
|||
|
|
@ -1134,7 +1134,7 @@ namespace WTelegram
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>Helper function to send a text or media message more easily</summary>
|
||||
/// <summary>Helper function to send a media message more easily</summary>
|
||||
/// <param name="peer">Destination of message (chat group, channel, user chat, etc..) </param>
|
||||
/// <param name="caption">Caption for the media <i>(in plain text)</i> or <see langword="null"/></param>
|
||||
/// <param name="mediaFile">Media file already uploaded to TG <i>(see <see cref="UploadFileAsync">UploadFileAsync</see>)</i></param>
|
||||
|
|
|
|||
|
|
@ -12193,7 +12193,7 @@ namespace TL
|
|||
[TLDef(0xE926D63E)]
|
||||
public class Account_ResetPasswordOk : Account_ResetPasswordResult { }
|
||||
|
||||
/// <summary>A sponsored message <para>See <a href="https://corefork.telegram.org/constructor/sponsoredMessage"/></para></summary>
|
||||
/// <summary>A <a href="https://core.telegram.org/api/sponsored-messages">sponsored message</a>. <para>See <a href="https://corefork.telegram.org/constructor/sponsoredMessage"/></para></summary>
|
||||
[TLDef(0xD151E19A)]
|
||||
public class SponsoredMessage : IObject
|
||||
{
|
||||
|
|
@ -15318,7 +15318,6 @@ namespace TL
|
|||
});
|
||||
/// <summary>Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup <para>See <a href="https://corefork.telegram.org/method/channels.reportSpam"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/channels.reportSpam#possible-errors">details</a>)</para></summary>
|
||||
/// <param name="channel">Supergroup</param>
|
||||
/// <param name="participant">user that sent the spam messages</param>
|
||||
/// <param name="id">IDs of spam messages</param>
|
||||
public static Task<bool> Channels_ReportSpam(this Client client, InputChannelBase channel, InputPeer participant, int[] id)
|
||||
=> client.CallAsync(new Channels_ReportSpam
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace TL
|
|||
{
|
||||
public static class Layer
|
||||
{
|
||||
public const int Version = 135; // fetched 27/11/2021 01:15:53
|
||||
public const int Version = 135; // fetched 08/12/2021 14:03:48
|
||||
internal const uint VectorCtor = 0x1CB5C415;
|
||||
internal const uint NullCtor = 0x56730BCC;
|
||||
internal const uint RpcResultCtor = 0xF35C6D01;
|
||||
|
|
|
|||
Loading…
Reference in a new issue