mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-02 06:39:41 +00:00
54c55d2dc628fe479431b4c8f69319767cb9d2aa
TelegramBotAPI
What is it?
It is one more project which wish to be useful and full Telegram Bots API bridge for Kotlin. Most part of some specific solves or unuseful moments are describing by official Telegram Bot API.
How to work with library?
By default in any documentation will be meaning that you have variable in scope with names
Name of variable | Description | Where to get? (Examples) |
---|---|---|
executor | RequestsExecutor | Ktor RequestExecutor realisation |
Requests Examples
Get Me
executor.execute(GetMe())
As a result you will receive User
object. This object used as is now (as in API documentation), but it is possible
that this class will be renamed to RawUser
and you will be able to get real realisation of this object like Bot
(in
cases when isBot
== true
) or User
(otherwise)
Description
Type-safe library for work with Telegram Bot API
dev-inmo-tgbotapihacktoberfesthacktoberfest-2021hacktoberfest2020hacktoberfest2021kotlinkotlin-jskotlin-jvmkotlin-librarykotlin-multiplatformtelegramtelegram-bot-apitelegrambotapitgbotapi
Readme
Apache-2.0
192 MiB
Languages
Kotlin
100%