xxtelebot  1.4.1.0
A simple Telegram Bot implementation in C++
Classes | Typedefs | Enumerations | Variables
tgbot::methods::types Namespace Reference

API Methods parameter types. More...

Classes

struct  ChatMemberPromote
 
struct  ChatMemberRestrict
 
struct  ForceReply
 
struct  InlineKeyboardButton
 
struct  InlineKeyboardMarkup
 
struct  InlineQueryResult
 
struct  InlineQueryResultArticle
 
struct  InlineQueryResultAudio
 
struct  InlineQueryResultCachedAudio
 
struct  InlineQueryResultCachedDocument
 
struct  InlineQueryResultCachedGif
 
struct  InlineQueryResultCachedMpeg4Gif
 
struct  InlineQueryResultCachedPhoto
 
struct  InlineQueryResultCachedSticker
 
struct  InlineQueryResultCachedVideo
 
struct  InlineQueryResultCachedVoice
 
struct  InlineQueryResultContact
 
struct  InlineQueryResultDocument
 
struct  InlineQueryResultGame
 
struct  InlineQueryResultGif
 
struct  InlineQueryResultLocation
 
struct  InlineQueryResultMpeg4Gif
 
struct  InlineQueryResultPhoto
 
struct  InlineQueryResultVenue
 
struct  InlineQueryResultVideo
 
struct  InlineQueryResultVoice
 
struct  InputContactMessageContent
 
struct  InputLocationMessageContent
 
struct  InputMedia
 
struct  InputMediaAnimation
 
struct  InputMediaAudio
 
struct  InputMediaDocument
 
struct  InputMediaPhoto
 
struct  InputMediaVideo
 
struct  InputMessageContent
 
struct  InputTextMessageContent
 
struct  InputVenueMessageContent
 
struct  Invoice
 This struct contains parameters for sendInvoice method. More...
 
struct  LabeledPrice
 
struct  LoginUrl
 
struct  ReplyKeyboardMarkup
 
struct  ReplyKeyboardRemove
 
struct  ReplyMarkup
 
struct  ShippingOption
 

Typedefs

using InlineQueryResultsVector = std::vector<::tgbot::types::Ptr< InlineQueryResult >>
 
using KeyboardButton = ::tgbot::types::KeyboardButton
 
using CallbackGame = ::tgbot::types::CallbackGame
 

Enumerations

enum  ParseMode { DEFAULT, MARKDOWN, HTML }
 Parsing mode to be used.
 
enum  ChatAction {
  TYPING, UPLOAD_PHOTO, RECORD_VIDEO, UPLOAD_VIDEO,
  RECORD_AUDIO, UPLOAD_AUDIO, UPLOAD_DOCUMENT, FIND_LOCATION,
  RECORD_VIDEO_NOTE, UPLOAD_VIDEO_NOTE
}
 What the bot is doing.
 
enum  FileSource { FileSource::EXTERNAL, FileSource::LOCAL_UPLOAD }
 Choose if filename should be treated as file_id or uploaded via multipart. More...
 

Variables

constexpr char iqrTypeArticle [] = "article"
 
constexpr char iqrTypeDocument [] = "document"
 
constexpr char iqrTypeGif [] = "gif"
 
constexpr char iqrTypeMpeg4Gif [] = "mpeg4_gif"
 
constexpr char iqrTypePhoto [] = "photo"
 
constexpr char iqrTypeVideo [] = "video"
 
constexpr char iqrTypeAudio [] = "audio"
 
constexpr char iqrTypeLocation [] = "location"
 
constexpr char iqrTypeVenue [] = "venue"
 
constexpr char iqrTypeContact [] = "contact"
 
constexpr char iqrTypeGame [] = "game"
 
constexpr char iqrTypeVoice [] = "voice"
 
constexpr char imTypePhoto [] = "photo"
 
constexpr char imTypeVideo [] = "video"
 
constexpr char imTypeAudio [] = "audio"
 
constexpr char imTypeAnimation [] = "animation"
 
constexpr char imTypeDocument [] = "document"
 

Detailed Description

API Methods parameter types.

Enumeration Type Documentation

Choose if filename should be treated as file_id or uploaded via multipart.

Enumerator
EXTERNAL 

trait as file_id

LOCAL_UPLOAD 

trait as local upload via multipart