1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-14 04:13:47 +00:00
Type-safe library for work with Telegram Bot API
Go to file
2019-02-07 12:47:08 +08:00
gradle/wrapper init 2018-12-26 16:21:52 +08:00
src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI add Audio InlineQueryResult 2019-02-07 12:47:08 +08:00
.gitignore init 2018-12-26 16:21:52 +08:00
build.gradle start 0.9.3 2019-02-05 12:27:33 +08:00
CHANGELOG.md InputMessageContent filling 2019-02-07 11:25:49 +08:00
gradle.properties refactoring and fixes 2019-01-24 12:01:51 +08:00
gradlew init 2018-12-26 16:21:52 +08:00
gradlew.bat init 2018-12-26 16:21:52 +08:00
LICENSE init 2018-12-26 16:21:52 +08:00
maven.publish.gradle improve pom creating for maven publication 2018-12-29 18:45:51 +08:00
publish.gradle add opportunity to use properties of project in user and key of bintray publication 2018-12-28 10:40:24 +08:00
README.md add badges 2018-12-28 13:26:15 +08:00
settings.gradle init 2018-12-26 16:21:52 +08:00

TelegramBotAPI

Download Build Status

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)