Cppgram  1.0.0
Easy and modern C++14 Telegram Bot API wrapper
Classes | Enumerations
cppgram Namespace Reference

main namespace for Cppgram More...

Classes

class  BasicBot
 contains api methods, update handlers and listener. More...
 
class  CommandHandler
 Handle bot commands. More...
 
class  InlineQueryResult
 Create articles to send as inlineQuery result. More...
 
class  JsonParseError
 If jsoncpp can't parse the JSON document (critical). More...
 
class  Keyboard
 An helper class to create inline keyboard. More...
 
class  KeyboardNotValid
 raises if Keyboard is not valid (critical). More...
 
class  Polling
 Handle long (or short) polling for a bot. More...
 
class  ThreadException
 raises if thread could not start (fatal). More...
 

Enumerations

enum  EChat : short { Private = 0, Group = 1, Supergroup = 2, Channel = 3 }
 Type of the chat. More...
 
enum  EMessageEntity : short {
  mention = 0, hashtag = 1, bot_command = 2, url = 3,
  email = 4, bold = 5, italic = 6, code = 7,
  pre = 8, text_link = 9, text_mention = 10
}
 Type of the entity. More...
 
enum  EParseMode : short { None = 0, HTML = 1, Markdown = 2 }
 Formattation options. More...
 
enum  EButton : short {
  URL = 0, CallbackData = 1, SwitchInlineQuery = 2, SwitchInlineQueryCurrentChat = 3,
  CallbackGame = 4
}
 Type of the inlineKeyboardButton to add in the reply markup. More...
 
enum  EServiceMessage : short {
  none, delete_chat_photo, group_chat_created, supergroup_chat_created,
  channel_chat_created
}
 Service message received. More...
 

Detailed Description

main namespace for Cppgram