예제 #1
0
        public static void Send(string apikey, Strings strings, Pointer pointer)
        {
            ContentParts content = prepare(strings, pointer);

            Api.SendMessage(apikey, pointer.ChatId, content.Text, replyMarkup: content.InlineKeyboard);
        }
예제 #2
0
        public static void Refresh(string apikey, Strings strings, Pointer pointer, long chatId, int messageId)
        {
            ContentParts content = prepare(strings, pointer);

            Api.EditMessageText(apikey, content.Text, content.InlineKeyboard, chatId, messageId);
        }