Добавлена возможность отсылать сообщения в другие чаты
All checks were successful
CI / build-test (push) Successful in 33s
All checks were successful
CI / build-test (push) Successful in 33s
This commit is contained in:
@@ -49,13 +49,13 @@ public sealed class PageContext
|
||||
IEnumerable<IEnumerable<InlineButton>>? inline = null,
|
||||
IEnumerable<IEnumerable<ReplyButton>>? reply = null,
|
||||
CancellationToken ct = default)
|
||||
=> Adapter.SendTextAsync(this, text, format, inline, reply, ct);
|
||||
=> Adapter.SendTextAsync(this.Update.Chat.Id, text, format, inline, reply, ct);
|
||||
|
||||
/// <summary>
|
||||
/// Отправить файл.
|
||||
/// </summary>
|
||||
public Task SendFileAsync(FileDescriptor file, string? caption = null, CancellationToken ct = default)
|
||||
=> Adapter.SendFileAsync(this, file, caption, ct);
|
||||
=> Adapter.SendFileAsync(this.Update.Chat.Id, file, caption, ct);
|
||||
|
||||
/// <summary>
|
||||
/// Получить билдер альбомов.
|
||||
|
||||
Reference in New Issue
Block a user