Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 69ff3cf7d4 | |||
| 0ed47b2b90 |
@@ -200,6 +200,9 @@ public sealed class MessageBuilder
|
||||
_adapterOptions = null;
|
||||
_chatId = null;
|
||||
|
||||
return messageId;
|
||||
_reply.Clear();
|
||||
_inline.Clear();
|
||||
|
||||
return outMessageId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ public sealed class FileSendPage : SingletonPage
|
||||
GetStreamAsync = _ => Task.FromResult<Stream>(stream)
|
||||
};
|
||||
|
||||
await new MessageBuilder(ctx)
|
||||
var msg = await new MessageBuilder(ctx)
|
||||
.Text("Вот пример отправки нового файла 📎", MessageFormat.Markdown)
|
||||
.File(demoFile, "Демонстрационный файл")
|
||||
.SendAsync(ct);
|
||||
|
||||
Reference in New Issue
Block a user