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); }
public void Add(Pointer pointer) { dBHandler.AddToQueue(pointer); }
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); }
public void Add(int chatId, string languageCode) { Pointer pointer = new Pointer(chatId, languageCode); dBHandler.AddToQueue(pointer); }