예제 #1
0
        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);
            }
        }
예제 #2
0
 public override void Send()
 {
     SendingTask = client.SendAnimationAsync(ChatID, inputOnlineFile,
                                             replyToMessageId: inReplyOf, caption: text, parseMode: ParseMode.Html);
     SendingTask.ContinueWith(LogResult);
 }
예제 #3
0
 public override void Send()
 {
     SendingTask = client.SendStickerAsync(ChatID, inputOnlineFile,
                                           replyToMessageId: inReplyOf);
     SendingTask.ContinueWith(LogResult);
 }
예제 #4
0
 public override void Send()
 {
     SendingTask = client.SendPhotoAsync(ChatID, inputOnlineFile, caption: text,
                                         replyToMessageId: inReplyOf, parseMode: ParseMode.Html, replyMarkup: keyboardMarkup);
     SendingTask.ContinueWith(LogResult);
 }
예제 #5
0
 public override void Send()
 {
     SendingTask = this.client.ForwardMessageAsync(To, From, MessageID);
     SendingTask.ContinueWith(LogResult);
 }