Preparation for version switch from 19 to 21
This commit is contained in:
parent
fb88d15485
commit
b37b1e2a64
@ -82,7 +82,7 @@ public class PromptDialog : ModalDialog
|
|||||||
{
|
{
|
||||||
var bf = new ButtonForm();
|
var bf = new ButtonForm();
|
||||||
bf.AddButtonRow(new ButtonBase(BackLabel, "back"));
|
bf.AddButtonRow(new ButtonBase(BackLabel, "back"));
|
||||||
await Device.Send(Message, (ReplyMarkupBase)bf);
|
await Device.Send(Message, (IReplyMarkup)bf);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -312,7 +312,7 @@ public class DeviceSession : IDeviceSession
|
|||||||
/// <param name="replyTo"></param>
|
/// <param name="replyTo"></param>
|
||||||
/// <param name="disableNotification"></param>
|
/// <param name="disableNotification"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<Message> Send(string text, ReplyMarkupBase markup, int replyTo = 0,
|
public async Task<Message> Send(string text, IReplyMarkup markup, int replyTo = 0,
|
||||||
bool disableNotification = false, ParseMode parseMode = ParseMode.Markdown,
|
bool disableNotification = false, ParseMode parseMode = ParseMode.Markdown,
|
||||||
bool markdownV2AutoEscape = true)
|
bool markdownV2AutoEscape = true)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user