예제 #1
0
        internal async Task EditMessageReplyMarkupAsync(string chatId = null, int messageId = 0, string inlineMessageId = null,
                                                        InlineKeyboardMarkup replyMarkup = null)
        {
            var edit = new EditMarkupData
            {
                ChatId          = chatId,
                MessageId       = messageId,
                InlineMessageId = inlineMessageId,
                ReplyMarkup     = replyMarkup
            };

            await api.SendRequestAsync("editMessageReplyMarkup", edit);
        }
예제 #2
0
        internal void EditMessageReplyMarkup(string chatId = null, int messageId = 0, string inlineMessageId = null,
                                             InlineKeyboardMarkup replyMarkup = null)
        {
            var edit = new EditMarkupData
            {
                ChatId          = chatId,
                MessageId       = messageId,
                InlineMessageId = inlineMessageId,
                ReplyMarkup     = replyMarkup
            };

            api.SendRequest("editMessageReplyMarkup", edit);
        }