public override void Send() { InlineKeyboardMarkup mark = this.keyboardMarkup as InlineKeyboardMarkup; if (mark != null) { SendingTask = client.EditMessageReplyMarkupAsync(this.ChatID, this.message_id, mark); SendingTask.ContinueWith(LogResult); } }
public override void Send() { SendingTask = client.SendAnimationAsync(ChatID, inputOnlineFile, replyToMessageId: inReplyOf, caption: text, parseMode: ParseMode.Html); SendingTask.ContinueWith(LogResult); }
public override void Send() { SendingTask = client.SendStickerAsync(ChatID, inputOnlineFile, replyToMessageId: inReplyOf); SendingTask.ContinueWith(LogResult); }
public override void Send() { SendingTask = client.SendPhotoAsync(ChatID, inputOnlineFile, caption: text, replyToMessageId: inReplyOf, parseMode: ParseMode.Html, replyMarkup: keyboardMarkup); SendingTask.ContinueWith(LogResult); }
public override void Send() { SendingTask = this.client.ForwardMessageAsync(To, From, MessageID); SendingTask.ContinueWith(LogResult); }