paperplane library
PaperPlane Library. Import this if you want to do a simple bot.
Classes
- API
- You can find all Telegram API methods.
- Dispatcher
- It dispatches the updates into different queues.
- LongPolling
- It helps creating a long polling bot.
- PaperPlane
- This is the brain of my Wrapper. You need at least "import 'package:paperplane/paperplane.dart'" to create a simple Bot using PaperPlane.
- Telegram
-
It helps connecting
TelegramClientand API. It also contains the bot token. It's the Telegram API headquarter, it builds all the methods by creating API object using the created client. It also make sure the proxy set is used to create the HTTP Client. - Updater
- It helps fetching the updates. The user can use this to manage the updates directly.
- Webhook
- It helps creating a Webhook bot.
Extensions
- MessageEntityHelper on Message
- It helps managing a MessageEntity or more inside a message.
- MessageHelper on Message
-
Helper for Message.
Each function have
quoteMessageenabled. It means it quotes the message you want to reply. For disabling it, just set quoteMessage to False. - PaperPlaneDispatcherExtension on PaperPlane
- It extends PaperPlane by adding dispatcher functions.