helpers library

PaperPlane Helpers Library. Import this to use some helpers.

Classes

Bot
This is "a bridge" that connects Bot concept and User (telegram object) concept. This object represents a Telegram Bot, a User with more information.
BotFile
It creates a virtual BotFile from a file. It helps creating a PaperPlane instance from a file.
ChatID
This helps managing chat_id field in API.
Constant
Contains every telegram constants for future uses.
InputMediaLuggage
It helps creating an Input Media for TelegramAPIs. For example you can find it useful when sending a sendMediaGroup. For now sendMediaGroup accepts only photos and videos.
InputMediaType
It helps getting and setting an InputMedia type.
Luggage
This object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.
MessageEntityType
A list of entity type you can find inside a message.
UpdateType
A list of update type, usable for filtering the updates.

Enums

ChatAction
Contains every type of chat action.
DiceType
Contains every type of sendDice animations.
EncryptedPassportElementSource
Contains every type of encrypted passport element source.
EncryptedPassportElementType
Contains every type of encrypted passport element type.
MaskPositionPoint
Contains every type of mask position point.
ParseMode
A list of parsing mode types for telegram.
PollType
A list of Poll types for telegram.