mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-11-17 04:20:13 +00:00
Compare commits
65 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f121e5f9c3 | |||
| 7f4fe318c5 | |||
| dbf5c2dbb2 | |||
| 105415873d | |||
| ff32fd1dfc | |||
| 006251ed07 | |||
| 9307582654 | |||
| fe11a2119e | |||
| c31403c1a2 | |||
| 0260e7bedc | |||
| fa43a55f26 | |||
| e9e1f4b9cf | |||
| e7b5b9184d | |||
| 81aa3f2307 | |||
| a9fe584504 | |||
| 4c8861ba79 | |||
| 0ec18cbf06 | |||
| 7008f312dc | |||
| 85317a510e | |||
| d629aa206e | |||
| 6394e1a52b | |||
| 23dca3d307 | |||
| 3032aa8474 | |||
| db19b69ca0 | |||
| f3827f81a7 | |||
| 0532dbb1ae | |||
| efc2681da8 | |||
| 735ed9fd86 | |||
| e856dc4754 | |||
| 0706ff1f95 | |||
| 336b830b0b | |||
| 1a638fe0a5 | |||
| 45467e5bd7 | |||
| 8419b0ab6a | |||
| 49573607fb | |||
| 35fe48db35 | |||
| 590db3e672 | |||
| ea40474c47 | |||
| 7354389f2d | |||
| 1f20ae16aa | |||
| 095c91bf39 | |||
| dc173d752c | |||
| a1788e35b2 | |||
| ea224fd765 | |||
| 7f51544bb9 | |||
| dfb22b0e89 | |||
| e675e841da | |||
| dea43aad8e | |||
| 52e25e934d | |||
| acc067585d | |||
| 47aa1a0795 | |||
| b40cc0c1ea | |||
| b5632626ad | |||
| 67fafdac00 | |||
| 738e628a89 | |||
| 420b846466 | |||
| 05e8c9c90d | |||
| e776c5182f | |||
| be5b3745b9 | |||
| 0de1d9cfda | |||
| 01da98d2fe | |||
| e985100c21 | |||
| 671faabef9 | |||
| bb9c9e22a2 | |||
| 42228f0eaa |
7
.github/labeler.yml
vendored
Normal file
7
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
api: "TelegramBotAPI-extensions-api/**"
|
||||
utils: "TelegramBotAPI-extensions-utils/**"
|
||||
core: "TelegramBotAPI/**" # currently not work
|
||||
|
||||
code: "**/*.kt"
|
||||
gradle: "**/*.gradle"
|
||||
markdown: "**/*.md"
|
||||
13
.github/workflows/greetings.yml
vendored
Normal file
13
.github/workflows/greetings.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Greetings
|
||||
|
||||
on: [pull_request, issues]
|
||||
|
||||
jobs:
|
||||
greeting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Welcome with your first issue'
|
||||
pr-message: 'Welcome with your first PullRequest'
|
||||
18
.github/workflows/label.yml
vendored
Normal file
18
.github/workflows/label.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# This workflow will triage pull requests and apply a label based on the
|
||||
# paths that are modified in the pull request.
|
||||
#
|
||||
# To use this workflow, you will need to set up a .github/labeler.yml
|
||||
# file with configuration. For more information, see:
|
||||
# https://github.com/actions/labeler/blob/master/README.md
|
||||
|
||||
name: "Pull Request Labeler"
|
||||
on:
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
41
CHANGELOG.md
41
CHANGELOG.md
@@ -49,6 +49,47 @@
|
||||
* `closePollExactAfter`
|
||||
* `closePollAfter`
|
||||
|
||||
### 0.27.4
|
||||
|
||||
* `TelegramBotAPI-extensions-utils`:
|
||||
* Several extensions for updates was added:
|
||||
* `onlyBaseMessageUpdates`
|
||||
* `onlySentMessageUpdates`
|
||||
* `onlyEditMessageUpdates`
|
||||
* `onlyMediaGroupsUpdates`
|
||||
* `onlySentMediaGroupUpdates`
|
||||
* `onlyEditMediaGroupUpdates`
|
||||
* Renames in chat filters extensions:
|
||||
* `filterBaseMessageUpdates` -> `filterBaseMessageUpdatesByChatId` and `filterBaseMessageUpdatesByChat`
|
||||
* `filterSentMediaGroupUpdates` -> `filterSentMediaGroupUpdatesByChatId` and `filterSentMediaGroupUpdatesByChat`
|
||||
|
||||
### 0.27.3
|
||||
|
||||
* `TelegramBotAPI`:
|
||||
* `UpdateDeserializationStrategy` is publicly available now
|
||||
* All `setWebhook` extensions was marked as deprecated, renamed and replaced into `TelegramBotAPI-extensions-utils`
|
||||
* Typealias `ExceptionHandler` was added - it will be used for `handleSafely`
|
||||
* `SetWebhook` factories signatures was changed (backward compatibility was not broken)
|
||||
* `executeUnsafe` now working differently
|
||||
* Now it is possible to pass exceptions handler into `executeUnsafe`
|
||||
* `BasketballDiceAnimationType` was added
|
||||
* `UnknownDiceAnimationType` now is deprecated due to renaming - currently it is typealias for `CustomDiceAnimationType`
|
||||
* `CustomDiceAnimationType` now is `data` class instead of common class
|
||||
* `FlowsUpdatesFilter` will use size 64 by default for internal broadcast channels
|
||||
* `TelegramBotAPI-extensions-api`:
|
||||
* Long Polling extensions now are deprecated in this project. It was replaced into `TelegramBotAPI-extensions-utils`
|
||||
* Several `telegramBot` functions was renamed into `telegramBotWithCustomClientConfig`
|
||||
* Add one more `setWebhookInfo` realisation
|
||||
* `TelegramBotAPI-extensions-utils`:
|
||||
* Extension `toTelegramUpdate` was added
|
||||
* Long Polling extensions were added
|
||||
* Updates utils were added
|
||||
* New extensions `startListenWebhooks`, `setWebhookInfoAndStartListenWebhooks` and `includeWebhookHandlingInRoute` was added
|
||||
* New extension `CoroutineScope#updateHandlerWithMediaGroupsAdaptation` was added
|
||||
* New extension `flowsUpdatesFilter` was added
|
||||
* `TelegramBotAPI-all`:
|
||||
* Project was created
|
||||
|
||||
### 0.27.2
|
||||
|
||||
* `Common`:
|
||||
|
||||
61
README.md
61
README.md
@@ -1,10 +1,11 @@
|
||||
# TelegramBotAPI
|
||||
|
||||
| Common info | [](https://github.com/KotlinBy/awesome-kotlin) [](https://t.me/InMoTelegramBotAPI) [](https://travis-ci.com/InsanusMokrassar/TelegramBotAPI) |
|
||||
| Common info | [](https://github.com/KotlinBy/awesome-kotlin) [](https://teleg.one/InMoTelegramBotAPI) [](https://travis-ci.com/InsanusMokrassar/TelegramBotAPI) |
|
||||
| -------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| TelegramBotAPI status | [](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI/_latestVersion) [](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI) |
|
||||
| TelegramBotAPI Extensions status | [](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api/_latestVersion) [](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-api) |
|
||||
| TelegramBotAPI Util Extensions status | [](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/_latestVersion) [](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-utils) |
|
||||
| TelegramBotAPI All status | [](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-all/_latestVersion) [](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-all) |
|
||||
|
||||
It is a complex of libraries for working with `TelegramBotAPI` in type-safe and strict way as much as it possible. In
|
||||
the list of this complex currently next projects:
|
||||
@@ -15,6 +16,7 @@ the list of this complex currently next projects:
|
||||
`RequestsExecutor`), which allows to use the core library in more pleasant way
|
||||
* [TelegramBotAPI Util Extensions](TelegramBotAPI-extensions-utils/README.md) - contains extensions for more comfortable
|
||||
work with commands, updates and other different things
|
||||
* [TelegramBotAPI All](TelegramBotAPI-all/README.md) - concentration of all previously mentioned libraries
|
||||
|
||||
Most part of some specific solves or unuseful
|
||||
moments are describing by official [Telegram Bot API](https://core.telegram.org/bots/api).
|
||||
@@ -62,15 +64,64 @@ kotlin {
|
||||
|
||||
## Ok, where should I start?
|
||||
|
||||
In most cases, the most simple way will be to implement
|
||||
[TelegramBotAPI Extensions](TelegramBotAPI-extensions-api/README.md) and
|
||||
[TelegramBotAPI Util Extensions](TelegramBotAPI-extensions-utils/README.md) for the reason that they contains more
|
||||
simple tools. If you want to dive deeper in the core of library or develop something for it - welcome to
|
||||
In most cases, the most simple way will be to implement [TelegramBotAPI All](TelegramBotAPI-all/README.md) - it contains
|
||||
all necessary tools for comfort usage of this library. If you want to exclude some libraries, you can implement just
|
||||
[TelegramBotAPI API Extensions](TelegramBotAPI-extensions-api/README.md),
|
||||
[TelegramBotAPI Util Extensions](TelegramBotAPI-extensions-utils/README.md) or even
|
||||
[TelegramBotAPI](TelegramBotAPI/README.md).
|
||||
|
||||
If you want to dive deeper in the core of library or develop something for it - welcome to learn more from
|
||||
[TelegramBotAPI](TelegramBotAPI/README.md) and our [Telegram Chat](https://teleg.one/InMoTelegramBotAPIChat).
|
||||
|
||||
Anyway, all libraries are very typical inside of them. Examples:
|
||||
|
||||
* In `TelegramBotAPI` common request look like `requestsExecutor.execute(SomeRequest())`
|
||||
* `TelegramBotAPI-extensions-api` typical syntax look like `requestsExecutor.someRequest()` (in most cases it would be
|
||||
better to use `bot` name instead of `requestsExecutor`)
|
||||
* `TelegramBotAPI-extensions-utils` will look like `filter.filterBaseMessageUpdates(chatId).filterExactCommands(Regex("^.*$"))...`
|
||||
|
||||
## Build instruction
|
||||
|
||||
If you want to build this project or to contribute, there are several recommendations:
|
||||
|
||||
### Build
|
||||
|
||||
In case if you want to just build project, run next command:
|
||||
|
||||
```bash
|
||||
./gradlew clean build
|
||||
```
|
||||
|
||||
On windows:
|
||||
|
||||
```
|
||||
gradlew.bat clean build
|
||||
```
|
||||
|
||||
### Publishing for work with your version locally
|
||||
|
||||
In case, if you want to work in your other projects using your modification (or some state) of this library,
|
||||
you can use next code:
|
||||
|
||||
```bash
|
||||
./gradlew clean build publishToMavenLocal
|
||||
```
|
||||
|
||||
On windows:
|
||||
|
||||
```
|
||||
gradlew.bat clean build publishToMavenLocal
|
||||
```
|
||||
|
||||
But you must remember, that in this case your local maven repo must be the first one from
|
||||
your project retrieving libraries:
|
||||
|
||||
```groovy
|
||||
repositories {
|
||||
mavenLocal() // that must be the first one
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
```
|
||||
|
||||
Besides, for your own version you can change variable `library_version` in the file [gradle.properties](./gradle.properties).
|
||||
|
||||
16
TelegramBotAPI-all/README.md
Normal file
16
TelegramBotAPI-all/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# TelegramBotAPI-all
|
||||
|
||||
Concentration of all TelegramBotAPI libraries:
|
||||
|
||||
* [TelegramBotAPI](../TelegramBotAPI/README.md)
|
||||
* [TelegramBotAPI Extensions](../TelegramBotAPI-extensions-api/README.md)
|
||||
* [TelegramBotAPI Util Extensions](../TelegramBotAPI-extensions-utils/README.md)
|
||||
|
||||
## Implementation
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
// ...
|
||||
implementation "com.github.insanusmokrassar:TelegramBotAPI-all:tgBotAPIVersion"
|
||||
}
|
||||
```
|
||||
52
TelegramBotAPI-all/build.gradle
Normal file
52
TelegramBotAPI-all/build.gradle
Normal file
@@ -0,0 +1,52 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
||||
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$gradle_bintray_plugin_version"
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform" version "$kotlin_version"
|
||||
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
|
||||
}
|
||||
|
||||
project.version = "$library_version"
|
||||
project.group = "$library_group"
|
||||
|
||||
apply from: "publish.gradle"
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url "https://kotlin.bintray.com/kotlinx" }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js()
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
dependencies {
|
||||
implementation kotlin('stdlib')
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "${project.group}:TelegramBotAPI:$library_version"
|
||||
api "${project.group}:TelegramBotAPI-extensions-api:$library_version"
|
||||
api "${project.group}:TelegramBotAPI-extensions-utils:$library_version"
|
||||
} else {
|
||||
api project(":TelegramBotAPI")
|
||||
api project(":TelegramBotAPI-extensions-api")
|
||||
api project(":TelegramBotAPI-extensions-utils")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
53
TelegramBotAPI-all/maven.publish.gradle
Normal file
53
TelegramBotAPI-all/maven.publish.gradle
Normal file
@@ -0,0 +1,53 @@
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
task javadocsJar(type: Jar) {
|
||||
classifier = 'javadoc'
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
project.publishing.publications.all {
|
||||
// rename artifacts
|
||||
groupId "${project.group}"
|
||||
if (it.name.contains('kotlinMultiplatform')) {
|
||||
artifactId = "${project.name}"
|
||||
} else {
|
||||
artifactId = "${project.name}-$name"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications.all {
|
||||
artifact javadocsJar
|
||||
|
||||
pom {
|
||||
description = "This project just include all subproject of TelegramBotAPI"
|
||||
name = "Telegram Bot API All"
|
||||
url = "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-all"
|
||||
|
||||
scm {
|
||||
developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
url = "https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
}
|
||||
|
||||
developers {
|
||||
|
||||
developer {
|
||||
id = "InsanusMokrassar"
|
||||
name = "Ovsiannikov Aleksei"
|
||||
email = "ovsyannikov.alexey95@gmail.com"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
licenses {
|
||||
|
||||
license {
|
||||
name = "Apache Software License 2.0"
|
||||
url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
TelegramBotAPI-all/mpp_publish_template.json
Normal file
1
TelegramBotAPI-all/mpp_publish_template.json
Normal file
@@ -0,0 +1 @@
|
||||
{"bintrayConfig":{"repo":"StandardRepository","packageName":"${project.name}","packageVcs":"https://github.com/InsanusMokrassar/TelegramBotAPI"},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"}],"mavenConfig":{"name":"Telegram Bot API All","description":"This project just include all subproject of TelegramBotAPI","url":"https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-all","vcsUrl":"https://github.com/insanusmokrassar/TelegramBotAPI.git","developers":[{"id":"InsanusMokrassar","name":"Ovsiannikov Aleksei","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"}
|
||||
55
TelegramBotAPI-all/publish.gradle
Normal file
55
TelegramBotAPI-all/publish.gradle
Normal file
@@ -0,0 +1,55 @@
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
|
||||
apply from: "maven.publish.gradle"
|
||||
|
||||
bintray {
|
||||
user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER')
|
||||
key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
|
||||
filesSpec {
|
||||
from "${buildDir}/publications/"
|
||||
eachFile {
|
||||
String directorySubname = it.getFile().parentFile.name
|
||||
if (it.getName() == "module.json") {
|
||||
if (directorySubname == "kotlinMultiplatform") {
|
||||
it.setPath("${project.name}/${project.version}/${project.name}-${project.version}.module")
|
||||
} else {
|
||||
it.setPath("${project.name}-${directorySubname}/${project.version}/${project.name}-${directorySubname}-${project.version}.module")
|
||||
}
|
||||
} else {
|
||||
if (directorySubname == "kotlinMultiplatform" && it.getName() == "pom-default.xml") {
|
||||
it.setPath("${project.name}/${project.version}/${project.name}-${project.version}.pom")
|
||||
} else {
|
||||
it.exclude()
|
||||
}
|
||||
}
|
||||
}
|
||||
into "${project.group}".replace(".", "/")
|
||||
}
|
||||
pkg {
|
||||
repo = "StandardRepository"
|
||||
name = "${project.name}"
|
||||
vcsUrl = "https://github.com/InsanusMokrassar/TelegramBotAPI"
|
||||
licenses = ["Apache-2.0"]
|
||||
version {
|
||||
name = "${project.version}"
|
||||
released = new Date()
|
||||
vcsTag = "${project.version}"
|
||||
gpg {
|
||||
sign = true
|
||||
passphrase = project.hasProperty('signing.gnupg.passphrase') ? project.property('signing.gnupg.passphrase') : System.getenv('signing.gnupg.passphrase')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bintrayUpload.doFirst {
|
||||
publications = publishing.publications.collect {
|
||||
if (it.name.contains('kotlinMultiplatform')) {
|
||||
null
|
||||
} else {
|
||||
it.name
|
||||
}
|
||||
} - null
|
||||
}
|
||||
|
||||
bintrayUpload.dependsOn publishToMavenLocal
|
||||
@@ -55,14 +55,22 @@ compile "com.github.insanusmokrassar:TelegramBotAPI-extensions-api:$telegrambota
|
||||
## Example of usage and comparison with `TelegramBotAPI`
|
||||
|
||||
Here presented review table for comparison of api from original [TelegramBotAPI](../TelegramBotAPI/README.md#Requests)
|
||||
and extensions-api library:
|
||||
|
||||
In all examples supposed that you have created bot with next approximate lines:
|
||||
and extensions-api library. First of all, this library allow to create bot instance in a new way:
|
||||
|
||||
```kotlin
|
||||
val bot: RequestsExecutor = ...
|
||||
val bot = telegramBot("IT IS YOUR TOKEN")
|
||||
```
|
||||
|
||||
There are a lot of signature for this. For example, you can create bot with next code:
|
||||
|
||||
```kotlin
|
||||
val bot = telegramBot("IT IS YOUR TOKEN") {
|
||||
proxy = ProxyBuilder.socks("127.0.0.1", 1080)
|
||||
}
|
||||
```
|
||||
|
||||
In all examples supposed that you have created bot.
|
||||
|
||||
| TelegramBotAPI | TelegramBotAPI-extensions-api |
|
||||
|----------------|-------------------------------|
|
||||
| bot.execute(GetMe) | bot.getMe() |
|
||||
@@ -70,6 +78,10 @@ val bot: RequestsExecutor = ...
|
||||
|
||||
## Updates
|
||||
|
||||
**Currently, these paragraphs almost outdated due to the fact that extensions for listening of updates and webhooks were
|
||||
replaced into `TelegramBotAPI-extensions-utils`. But, most part of information below is correct with small fixes and
|
||||
adding of `TelegramBotAPI-extensions-utils` dependency.**
|
||||
|
||||
Usually, it is more comfortable to use filter object to get separated types of updates:
|
||||
|
||||
```kotlin
|
||||
|
||||
@@ -40,7 +40,7 @@ kotlin {
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "${project.group}:TelegramBotAPI:$library_version"
|
||||
} else {
|
||||
implementation project(":TelegramBotAPI")
|
||||
api project(":TelegramBotAPI")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,37 +20,33 @@ publishing {
|
||||
publications.all {
|
||||
artifact javadocsJar
|
||||
|
||||
pom.withXml {
|
||||
asNode().children().last() + {
|
||||
resolveStrategy = Closure.DELEGATE_FIRST
|
||||
pom {
|
||||
description = "API extensions which provide work with RequestsExecutor of TelegramBotAPI almost like it is described in original Telegram Bot API reference"
|
||||
name = "Telegram Bot API Extensions for API"
|
||||
url = "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-api"
|
||||
|
||||
description "API extensions which provide work with RequestsExecutor of TelegramBotAPI almost like it is described in original Telegram Bot API reference"
|
||||
name "Telegram Bot API Extensions for API"
|
||||
url "https://insanusmokrassar.github.io/TelegramBotAPI"
|
||||
scm {
|
||||
developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
url = "https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
}
|
||||
|
||||
scm {
|
||||
developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
url "https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
}
|
||||
developers {
|
||||
|
||||
developer {
|
||||
id = "InsanusMokrassar"
|
||||
name = "Ovsiannikov Aleksei"
|
||||
email = "ovsyannikov.alexey95@gmail.com"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
developers {
|
||||
|
||||
developer {
|
||||
id "InsanusMokrassar"
|
||||
name "Ovsiannikov Aleksei"
|
||||
email "ovsyannikov.alexey95@gmail.com"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
licenses {
|
||||
|
||||
license {
|
||||
name "Apache Software License 2.0"
|
||||
url "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"
|
||||
}
|
||||
|
||||
}
|
||||
licenses {
|
||||
|
||||
license {
|
||||
name = "Apache Software License 2.0"
|
||||
url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"bintrayConfig":{"repo":"StandardRepository","packageName":"${project.name}","packageVcs":"https://github.com/InsanusMokrassar/TelegramBotAPI"},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"}],"mavenConfig":{"name":"Telegram Bot API Extensions for API","description":"API extensions which provide work with RequestsExecutor of TelegramBotAPI almost like it is described in original Telegram Bot API reference","url":"https://insanusmokrassar.github.io/TelegramBotAPI","vcsUrl":"https://github.com/insanusmokrassar/TelegramBotAPI.git","developers":[{"id":"InsanusMokrassar","name":"Ovsiannikov Aleksei","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"}
|
||||
{"bintrayConfig":{"repo":"StandardRepository","packageName":"${project.name}","packageVcs":"https://github.com/InsanusMokrassar/TelegramBotAPI"},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"}],"mavenConfig":{"name":"Telegram Bot API Extensions for API","description":"API extensions which provide work with RequestsExecutor of TelegramBotAPI almost like it is described in original Telegram Bot API reference","url":"https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-api","vcsUrl":"https://github.com/insanusmokrassar/TelegramBotAPI.git","developers":[{"id":"InsanusMokrassar","name":"Ovsiannikov Aleksei","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.TelegramAPIUrlsKeeper
|
||||
import io.ktor.client.HttpClient
|
||||
import io.ktor.client.HttpClientConfig
|
||||
import io.ktor.client.engine.HttpClientEngine
|
||||
import io.ktor.client.engine.ProxyConfig
|
||||
|
||||
/**
|
||||
* @param proxy Standard ktor [ProxyConfig]
|
||||
* @param ktorClientEngine Engine like [io.ktor.client.engine.cio.CIO]
|
||||
* @param ktorClientConfig Config block for preconfiguring of bot [HttpClient]
|
||||
*/
|
||||
data class BotBuilder internal constructor(
|
||||
var proxy: ProxyConfig? = null,
|
||||
var ktorClientEngine: HttpClientEngine? = null,
|
||||
var ktorClientConfig: (HttpClientConfig<*>.() -> Unit) ? = null
|
||||
) {
|
||||
internal fun createHttpClient(): HttpClient = ktorClientEngine ?.let { engine ->
|
||||
HttpClient(engine) {
|
||||
ktorClientConfig ?.let { it() }
|
||||
engine {
|
||||
proxy = this@BotBuilder.proxy ?: proxy
|
||||
}
|
||||
}
|
||||
} ?: HttpClient {
|
||||
ktorClientConfig ?.let { it() }
|
||||
engine {
|
||||
proxy = this@BotBuilder.proxy ?: proxy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Created by [telegramBotWithCustomClientConfig] function [RequestsExecutor]. This executor will be preconfigured using [token] and
|
||||
* [block]
|
||||
*/
|
||||
fun telegramBot(
|
||||
token: String,
|
||||
block: BotBuilder.() -> Unit
|
||||
): RequestsExecutor = telegramBot(
|
||||
TelegramAPIUrlsKeeper(token),
|
||||
BotBuilder().apply(block).createHttpClient()
|
||||
)
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.bot.Ktor.KtorRequestsExecutor
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.TelegramAPIUrlsKeeper
|
||||
import io.ktor.client.HttpClient
|
||||
import io.ktor.client.HttpClientConfig
|
||||
import io.ktor.client.engine.HttpClientEngine
|
||||
|
||||
/**
|
||||
* Allows to create bot using bot [urlsKeeper] and already prepared [client]
|
||||
*/
|
||||
fun telegramBot(
|
||||
urlsKeeper: TelegramAPIUrlsKeeper,
|
||||
client: HttpClient
|
||||
): RequestsExecutor = KtorRequestsExecutor(
|
||||
urlsKeeper,
|
||||
client
|
||||
)
|
||||
|
||||
/**
|
||||
* Allows to create bot using bot [urlsKeeper] and specify [HttpClientEngine] by passing [clientEngine] param and optionally
|
||||
* configure [HttpClient] using [clientConfig]
|
||||
*/
|
||||
fun telegramBotWithCustomClientConfig(
|
||||
urlsKeeper: TelegramAPIUrlsKeeper,
|
||||
clientEngine: HttpClientEngine,
|
||||
clientConfig: HttpClientConfig<*>.() -> Unit = {}
|
||||
): RequestsExecutor = telegramBot(
|
||||
urlsKeeper,
|
||||
HttpClient(clientEngine, clientConfig)
|
||||
)
|
||||
|
||||
/**
|
||||
* Allows to create bot using bot [urlsKeeper] and optionally configure [HttpClient] using [clientConfig]
|
||||
*/
|
||||
fun telegramBotWithCustomClientConfig(
|
||||
urlsKeeper: TelegramAPIUrlsKeeper,
|
||||
clientConfig: HttpClientConfig<*>.() -> Unit = {}
|
||||
): RequestsExecutor = telegramBot(
|
||||
urlsKeeper,
|
||||
HttpClient(clientConfig)
|
||||
)
|
||||
|
||||
/**
|
||||
* Allows to create bot using bot [token]
|
||||
*/
|
||||
fun telegramBot(
|
||||
token: String
|
||||
): RequestsExecutor = telegramBotWithCustomClientConfig(TelegramAPIUrlsKeeper(token))
|
||||
|
||||
/**
|
||||
* Allows to create bot using bot [token] and already prepared [client]
|
||||
*/
|
||||
fun telegramBot(
|
||||
token: String,
|
||||
client: HttpClient
|
||||
): RequestsExecutor = telegramBot(TelegramAPIUrlsKeeper(token), client)
|
||||
|
||||
/**
|
||||
* Allows to create bot using bot [token] and configure [HttpClient] using [clientConfig]
|
||||
*/
|
||||
fun telegramBotWithCustomClientConfig(
|
||||
token: String,
|
||||
clientConfig: HttpClientConfig<*>.() -> Unit
|
||||
): RequestsExecutor = telegramBotWithCustomClientConfig(TelegramAPIUrlsKeeper(token), clientConfig)
|
||||
|
||||
/**
|
||||
* Allows to create bot using bot [token] and specify [HttpClientEngine] by passing [clientEngine] param and optionally
|
||||
* configure [HttpClient] using [clientConfig]
|
||||
*/
|
||||
fun telegramBot(
|
||||
token: String,
|
||||
clientEngine: HttpClientEngine,
|
||||
clientConfig: HttpClientConfig<*>.() -> Unit = {}
|
||||
): RequestsExecutor = telegramBotWithCustomClientConfig(TelegramAPIUrlsKeeper(token), clientEngine, clientConfig)
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api
|
||||
|
||||
import kotlinx.serialization.json.Json
|
||||
|
||||
@Suppress("EXPERIMENTAL_API_USAGE")
|
||||
internal val nonstrictJsonFormat = Json {
|
||||
isLenient = true
|
||||
ignoreUnknownKeys = true
|
||||
serializeSpecialFloatingPointValues = true
|
||||
useArrayPolymorphism = true
|
||||
}
|
||||
@@ -10,14 +10,14 @@ import com.github.insanusmokrassar.TelegramBotAPI.types.update.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.PreviewFeature
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.handleSafely
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.*
|
||||
import kotlinx.coroutines.*
|
||||
|
||||
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||
fun RequestsExecutor.startGettingOfUpdates(
|
||||
timeoutSeconds: Seconds = 30,
|
||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
||||
exceptionsHandler: (suspend (Exception) -> Unit)? = null,
|
||||
exceptionsHandler: (ExceptionHandler<Unit>)? = null,
|
||||
allowedUpdates: List<String>? = null,
|
||||
updatesReceiver: UpdateReceiver<Update>
|
||||
): Job = scope.launch {
|
||||
@@ -71,6 +71,7 @@ fun RequestsExecutor.startGettingOfUpdates(
|
||||
@FlowPreview
|
||||
@PreviewFeature
|
||||
@Suppress("unused")
|
||||
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||
fun RequestsExecutor.startGettingFlowsUpdates(
|
||||
timeoutSeconds: Seconds = 30,
|
||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
||||
@@ -82,6 +83,7 @@ fun RequestsExecutor.startGettingFlowsUpdates(
|
||||
startGettingOfUpdates(timeoutSeconds, scope, exceptionsHandler, allowedUpdates, asUpdateReceiver)
|
||||
}
|
||||
|
||||
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||
fun RequestsExecutor.startGettingOfUpdates(
|
||||
updatesFilter: UpdatesFilter,
|
||||
timeoutSeconds: Seconds = 30,
|
||||
@@ -95,6 +97,7 @@ fun RequestsExecutor.startGettingOfUpdates(
|
||||
updatesFilter.asUpdateReceiver
|
||||
)
|
||||
|
||||
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||
fun RequestsExecutor.startGettingOfUpdates(
|
||||
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
||||
messageMediaGroupCallback: UpdateReceiver<MessageMediaGroupUpdate>? = null,
|
||||
@@ -140,6 +143,7 @@ fun RequestsExecutor.startGettingOfUpdates(
|
||||
}
|
||||
|
||||
@Suppress("unused")
|
||||
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||
fun RequestsExecutor.startGettingOfUpdates(
|
||||
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
||||
mediaGroupCallback: UpdateReceiver<MediaGroupUpdate>? = null,
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.utils
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.extensions.api.InternalUtils.convertWithMediaGroupUpdates
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.MediaGroupMessage
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.BaseMessageUpdate
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.UpdateReceiver
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.extensions.accumulateByKey
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.channels.Channel
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
/**
|
||||
* Create [UpdateReceiver] object which will correctly accumulate updates and send into output updates which INCLUDE
|
||||
* [com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.MediaGroupUpdate]s.
|
||||
*
|
||||
* @see UpdateReceiver
|
||||
*/
|
||||
fun CoroutineScope.updateHandlerWithMediaGroupsAdaptation(
|
||||
output: UpdateReceiver<Update>,
|
||||
mediaGroupsDebounceMillis: Long = 1000L
|
||||
): UpdateReceiver<Update> {
|
||||
val updatesChannel = Channel<Update>(Channel.UNLIMITED)
|
||||
val mediaGroupChannel = Channel<Pair<String, BaseMessageUpdate>>(Channel.UNLIMITED)
|
||||
val mediaGroupAccumulatedChannel = mediaGroupChannel.accumulateByKey(
|
||||
mediaGroupsDebounceMillis,
|
||||
scope = this
|
||||
)
|
||||
|
||||
launch {
|
||||
launch {
|
||||
for (update in updatesChannel) {
|
||||
when (val data = update.data) {
|
||||
is MediaGroupMessage -> mediaGroupChannel.send("${data.mediaGroupId}${update::class.simpleName}" to update as BaseMessageUpdate)
|
||||
else -> output(update)
|
||||
}
|
||||
}
|
||||
}
|
||||
launch {
|
||||
for ((_, mediaGroup) in mediaGroupAccumulatedChannel) {
|
||||
mediaGroup.convertWithMediaGroupUpdates().forEach {
|
||||
output(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return { updatesChannel.send(it) }
|
||||
}
|
||||
@@ -5,6 +5,22 @@ import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.FileId
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.MultipartFile
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.webhook.SetWebhook
|
||||
|
||||
/**
|
||||
* Use this method to send information about webhook (like [url])
|
||||
*/
|
||||
suspend fun RequestsExecutor.setWebhookInfo(
|
||||
url: String,
|
||||
maxAllowedConnections: Int? = null,
|
||||
allowedUpdates: List<String>? = null
|
||||
) = execute(
|
||||
SetWebhook(
|
||||
url, maxAllowedConnections, allowedUpdates
|
||||
)
|
||||
)
|
||||
|
||||
/**
|
||||
* Use this method to send information about webhook (like [url] and [certificate])
|
||||
*/
|
||||
suspend fun RequestsExecutor.setWebhookInfo(
|
||||
url: String,
|
||||
certificate: FileId,
|
||||
@@ -16,6 +32,9 @@ suspend fun RequestsExecutor.setWebhookInfo(
|
||||
)
|
||||
)
|
||||
|
||||
/**
|
||||
* Use this method to send information about webhook (like [url] and [certificate])
|
||||
*/
|
||||
suspend fun RequestsExecutor.setWebhookInfo(
|
||||
url: String,
|
||||
certificate: MultipartFile,
|
||||
@@ -1,5 +1,23 @@
|
||||
# TelegramBotAPI Util Extensions
|
||||
|
||||
- [TelegramBotAPI Util Extensions](#telegrambotapi-util--extensions)
|
||||
* [What is it?](#what-is-it-)
|
||||
* [How to implement library?](#how-to-implement-library-)
|
||||
+ [Maven](#maven)
|
||||
+ [Gradle](#gradle)
|
||||
* [How to use?](#how-to-use-)
|
||||
+ [Updates](#updates)
|
||||
- [Long polling](#long-polling)
|
||||
- [WebHooks (currently JVM-only)](#webhooks--currently-jvm-only-)
|
||||
+ [Filters](#filters)
|
||||
- [Sent messages](#sent-messages)
|
||||
* [Common messages](#common-messages)
|
||||
* [Chat actions](#chat-actions)
|
||||
+ [Shortcuts](#shortcuts)
|
||||
- [ScheduledCloseInfo](#scheduledcloseinfo)
|
||||
|
||||
<small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
|
||||
|
||||
[ ](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/_latestVersion)
|
||||
[](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-utils)
|
||||
|
||||
@@ -60,17 +78,120 @@ val filter = FlowsUpdatesFilter(64)
|
||||
Alternative way to use the things below:
|
||||
|
||||
```kotlin
|
||||
val filter = bot.startGettingUpdates(
|
||||
val filter = bot.startGettingFlowsUpdatesByLongPolling(
|
||||
scope = CoroutineScope(Dispatchers.Default)
|
||||
) {
|
||||
// place code from examples here with replacing of `filter` by `this`
|
||||
}
|
||||
```
|
||||
|
||||
### Updates
|
||||
|
||||
As mentioned in [Telegram Bot API reference](https://core.telegram.org/bots/api#getting-updates), there are two ways for
|
||||
updates retrieving:
|
||||
|
||||
* Webhooks
|
||||
* Long Polling
|
||||
|
||||
Both of them you could use in your project using [TelegramBotAPI](../TelegramBotAPI/README.md), but here there are
|
||||
several useful extensions for both of them.
|
||||
|
||||
Anyway, in both of ways it will be useful to know that it is possible to create `UpdateReceiver` object using function
|
||||
`flowsUpdatesFilter`:
|
||||
|
||||
```kotlin
|
||||
val internalChannelsSizes = 128
|
||||
flowsUpdatesFilter(internalChannelsSizes/* default is 64 */) {
|
||||
/* ... */
|
||||
}
|
||||
```
|
||||
|
||||
#### Long polling
|
||||
|
||||
The most simple way is Long Polling and one of the usages was mentioned above:
|
||||
|
||||
```kotlin
|
||||
val filter = bot.startGettingFlowsUpdatesByLongPolling(
|
||||
scope = CoroutineScope(Dispatchers.Default)
|
||||
) {
|
||||
// place code from examples here with replacing of `filter` by `this`
|
||||
}
|
||||
```
|
||||
|
||||
Extension `startGettingFlowsUpdatesByLongPolling` was used in this example, but there are a lot of variations of
|
||||
`startGettingOfUpdatesByLongPolling` and others for getting the same result. Usually, it is supposed that you already
|
||||
have created `filter` object (or something like this) and will pass it into extension:
|
||||
|
||||
```kotlin
|
||||
val filter = FlowsUpdatesFilter(64)
|
||||
bot.startGettingOfUpdatesByLongPolling(
|
||||
filter
|
||||
)
|
||||
```
|
||||
|
||||
But also there are extensions which allow to pass lambdas directly:
|
||||
|
||||
```kotlin
|
||||
bot.startGettingOfUpdatesByLongPolling(
|
||||
{
|
||||
println("Received message update: $it")
|
||||
}
|
||||
)
|
||||
```
|
||||
|
||||
Anyway, it is strictly recommended to pass your `CoroutineScope` object to this method at least for more comfortable
|
||||
management of updates.
|
||||
|
||||
#### WebHooks (currently JVM-only)
|
||||
|
||||
For webhooks there are less number of functions and extensions than for Long Polling (but it is still fully automated):
|
||||
|
||||
```kotlin
|
||||
startListenWebhooks(
|
||||
8081,
|
||||
CIO // require to implement this engine dependency
|
||||
) {
|
||||
// here will be all updates one by one in $it
|
||||
}
|
||||
```
|
||||
|
||||
Besides, there are two additional opportunities:
|
||||
|
||||
* Extension `Route#includeWebhookHandlingInRoute`, which allow you to include webhook processing inside your ktor
|
||||
application without creating of new one server (as it is happening in `startListenWebhooks`)
|
||||
* Extension `RequestsExecutor#setWebhookInfoAndStartListenWebhooks`. It is allow to set up full server (in fact, with
|
||||
`startListenWebhooks`), but also send `SetWebhook` request before and check that it was successful
|
||||
|
||||
### Filters
|
||||
|
||||
There are several filters for flows.
|
||||
|
||||
#### Updates
|
||||
|
||||
In the next table it is supposed that you are using some `Flow` with type from `Base type of update` and apply
|
||||
extension `Extension` and will get `Flow` with type from `Result type of update` column.
|
||||
|
||||
| Base type of update | Extension | Result type of update |
|
||||
| ------------------- | --------- | --------------------- |
|
||||
| `Update` | `onlyBaseMessageUpdates` | `BaseMessageUpdate` |
|
||||
| | | |
|
||||
| `BaseMessageUpdate` | `onlySentMessageUpdates` | `BaseSentMessageUpdate` |
|
||||
| `BaseMessageUpdate` | `onlyEditMessageUpdates` | `BaseEditMessageUpdate` |
|
||||
| `BaseMessageUpdate` | `onlyMediaGroupsUpdates` | `MediaGroupUpdate` |
|
||||
| | | |
|
||||
| `MediaGroupUpdate` | `onlySentMediaGroupUpdates` | `SentMediaGroupUpdate` |
|
||||
| `MediaGroupUpdate` | `onlyEditMediaGroupUpdates` | `EditMediaGroupUpdate` |
|
||||
|
||||
All of these extensions was made for more simple work with the others:
|
||||
|
||||
```kotlin
|
||||
val flow: Flow<BaseMessageUpdate> = ...; // here we are getting flow from somewhere,
|
||||
// for example, FlowsUpdatesFilter#messageFlow
|
||||
flow.onlySentMessageUpdates().filterExactCommands(Regex("start"))
|
||||
```
|
||||
|
||||
Here we have used filter `filterExactCommands` which will pass only `ContentMessage` with only one command `start`
|
||||
|
||||
#### Sent messages
|
||||
|
||||
All sent messages can be filtered for three types:
|
||||
@@ -136,11 +257,11 @@ filter.messageFlow.asChatEventsFlow().onlySupergroupEvents().onEach {
|
||||
)
|
||||
```
|
||||
|
||||
## Shortcuts
|
||||
### Shortcuts
|
||||
|
||||
With shortcuts you are able to use simple factories for several things.
|
||||
|
||||
### ScheduledCloseInfo
|
||||
#### ScheduledCloseInfo
|
||||
|
||||
In case if you are creating some poll, you able to use next shortcuts.
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ kotlin {
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "${project.group}:TelegramBotAPI:$library_version"
|
||||
} else {
|
||||
implementation project(":TelegramBotAPI")
|
||||
api project(":TelegramBotAPI")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,37 +20,33 @@ publishing {
|
||||
publications.all {
|
||||
artifact javadocsJar
|
||||
|
||||
pom.withXml {
|
||||
asNode().children().last() + {
|
||||
resolveStrategy = Closure.DELEGATE_FIRST
|
||||
pom {
|
||||
description = "Util extensions for more useful work with updates and other things"
|
||||
name = "Telegram Bot API Utility Extensions"
|
||||
url = "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-utils"
|
||||
|
||||
description "Util extensions for more useful work with updates and other things"
|
||||
name "Telegram Bot API Utility Extensions"
|
||||
url "https://insanusmokrassar.github.io/TelegramBotAPI"
|
||||
scm {
|
||||
developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
url = "https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
}
|
||||
|
||||
scm {
|
||||
developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
url "https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
}
|
||||
developers {
|
||||
|
||||
developer {
|
||||
id = "InsanusMokrassar"
|
||||
name = "Ovsiannikov Aleksei"
|
||||
email = "ovsyannikov.alexey95@gmail.com"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
developers {
|
||||
|
||||
developer {
|
||||
id "InsanusMokrassar"
|
||||
name "Ovsiannikov Aleksei"
|
||||
email "ovsyannikov.alexey95@gmail.com"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
licenses {
|
||||
|
||||
license {
|
||||
name "Apache Software License 2.0"
|
||||
url "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"
|
||||
}
|
||||
|
||||
}
|
||||
licenses {
|
||||
|
||||
license {
|
||||
name = "Apache Software License 2.0"
|
||||
url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"bintrayConfig":{"repo":"StandardRepository","packageName":"${project.name}","packageVcs":"https://github.com/InsanusMokrassar/TelegramBotAPI"},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"}],"mavenConfig":{"name":"Telegram Bot API Utility Extensions","description":"Util extensions for more useful work with updates and other things","url":"https://insanusmokrassar.github.io/TelegramBotAPI","vcsUrl":"https://github.com/insanusmokrassar/TelegramBotAPI.git","developers":[{"id":"InsanusMokrassar","name":"Ovsiannikov Aleksei","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"}
|
||||
{"bintrayConfig":{"repo":"StandardRepository","packageName":"${project.name}","packageVcs":"https://github.com/InsanusMokrassar/TelegramBotAPI"},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"}],"mavenConfig":{"name":"Telegram Bot API Utility Extensions","description":"Util extensions for more useful work with updates and other things","url":"https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-utils","vcsUrl":"https://github.com/insanusmokrassar/TelegramBotAPI.git","developers":[{"id":"InsanusMokrassar","name":"Ovsiannikov Aleksei","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils
|
||||
|
||||
import kotlinx.serialization.json.Json
|
||||
|
||||
@Suppress("EXPERIMENTAL_API_USAGE")
|
||||
internal val nonstrictJsonFormat = Json {
|
||||
isLenient = true
|
||||
ignoreUnknownKeys = true
|
||||
serializeSpecialFloatingPointValues = true
|
||||
useArrayPolymorphism = true
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.*
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.mapNotNull
|
||||
|
||||
fun Flow<Update>.onlyBaseMessageUpdates(): Flow<BaseMessageUpdate> = mapNotNull {
|
||||
it as? BaseMessageUpdate
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts flow to [Flow] of [BaseSentMessageUpdate]
|
||||
*/
|
||||
fun Flow<BaseMessageUpdate>.onlySentMessageUpdates(): Flow<BaseSentMessageUpdate> = mapNotNull {
|
||||
it as? BaseSentMessageUpdate
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts flow to [Flow] of [BaseSentMessageUpdate]
|
||||
*/
|
||||
fun Flow<BaseMessageUpdate>.onlyEditMessageUpdates(): Flow<BaseEditMessageUpdate> = mapNotNull {
|
||||
it as? BaseEditMessageUpdate
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts flow to [Flow] of [MediaGroupUpdate]. Please, remember that it could be either [EditMediaGroupUpdate]
|
||||
* or [SentMediaGroupUpdate]
|
||||
*
|
||||
* @see onlySentMediaGroupUpdates
|
||||
* @see onlyEditMediaGroupUpdates
|
||||
*/
|
||||
fun Flow<BaseMessageUpdate>.onlyMediaGroupsUpdates(): Flow<MediaGroupUpdate> = mapNotNull {
|
||||
it as? MediaGroupUpdate
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts flow to [Flow] of [SentMediaGroupUpdate]
|
||||
*/
|
||||
fun Flow<MediaGroupUpdate>.onlySentMediaGroupUpdates(): Flow<SentMediaGroupUpdate> = mapNotNull {
|
||||
it as? SentMediaGroupUpdate
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts flow to [Flow] of [EditMediaGroupUpdate]
|
||||
*/
|
||||
fun Flow<MediaGroupUpdate>.onlyEditMediaGroupUpdates(): Flow<EditMediaGroupUpdate> = mapNotNull {
|
||||
it as? EditMediaGroupUpdate
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.FlowsUpdatesFilter
|
||||
|
||||
/**
|
||||
* Non-suspendable function for easy-to-use creating of [FlowsUpdatesFilter] and applying the block to it
|
||||
*
|
||||
* @see flowsUpdatesFilter
|
||||
*/
|
||||
inline fun flowsUpdatesFilter(
|
||||
internalChannelsSizes: Int = 64,
|
||||
block: FlowsUpdatesFilter.() -> Unit
|
||||
): FlowsUpdatesFilter {
|
||||
val filter = FlowsUpdatesFilter(internalChannelsSizes)
|
||||
filter.block()
|
||||
return filter
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.nonstrictJsonFormat
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.UpdateDeserializationStrategy
|
||||
import kotlinx.serialization.json.Json
|
||||
import kotlinx.serialization.json.JsonElement
|
||||
|
||||
/**
|
||||
* @return Deserialize [source] as [com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update]
|
||||
*/
|
||||
fun Json.toTelegramUpdate(source: String) = parse(UpdateDeserializationStrategy, source)
|
||||
/**
|
||||
* @return Deserialize [source] as [com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update]
|
||||
*/
|
||||
fun Json.toTelegramUpdate(source: JsonElement) = fromJson(UpdateDeserializationStrategy, source)
|
||||
|
||||
/**
|
||||
* @return Deserialize [this] as [com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update]. In fact,
|
||||
* it is must be JSON
|
||||
*
|
||||
* @see Json.toTelegramUpdate
|
||||
*/
|
||||
fun String.toTelegramUpdate() = nonstrictJsonFormat.toTelegramUpdate(this)
|
||||
/**
|
||||
* @return Deserialize [this] as [com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update]
|
||||
*
|
||||
* @see Json.toTelegramUpdate
|
||||
*/
|
||||
fun JsonElement.toTelegramUpdate() = nonstrictJsonFormat.toTelegramUpdate(this)
|
||||
|
||||
|
||||
@@ -10,22 +10,38 @@ import kotlinx.coroutines.flow.filter
|
||||
/**
|
||||
* [Flow.filter] incoming [BaseMessageUpdate]s by their [ChatId]
|
||||
*/
|
||||
fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdates(chatId: ChatId): Flow<T> = filter {
|
||||
it.data.chat.id == chatId
|
||||
}
|
||||
fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdatesByChatId(chatId: ChatId): Flow<T> = filter { it.data.chat.id == chatId }
|
||||
/**
|
||||
* [Flow.filter] incoming [BaseMessageUpdate]s by their [ChatId] using [Chat.id] of [chat]
|
||||
*/
|
||||
fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdates(chat: Chat): Flow<T> = filterBaseMessageUpdates(chat.id)
|
||||
fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdatesByChat(chat: Chat): Flow<T> = filterBaseMessageUpdatesByChatId(chat.id)
|
||||
/**
|
||||
* [Flow.filter] incoming [BaseMessageUpdate]s by their [ChatId]
|
||||
*/
|
||||
@Deprecated("Renamed", ReplaceWith("filterBaseMessageUpdatesByChatId"))
|
||||
fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdates(chatId: ChatId): Flow<T> = filterBaseMessageUpdatesByChatId(chatId)
|
||||
/**
|
||||
* [Flow.filter] incoming [BaseMessageUpdate]s by their [ChatId] using [Chat.id] of [chat]
|
||||
*/
|
||||
@Deprecated("Renamed", ReplaceWith("filterBaseMessageUpdatesByChat"))
|
||||
fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdates(chat: Chat): Flow<T> = filterBaseMessageUpdatesByChatId(chat.id)
|
||||
|
||||
|
||||
/**
|
||||
* [Flow.filter] incoming [SentMediaGroupUpdate]s by their [ChatId]
|
||||
*/
|
||||
fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdates(chatId: ChatId): Flow<T> = filter {
|
||||
it.data.first().chat.id == chatId
|
||||
}
|
||||
fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdatesByChatId(chatId: ChatId): Flow<T> = filter { it.data.first().chat.id == chatId }
|
||||
/**
|
||||
* [Flow.filter] incoming [SentMediaGroupUpdate]s by their [ChatId] using [Chat.id] of [chat]
|
||||
*/
|
||||
fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdates(chat: Chat): Flow<T> = filterSentMediaGroupUpdates(chat.id)
|
||||
fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdatesByChat(chat: Chat): Flow<T> = filterSentMediaGroupUpdatesByChatId(chat.id)
|
||||
/**
|
||||
* [Flow.filter] incoming [SentMediaGroupUpdate]s by their [ChatId]
|
||||
*/
|
||||
@Deprecated("Renamed", ReplaceWith("filterSentMediaGroupUpdatesByChatId"))
|
||||
fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdates(chatId: ChatId): Flow<T> = filterSentMediaGroupUpdatesByChatId(chatId)
|
||||
/**
|
||||
* [Flow.filter] incoming [SentMediaGroupUpdate]s by their [ChatId] using [Chat.id] of [chat]
|
||||
*/
|
||||
@Deprecated("Renamed", ReplaceWith("filterSentMediaGroupUpdatesByChat"))
|
||||
fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdates(chat: Chat): Flow<T> = filterSentMediaGroupUpdatesByChatId(chat.id)
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.MediaGroupIdentifier
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.UpdateIdentifier
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.MediaGroupMessage
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.*
|
||||
|
||||
/**
|
||||
* @return If [this] is [SentMediaGroupUpdate] - [Update.updateId] of [last] element, or its own [Update.updateId]
|
||||
*/
|
||||
fun Update.lastUpdateIdentifier(): UpdateIdentifier {
|
||||
return if (this is SentMediaGroupUpdate) {
|
||||
origins.last().updateId
|
||||
} else {
|
||||
updateId
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The biggest [UpdateIdentifier] OR null
|
||||
*
|
||||
* @see [Update.lastUpdateIdentifier]
|
||||
*/
|
||||
fun List<Update>.lastUpdateIdentifier(): UpdateIdentifier? {
|
||||
return maxBy { it.updateId } ?.lastUpdateIdentifier()
|
||||
}
|
||||
|
||||
/**
|
||||
* Will convert incoming list of updates to list with [MediaGroupUpdate]s
|
||||
*/
|
||||
fun List<Update>.convertWithMediaGroupUpdates(): List<Update> {
|
||||
val resultUpdates = mutableListOf<Update>()
|
||||
val mediaGroups = mutableMapOf<MediaGroupIdentifier, MutableList<BaseSentMessageUpdate>>()
|
||||
for (update in this) {
|
||||
val data = (update.data as? MediaGroupMessage)
|
||||
if (data == null) {
|
||||
resultUpdates.add(update)
|
||||
continue
|
||||
}
|
||||
when (update) {
|
||||
is BaseEditMessageUpdate -> resultUpdates.add(
|
||||
update.toEditMediaGroupUpdate()
|
||||
)
|
||||
is BaseSentMessageUpdate -> {
|
||||
mediaGroups.getOrPut(data.mediaGroupId) {
|
||||
mutableListOf()
|
||||
}.add(update)
|
||||
}
|
||||
else -> resultUpdates.add(update)
|
||||
}
|
||||
}
|
||||
mediaGroups.values.map {
|
||||
it.toSentMediaGroupUpdate() ?.let { mediaGroupUpdate ->
|
||||
resultUpdates.add(mediaGroupUpdate)
|
||||
}
|
||||
}
|
||||
resultUpdates.sortBy { it.updateId }
|
||||
return resultUpdates
|
||||
}
|
||||
|
||||
/**
|
||||
* @receiver List of [BaseSentMessageUpdate] where [BaseSentMessageUpdate.data] is [MediaGroupMessage] and all messages
|
||||
* have the same [MediaGroupMessage.mediaGroupId]
|
||||
* @return [MessageMediaGroupUpdate] in case if [first] object of [this] is [MessageUpdate]. When [first] object is
|
||||
* [ChannelPostUpdate] instance - will return [ChannelPostMediaGroupUpdate]. Otherwise will be returned null
|
||||
*/
|
||||
fun List<BaseSentMessageUpdate>.toSentMediaGroupUpdate(): SentMediaGroupUpdate? = (this as? SentMediaGroupUpdate) ?: let {
|
||||
if (isEmpty()) {
|
||||
return@let null
|
||||
}
|
||||
val resultList = sortedBy { it.updateId }
|
||||
when (first()) {
|
||||
is MessageUpdate -> MessageMediaGroupUpdate(resultList)
|
||||
is ChannelPostUpdate -> ChannelPostMediaGroupUpdate(resultList)
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return [EditMessageMediaGroupUpdate] in case if [this] is [EditMessageUpdate]. When [this] object is
|
||||
* [EditChannelPostUpdate] instance - will return [EditChannelPostMediaGroupUpdate]
|
||||
*
|
||||
* @throws IllegalStateException
|
||||
*/
|
||||
fun BaseEditMessageUpdate.toEditMediaGroupUpdate(): EditMediaGroupUpdate = (this as? EditMediaGroupUpdate) ?: let {
|
||||
when (this) {
|
||||
is EditMessageUpdate -> EditMessageMediaGroupUpdate(this)
|
||||
is EditChannelPostUpdate -> EditChannelPostMediaGroupUpdate(this)
|
||||
else -> error("Unsupported type of ${BaseEditMessageUpdate::class.simpleName}")
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates.retrieving
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.bot.exceptions.RequestException
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates.convertWithMediaGroupUpdates
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates.lastUpdateIdentifier
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.GetUpdates
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.*
|
||||
import kotlinx.coroutines.*
|
||||
|
||||
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(
|
||||
timeoutSeconds: Seconds = 30,
|
||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
||||
exceptionsHandler: (ExceptionHandler<Unit>)? = null,
|
||||
allowedUpdates: List<String>? = null,
|
||||
updatesReceiver: UpdateReceiver<Update>
|
||||
): Job = scope.launch {
|
||||
var lastUpdateIdentifier: UpdateIdentifier? = null
|
||||
|
||||
while (isActive) {
|
||||
handleSafely(
|
||||
{ e ->
|
||||
exceptionsHandler ?.invoke(e)
|
||||
if (e is RequestException) {
|
||||
delay(1000L)
|
||||
}
|
||||
}
|
||||
) {
|
||||
val updates = execute(
|
||||
GetUpdates(
|
||||
offset = lastUpdateIdentifier?.plus(1),
|
||||
timeout = timeoutSeconds,
|
||||
allowed_updates = allowedUpdates
|
||||
)
|
||||
).let { originalUpdates ->
|
||||
val converted = originalUpdates.convertWithMediaGroupUpdates()
|
||||
/**
|
||||
* Dirty hack for cases when the media group was retrieved not fully:
|
||||
*
|
||||
* We are throw out the last media group and will reretrieve it again in the next get updates
|
||||
* and it will guarantee that it is full
|
||||
*/
|
||||
if (originalUpdates.size == getUpdatesLimit.last && converted.last() is SentMediaGroupUpdate) {
|
||||
converted - converted.last()
|
||||
} else {
|
||||
converted
|
||||
}
|
||||
}
|
||||
|
||||
handleSafely {
|
||||
for (update in updates) {
|
||||
updatesReceiver(update)
|
||||
|
||||
lastUpdateIdentifier = update.lastUpdateIdentifier()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This method will create a new one [FlowsUpdatesFilter]. This method could be unsafe due to the fact that it will start
|
||||
* getting updates IMMEDIATELY. That means that your bot will be able to skip some of them until you will call
|
||||
* [kotlinx.coroutines.flow.Flow.collect] on one of [FlowsUpdatesFilter] flows. To avoid it, you can pass
|
||||
* [flowUpdatesPreset] lambda - it will be called BEFORE starting updates getting
|
||||
*/
|
||||
@FlowPreview
|
||||
@PreviewFeature
|
||||
@Suppress("unused")
|
||||
fun RequestsExecutor.startGettingFlowsUpdatesByLongPolling(
|
||||
timeoutSeconds: Seconds = 30,
|
||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
||||
exceptionsHandler: ExceptionHandler<Unit>? = null,
|
||||
flowsUpdatesFilterUpdatesKeeperCount: Int = 64,
|
||||
flowUpdatesPreset: FlowsUpdatesFilter.() -> Unit = {}
|
||||
): FlowsUpdatesFilter = FlowsUpdatesFilter(flowsUpdatesFilterUpdatesKeeperCount).apply {
|
||||
flowUpdatesPreset()
|
||||
startGettingOfUpdatesByLongPolling(timeoutSeconds, scope, exceptionsHandler, allowedUpdates, asUpdateReceiver)
|
||||
}
|
||||
|
||||
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(
|
||||
updatesFilter: UpdatesFilter,
|
||||
timeoutSeconds: Seconds = 30,
|
||||
exceptionsHandler: ExceptionHandler<Unit>? = null,
|
||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default)
|
||||
): Job = startGettingOfUpdatesByLongPolling(
|
||||
timeoutSeconds,
|
||||
scope,
|
||||
exceptionsHandler,
|
||||
updatesFilter.allowedUpdates,
|
||||
updatesFilter.asUpdateReceiver
|
||||
)
|
||||
|
||||
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(
|
||||
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
||||
messageMediaGroupCallback: UpdateReceiver<MessageMediaGroupUpdate>? = null,
|
||||
editedMessageCallback: UpdateReceiver<EditMessageUpdate>? = null,
|
||||
editedMessageMediaGroupCallback: UpdateReceiver<EditMessageMediaGroupUpdate>? = null,
|
||||
channelPostCallback: UpdateReceiver<ChannelPostUpdate>? = null,
|
||||
channelPostMediaGroupCallback: UpdateReceiver<ChannelPostMediaGroupUpdate>? = null,
|
||||
editedChannelPostCallback: UpdateReceiver<EditChannelPostUpdate>? = null,
|
||||
editedChannelPostMediaGroupCallback: UpdateReceiver<EditChannelPostMediaGroupUpdate>? = null,
|
||||
chosenInlineResultCallback: UpdateReceiver<ChosenInlineResultUpdate>? = null,
|
||||
inlineQueryCallback: UpdateReceiver<InlineQueryUpdate>? = null,
|
||||
callbackQueryCallback: UpdateReceiver<CallbackQueryUpdate>? = null,
|
||||
shippingQueryCallback: UpdateReceiver<ShippingQueryUpdate>? = null,
|
||||
preCheckoutQueryCallback: UpdateReceiver<PreCheckoutQueryUpdate>? = null,
|
||||
pollCallback: UpdateReceiver<PollUpdate>? = null,
|
||||
pollAnswerCallback: UpdateReceiver<PollAnswerUpdate>? = null,
|
||||
timeoutSeconds: Seconds = 30,
|
||||
exceptionsHandler: ExceptionHandler<Unit>? = null,
|
||||
scope: CoroutineScope = GlobalScope
|
||||
): Job {
|
||||
return startGettingOfUpdatesByLongPolling(
|
||||
SimpleUpdatesFilter(
|
||||
messageCallback,
|
||||
messageMediaGroupCallback,
|
||||
editedMessageCallback,
|
||||
editedMessageMediaGroupCallback,
|
||||
channelPostCallback,
|
||||
channelPostMediaGroupCallback,
|
||||
editedChannelPostCallback,
|
||||
editedChannelPostMediaGroupCallback,
|
||||
chosenInlineResultCallback,
|
||||
inlineQueryCallback,
|
||||
callbackQueryCallback,
|
||||
shippingQueryCallback,
|
||||
preCheckoutQueryCallback,
|
||||
pollCallback,
|
||||
pollAnswerCallback
|
||||
),
|
||||
timeoutSeconds,
|
||||
exceptionsHandler,
|
||||
scope
|
||||
)
|
||||
}
|
||||
|
||||
@Suppress("unused")
|
||||
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(
|
||||
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
||||
mediaGroupCallback: UpdateReceiver<MediaGroupUpdate>? = null,
|
||||
editedMessageCallback: UpdateReceiver<EditMessageUpdate>? = null,
|
||||
channelPostCallback: UpdateReceiver<ChannelPostUpdate>? = null,
|
||||
editedChannelPostCallback: UpdateReceiver<EditChannelPostUpdate>? = null,
|
||||
chosenInlineResultCallback: UpdateReceiver<ChosenInlineResultUpdate>? = null,
|
||||
inlineQueryCallback: UpdateReceiver<InlineQueryUpdate>? = null,
|
||||
callbackQueryCallback: UpdateReceiver<CallbackQueryUpdate>? = null,
|
||||
shippingQueryCallback: UpdateReceiver<ShippingQueryUpdate>? = null,
|
||||
preCheckoutQueryCallback: UpdateReceiver<PreCheckoutQueryUpdate>? = null,
|
||||
pollCallback: UpdateReceiver<PollUpdate>? = null,
|
||||
pollAnswerCallback: UpdateReceiver<PollAnswerUpdate>? = null,
|
||||
timeoutSeconds: Seconds = 30,
|
||||
exceptionsHandler: ExceptionHandler<Unit>? = null,
|
||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default)
|
||||
): Job = startGettingOfUpdatesByLongPolling(
|
||||
messageCallback = messageCallback,
|
||||
messageMediaGroupCallback = mediaGroupCallback,
|
||||
editedMessageCallback = editedMessageCallback,
|
||||
editedMessageMediaGroupCallback = mediaGroupCallback,
|
||||
channelPostCallback = channelPostCallback,
|
||||
channelPostMediaGroupCallback = mediaGroupCallback,
|
||||
editedChannelPostCallback = editedChannelPostCallback,
|
||||
editedChannelPostMediaGroupCallback = mediaGroupCallback,
|
||||
chosenInlineResultCallback = chosenInlineResultCallback,
|
||||
inlineQueryCallback = inlineQueryCallback,
|
||||
callbackQueryCallback = callbackQueryCallback,
|
||||
shippingQueryCallback = shippingQueryCallback,
|
||||
preCheckoutQueryCallback = preCheckoutQueryCallback,
|
||||
pollCallback = pollCallback,
|
||||
pollAnswerCallback = pollAnswerCallback,
|
||||
timeoutSeconds = timeoutSeconds,
|
||||
exceptionsHandler = exceptionsHandler,
|
||||
scope = scope
|
||||
)
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates.retrieving
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates.convertWithMediaGroupUpdates
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.MediaGroupMessage
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.BaseMessageUpdate
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.UpdateReceiver
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.extensions.accumulateByKey
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.channels.Channel
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
|
||||
/**
|
||||
* Create [UpdateReceiver] object which will correctly accumulate updates and send into output updates which INCLUDE
|
||||
* [com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.MediaGroupUpdate]s.
|
||||
*
|
||||
* @see UpdateReceiver
|
||||
*/
|
||||
fun CoroutineScope.updateHandlerWithMediaGroupsAdaptation(
|
||||
output: UpdateReceiver<Update>,
|
||||
debounceTimeMillis: Long = 1000L
|
||||
): UpdateReceiver<Update> {
|
||||
val updatesChannel = Channel<Update>(Channel.UNLIMITED)
|
||||
val mediaGroupChannel = Channel<Pair<String, BaseMessageUpdate>>(Channel.UNLIMITED)
|
||||
val mediaGroupAccumulatedChannel = mediaGroupChannel.accumulateByKey(
|
||||
debounceTimeMillis,
|
||||
scope = this
|
||||
)
|
||||
|
||||
launch {
|
||||
launch {
|
||||
for (update in updatesChannel) {
|
||||
when (val data = update.data) {
|
||||
is MediaGroupMessage -> mediaGroupChannel.send("${data.mediaGroupId}${update::class.simpleName}" to update as BaseMessageUpdate)
|
||||
else -> output(update)
|
||||
}
|
||||
}
|
||||
}
|
||||
launch {
|
||||
for ((_, mediaGroup) in mediaGroupAccumulatedChannel) {
|
||||
mediaGroup.convertWithMediaGroupUpdates().forEach {
|
||||
output(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return { updatesChannel.send(it) }
|
||||
}
|
||||
|
||||
/**
|
||||
* Create [UpdateReceiver] object which will correctly accumulate updates and send into output updates which INCLUDE
|
||||
* [com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.MediaGroupUpdate]s.
|
||||
*
|
||||
* @see UpdateReceiver
|
||||
*/
|
||||
fun CoroutineScope.updateHandlerWithMediaGroupsAdaptation(
|
||||
output: UpdateReceiver<Update>
|
||||
) = updateHandlerWithMediaGroupsAdaptation(output, 1000L)
|
||||
@@ -0,0 +1,196 @@
|
||||
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates.retrieving
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.nonstrictJsonFormat
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.MultipartFile
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.Request
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.send.media.base.MultipartRequestImpl
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.webhook.SetWebhook
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.UpdateDeserializationStrategy
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.UpdateReceiver
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.UpdatesFilter
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.webhook.WebhookPrivateKeyConfig
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.ExceptionHandler
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.handleSafely
|
||||
import io.ktor.application.call
|
||||
import io.ktor.request.receiveText
|
||||
import io.ktor.response.respond
|
||||
import io.ktor.routing.*
|
||||
import io.ktor.server.engine.*
|
||||
import kotlinx.coroutines.*
|
||||
import java.util.concurrent.Executors
|
||||
|
||||
|
||||
/**
|
||||
* Allows to include webhook in custom route everywhere in your server
|
||||
*
|
||||
* @param [scope] Will be used for mapping of media groups
|
||||
* @param [exceptionsHandler] Pass this parameter to set custom exception handler for getting updates
|
||||
* @param [block] Some receiver block like [com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.FlowsUpdatesFilter]
|
||||
*
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.FlowsUpdatesFilter
|
||||
* @see UpdatesFilter
|
||||
* @see UpdatesFilter.asUpdateReceiver
|
||||
*/
|
||||
fun Route.includeWebhookHandlingInRoute(
|
||||
scope: CoroutineScope,
|
||||
exceptionsHandler: ExceptionHandler<Unit>? = null,
|
||||
block: UpdateReceiver<Update>
|
||||
) {
|
||||
val transformer = scope.updateHandlerWithMediaGroupsAdaptation(block)
|
||||
post {
|
||||
handleSafely(
|
||||
exceptionsHandler ?: {}
|
||||
) {
|
||||
val asJson =
|
||||
nonstrictJsonFormat.parseJson(call.receiveText())
|
||||
val update = nonstrictJsonFormat.fromJson(
|
||||
UpdateDeserializationStrategy,
|
||||
asJson
|
||||
)
|
||||
transformer(update)
|
||||
}
|
||||
call.respond("Ok")
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Setting up ktor server, set webhook info via [SetWebhook] request.
|
||||
*
|
||||
* @param listenPort port which will be listen by bot
|
||||
* @param listenRoute address to listen by bot. If null - will be set up in root of host
|
||||
* @param scope Scope which will be used for
|
||||
* @param privateKeyConfig If configured - server will be created with [sslConnector]. [connector] will be used otherwise
|
||||
*
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.FlowsUpdatesFilter
|
||||
* @see UpdatesFilter
|
||||
* @see UpdatesFilter.asUpdateReceiver
|
||||
*/
|
||||
fun startListenWebhooks(
|
||||
listenPort: Int,
|
||||
engineFactory: ApplicationEngineFactory<*, *>,
|
||||
exceptionsHandler: ExceptionHandler<Unit>,
|
||||
listenHost: String = "0.0.0.0",
|
||||
listenRoute: String? = null,
|
||||
privateKeyConfig: WebhookPrivateKeyConfig? = null,
|
||||
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
|
||||
block: UpdateReceiver<Update>
|
||||
): ApplicationEngine {
|
||||
val env = applicationEngineEnvironment {
|
||||
|
||||
module {
|
||||
routing {
|
||||
listenRoute ?.also {
|
||||
createRouteFromPath(it).includeWebhookHandlingInRoute(scope, exceptionsHandler, block)
|
||||
} ?: includeWebhookHandlingInRoute(scope, exceptionsHandler, block)
|
||||
}
|
||||
}
|
||||
privateKeyConfig ?.let {
|
||||
sslConnector(
|
||||
privateKeyConfig.keyStore,
|
||||
privateKeyConfig.aliasName,
|
||||
privateKeyConfig::keyStorePassword,
|
||||
privateKeyConfig::aliasPassword
|
||||
) {
|
||||
host = listenHost
|
||||
port = listenPort
|
||||
}
|
||||
} ?: connector {
|
||||
host = listenHost
|
||||
port = listenPort
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return embeddedServer(engineFactory, env).also {
|
||||
it.start(false)
|
||||
}
|
||||
}
|
||||
|
||||
private suspend fun RequestsExecutor.internalSetWebhookInfoAndStartListenWebhooks(
|
||||
listenPort: Int,
|
||||
engineFactory: ApplicationEngineFactory<*, *>,
|
||||
setWebhookRequest: Request<Boolean>,
|
||||
exceptionsHandler: ExceptionHandler<Unit> = {},
|
||||
listenHost: String = "0.0.0.0",
|
||||
listenRoute: String? = null,
|
||||
privateKeyConfig: WebhookPrivateKeyConfig? = null,
|
||||
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
|
||||
block: UpdateReceiver<Update>
|
||||
): ApplicationEngine {
|
||||
return try {
|
||||
execute(setWebhookRequest)
|
||||
startListenWebhooks(listenPort, engineFactory, exceptionsHandler, listenHost, listenRoute, privateKeyConfig, scope, block)
|
||||
} catch (e: Exception) {
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Setting up ktor server, set webhook info via [SetWebhook] request.
|
||||
*
|
||||
* @param listenPort port which will be listen by bot
|
||||
* @param listenRoute address to listen by bot
|
||||
* @param scope Scope which will be used for
|
||||
*
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.FlowsUpdatesFilter
|
||||
* @see UpdatesFilter
|
||||
* @see UpdatesFilter.asUpdateReceiver
|
||||
*/
|
||||
@Suppress("unused")
|
||||
suspend fun RequestsExecutor.setWebhookInfoAndStartListenWebhooks(
|
||||
listenPort: Int,
|
||||
engineFactory: ApplicationEngineFactory<*, *>,
|
||||
setWebhookRequest: SetWebhook,
|
||||
exceptionsHandler: ExceptionHandler<Unit> = {},
|
||||
listenHost: String = "0.0.0.0",
|
||||
listenRoute: String = "/",
|
||||
privateKeyConfig: WebhookPrivateKeyConfig? = null,
|
||||
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
|
||||
block: UpdateReceiver<Update>
|
||||
): ApplicationEngine = internalSetWebhookInfoAndStartListenWebhooks(
|
||||
listenPort,
|
||||
engineFactory,
|
||||
setWebhookRequest as Request<Boolean>,
|
||||
exceptionsHandler,
|
||||
listenHost,
|
||||
listenRoute,
|
||||
privateKeyConfig,
|
||||
scope,
|
||||
block
|
||||
)
|
||||
|
||||
/**
|
||||
* Setting up ktor server, set webhook info via [SetWebhook] request.
|
||||
*
|
||||
* @param listenPort port which will be listen by bot
|
||||
* @param listenRoute address to listen by bot
|
||||
* @param scope Scope which will be used for
|
||||
*
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.updateshandlers.FlowsUpdatesFilter
|
||||
* @see UpdatesFilter
|
||||
* @see UpdatesFilter.asUpdateReceiver
|
||||
*/
|
||||
@Suppress("unused")
|
||||
suspend fun RequestsExecutor.setWebhookInfoAndStartListenWebhooks(
|
||||
listenPort: Int,
|
||||
engineFactory: ApplicationEngineFactory<*, *>,
|
||||
setWebhookRequest: MultipartRequestImpl<SetWebhook, Map<String, MultipartFile>, Boolean>,
|
||||
exceptionsHandler: ExceptionHandler<Unit> = {},
|
||||
listenHost: String = "0.0.0.0",
|
||||
listenRoute: String? = null,
|
||||
privateKeyConfig: WebhookPrivateKeyConfig? = null,
|
||||
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
|
||||
block: UpdateReceiver<Update>
|
||||
): ApplicationEngine = internalSetWebhookInfoAndStartListenWebhooks(
|
||||
listenPort,
|
||||
engineFactory,
|
||||
setWebhookRequest as Request<Boolean>,
|
||||
exceptionsHandler,
|
||||
listenHost,
|
||||
listenRoute,
|
||||
privateKeyConfig,
|
||||
scope,
|
||||
block
|
||||
)
|
||||
@@ -149,53 +149,3 @@ Here was used `okhttp` realisation of client, but there are several others engin
|
||||
available on ktor.io site for [client](https://ktor.io/clients/http-client/engines.html) and [server](https://ktor.io/quickstart/artifacts.html)
|
||||
engines.
|
||||
|
||||
## Getting updates
|
||||
|
||||
In this library currently realised two ways to get updates from telegram:
|
||||
|
||||
* Polling - in this case bot will request updates from time to time (you can set up delay between requests)
|
||||
* Webhook via reverse proxy or something like this
|
||||
|
||||
### Updates filters
|
||||
|
||||
Currently webhook method contains `UpdatesFilter` as necessary argument for getting updates.
|
||||
`UpdatesFilter` will sort updates and throw their into different callbacks. Currently supporting
|
||||
separate getting updates for media groups - they are accumulating with debounce in one second
|
||||
(for being sure that all objects of media group was received).
|
||||
|
||||
Updates polling also support `UpdatesFilter` but it is not required to use it and you can get updates directly
|
||||
in `UpdateReceiver`, which you will provide to `startGettingOfUpdates` method
|
||||
|
||||
### Webhook set up
|
||||
|
||||
If you wish to use webhook method, you will need:
|
||||
|
||||
* White IP - your IP address or host, which available for calling. [TelegramBotAPI](https://core.telegram.org/bots/api#setwebhook)
|
||||
recommend to use some unique address for each bot which you are using
|
||||
* SSL certificate. Usually you can obtain the certificate using your domain provider, [Let'sEncrypt](https://letsencrypt.org/) or [create it](https://core.telegram.org/bots/self-signed)
|
||||
* Nginx or something like this
|
||||
|
||||
Template for Nginx server config you can find in [this gist](https://gist.github.com/InsanusMokrassar/fcc6e09cebd07e46e8f0fdec234750c4#file-nginxssl-conf).
|
||||
|
||||
For webhook you can provide `File` with public part of certificate, `URL` where bot will be available and inner `PORT` which
|
||||
will be used to start receiving of updates. Actually, you can skip passing of `File` when you have something like
|
||||
nginx for proxy forwarding.
|
||||
|
||||
In case of using `nginx` with reverse-proxy config, setting up of Webhook will look like:
|
||||
|
||||
```kotlin
|
||||
requestsExecutor.setWebhook(
|
||||
WEBHOOK_URL,
|
||||
INTERNAL_PORT,
|
||||
filter,
|
||||
ENGINE_FACTORY
|
||||
)
|
||||
```
|
||||
|
||||
Here:
|
||||
|
||||
* `WEBHOOK_URL` - the url which will be used by Telegram system to send updates
|
||||
* `INTERNAL_PORT` - the port which will be used in bot for listening of updates
|
||||
* `filter` - instance of [UpdatesFilter](https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/updateshandlers/UpdatesFilter.kt),
|
||||
which will be used to filter incoming updates
|
||||
* `ENGINE_FACTORY` - used factory name, for example, `CIO` in case of usage `io.ktor:ktor-server-cio` as server engine
|
||||
|
||||
@@ -64,6 +64,8 @@ kotlin {
|
||||
|
||||
api "io.ktor:ktor-server-host-common:$ktor_version"
|
||||
api "io.ktor:ktor-client-cio:$ktor_version"
|
||||
|
||||
api "javax.activation:activation:$javax_activation_version"
|
||||
}
|
||||
}
|
||||
jvmTest {
|
||||
@@ -82,7 +84,6 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
targets.all {
|
||||
compilations.all {
|
||||
kotlinOptions {
|
||||
|
||||
@@ -20,37 +20,33 @@ publishing {
|
||||
publications.all {
|
||||
artifact javadocsJar
|
||||
|
||||
pom.withXml {
|
||||
asNode().children().last() + {
|
||||
resolveStrategy = Closure.DELEGATE_FIRST
|
||||
pom {
|
||||
description = "Library for Object-Oriented and type-safe work with Telegram Bot API"
|
||||
name = "Telegram Bot API"
|
||||
url = "https://insanusmokrassar.github.io/TelegramBotAPI"
|
||||
|
||||
description "Library for Object-Oriented and type-safe work with Telegram Bot API"
|
||||
name "Telegram Bot API"
|
||||
url "https://insanusmokrassar.github.io/TelegramBotAPI"
|
||||
scm {
|
||||
developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
url = "https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
}
|
||||
|
||||
scm {
|
||||
developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
url "https://github.com/insanusmokrassar/TelegramBotAPI.git"
|
||||
}
|
||||
developers {
|
||||
|
||||
developer {
|
||||
id = "InsanusMokrassar"
|
||||
name = "Ovsiannikov Aleksei"
|
||||
email = "ovsyannikov.alexey95@gmail.com"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
developers {
|
||||
|
||||
developer {
|
||||
id "InsanusMokrassar"
|
||||
name "Ovsiannikov Aleksei"
|
||||
email "ovsyannikov.alexey95@gmail.com"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
licenses {
|
||||
|
||||
license {
|
||||
name "Apache Software License 2.0"
|
||||
url "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"
|
||||
}
|
||||
|
||||
}
|
||||
licenses {
|
||||
|
||||
license {
|
||||
name = "Apache Software License 2.0"
|
||||
url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,20 @@ package com.github.insanusmokrassar.TelegramBotAPI.bot
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.Request
|
||||
import io.ktor.utils.io.core.Closeable
|
||||
|
||||
/**
|
||||
* Interface for making requests to Telegram Bot API. Currently, there is only one built-in implementation -
|
||||
* [com.github.insanusmokrassar.TelegramBotAPI.bot.Ktor.KtorRequestsExecutor]
|
||||
*
|
||||
* @see Request
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.bot.Ktor.KtorRequestsExecutor
|
||||
*/
|
||||
interface RequestsExecutor : Closeable {
|
||||
/**
|
||||
* @throws com.github.insanusmokrassar.TelegramBotAPI.bot.exceptions.RequestException
|
||||
* Unsafe execution of incoming [request]. Can throw almost any exception. So, it is better to use
|
||||
* something like [com.github.insanusmokrassar.TelegramBotAPI.utils.extensions.executeAsync] or
|
||||
* [com.github.insanusmokrassar.TelegramBotAPI.utils.extensions.executeUnsafe]
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
suspend fun <T : Any> execute(request: Request<T>): T
|
||||
}
|
||||
@@ -11,6 +11,15 @@ private val updatesListSerializer = ListSerializer(
|
||||
UpdateSerializerWithoutSerialization
|
||||
)
|
||||
|
||||
/**
|
||||
* Request updates from Telegram Bot API system. It is important, that the result updates WILL NOT include
|
||||
* [com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.MediaGroupUpdate] objects due to the fact,
|
||||
* that it is internal abstraction and in fact any [com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.MediaGroupMessage]
|
||||
* is just a common [com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.Message]
|
||||
*
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates.retrieving.updateHandlerWithMediaGroupsAdaptation
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.utils.convertWithMediaGroupUpdates
|
||||
*/
|
||||
@Serializable
|
||||
data class GetUpdates(
|
||||
val offset: UpdateIdentifier? = null,// set `last update id + 1` to receive next part of updates
|
||||
|
||||
@@ -7,33 +7,56 @@ import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
||||
import kotlinx.serialization.*
|
||||
import kotlinx.serialization.builtins.serializer
|
||||
|
||||
private fun correctWebhookUrl(sourceUrl: String) = if (sourceUrl.contains("://")) {
|
||||
sourceUrl
|
||||
} else {
|
||||
"https://$sourceUrl"
|
||||
}
|
||||
|
||||
fun SetWebhook(
|
||||
url: String,
|
||||
certificate: MultipartFile,
|
||||
maxAllowedConnections: Int? = null,
|
||||
allowedUpdates: List<String>? = null
|
||||
): MultipartRequestImpl<SetWebhook, Map<String, MultipartFile>, Boolean> = MultipartRequestImpl(
|
||||
SetWebhook(
|
||||
correctWebhookUrl(url),
|
||||
null,
|
||||
maxAllowedConnections,
|
||||
allowedUpdates
|
||||
),
|
||||
mapOf(certificateField to certificate)
|
||||
)
|
||||
|
||||
fun SetWebhook(
|
||||
url: String,
|
||||
certificate: FileId,
|
||||
maxAllowedConnections: Int? = null,
|
||||
allowedUpdates: List<String>? = null
|
||||
): SetWebhook = SetWebhook(
|
||||
correctWebhookUrl(url),
|
||||
certificate.fileId,
|
||||
maxAllowedConnections,
|
||||
allowedUpdates
|
||||
)
|
||||
|
||||
@Suppress("USELESS_CAST")
|
||||
fun SetWebhook(
|
||||
url: String,
|
||||
certificate: InputFile,
|
||||
maxAllowedConnections: Int? = null,
|
||||
allowedUpdates: List<String>? = null
|
||||
) : Request<Boolean> {
|
||||
val data = SetWebhook(
|
||||
url,
|
||||
(certificate as? FileId) ?.fileId,
|
||||
maxAllowedConnections,
|
||||
allowedUpdates
|
||||
)
|
||||
return when (certificate) {
|
||||
is FileId -> data
|
||||
is MultipartFile -> MultipartRequestImpl(
|
||||
data,
|
||||
mapOf(certificateField to certificate)
|
||||
)
|
||||
}
|
||||
): Request<Boolean> = when (certificate) {
|
||||
is MultipartFile -> SetWebhook(correctWebhookUrl(url), certificate as MultipartFile, maxAllowedConnections, allowedUpdates)
|
||||
is FileId -> SetWebhook(correctWebhookUrl(url), certificate as FileId, maxAllowedConnections, allowedUpdates)
|
||||
}
|
||||
|
||||
fun SetWebhook(
|
||||
url: String,
|
||||
maxAllowedConnections: Int? = null,
|
||||
allowedUpdates: List<String>? = null
|
||||
) : Request<Boolean> = SetWebhook(
|
||||
url,
|
||||
) = SetWebhook(
|
||||
correctWebhookUrl(url),
|
||||
null,
|
||||
maxAllowedConnections,
|
||||
allowedUpdates
|
||||
|
||||
@@ -7,7 +7,7 @@ data class WebhookInfo(
|
||||
@SerialName(urlField)
|
||||
val url: String,
|
||||
@SerialName(pendingUpdateCountField)
|
||||
val awaitDeliery: Int,
|
||||
val awaitDelivery: Int,
|
||||
@SerialName(maxAllowedConnectionsField)
|
||||
val maxConnections: Int = 40, // default count according to documentation
|
||||
@SerialName(hasCustomCertificateField)
|
||||
|
||||
@@ -15,9 +15,15 @@ object DartsDiceAnimationType : DiceAnimationType() {
|
||||
override val emoji: String = "\uD83C\uDFAF"
|
||||
}
|
||||
@Serializable(DiceAnimationTypeSerializer::class)
|
||||
class UnknownDiceAnimationType(
|
||||
object BasketballDiceAnimationType : DiceAnimationType() {
|
||||
override val emoji: String = "\uD83C\uDFC0"
|
||||
}
|
||||
@Serializable(DiceAnimationTypeSerializer::class)
|
||||
data class CustomDiceAnimationType(
|
||||
override val emoji: String
|
||||
) : DiceAnimationType()
|
||||
@Deprecated("Renamed", ReplaceWith("CustomDiceAnimationType"))
|
||||
typealias UnknownDiceAnimationType = CustomDiceAnimationType
|
||||
|
||||
@Serializer(DiceAnimationType::class)
|
||||
internal object DiceAnimationTypeSerializer : KSerializer<DiceAnimationType> {
|
||||
@@ -26,7 +32,8 @@ internal object DiceAnimationTypeSerializer : KSerializer<DiceAnimationType> {
|
||||
return when (val type = decoder.decodeString()) {
|
||||
CubeDiceAnimationType.emoji -> CubeDiceAnimationType
|
||||
DartsDiceAnimationType.emoji -> DartsDiceAnimationType
|
||||
else -> UnknownDiceAnimationType(type)
|
||||
BasketballDiceAnimationType.emoji -> BasketballDiceAnimationType
|
||||
else -> CustomDiceAnimationType(type)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,13 @@ package com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdate
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.MediaGroupMessage
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.*
|
||||
|
||||
/**
|
||||
* By default there is no instances of objects which could be deserialized from raw updates. If you want to get objects
|
||||
* with this type, you should use something like [com.github.insanusmokrassar.TelegramBotAPI.extensions.api.SetWebhookKt.includeWebhookInRoute]
|
||||
*
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.extensions.api.SetWebhookKt.includeWebhookInRoute
|
||||
* @see com.github.insanusmokrassar.TelegramBotAPI.extensions.api.updates.UpdatesPollingKt.startGettingOfUpdates
|
||||
*/
|
||||
interface MediaGroupUpdate : Update
|
||||
|
||||
interface SentMediaGroupUpdate: MediaGroupUpdate {
|
||||
|
||||
@@ -26,7 +26,14 @@ internal object UpdateSerializerWithoutSerialization : KSerializer<Update> {
|
||||
override fun serialize(encoder: Encoder, value: Update) = throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
internal object UpdateDeserializationStrategy : DeserializationStrategy<Update> {
|
||||
/**
|
||||
* Use this object to deserialize objects with type [Update]. Currently it is restricted to use this
|
||||
* [DeserializationStrategy] only with JSON
|
||||
*
|
||||
* @see StringFormat.parse
|
||||
* @see kotlinx.serialization.json.Json.parse
|
||||
*/
|
||||
object UpdateDeserializationStrategy : DeserializationStrategy<Update> {
|
||||
override val descriptor: SerialDescriptor = JsonElementSerializer.descriptor
|
||||
|
||||
override fun patch(decoder: Decoder, old: Update): Update = throw UpdateNotSupportedException("Update")
|
||||
|
||||
@@ -3,17 +3,16 @@ package com.github.insanusmokrassar.TelegramBotAPI.updateshandlers
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.*
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.update.abstracts.Update
|
||||
import kotlinx.coroutines.FlowPreview
|
||||
import kotlinx.coroutines.channels.BroadcastChannel
|
||||
import kotlinx.coroutines.channels.Channel
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.asFlow
|
||||
|
||||
@Suppress("EXPERIMENTAL_API_USAGE")
|
||||
private fun <T> BroadcastChannel<T>.createUpdateReceiver(): UpdateReceiver<T> = ::send
|
||||
|
||||
@FlowPreview
|
||||
@Suppress("EXPERIMENTAL_API_USAGE", "unused")
|
||||
class FlowsUpdatesFilter(
|
||||
broadcastChannelsSize: Int = Channel.CONFLATED
|
||||
broadcastChannelsSize: Int = 64
|
||||
): UpdatesFilter {
|
||||
private val messageChannel: BroadcastChannel<MessageUpdate> = BroadcastChannel(broadcastChannelsSize)
|
||||
private val messageMediaGroupChannel: BroadcastChannel<MessageMediaGroupUpdate> = BroadcastChannel(broadcastChannelsSize)
|
||||
|
||||
@@ -3,6 +3,8 @@ package com.github.insanusmokrassar.TelegramBotAPI.utils
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.supervisorScope
|
||||
|
||||
|
||||
typealias ExceptionHandler<T> = suspend (Exception) -> T
|
||||
/**
|
||||
* It will run [block] inside of [supervisorScope] to avoid problems with catching of exceptions
|
||||
*
|
||||
@@ -10,7 +12,7 @@ import kotlinx.coroutines.supervisorScope
|
||||
* exception will be available for catching
|
||||
*/
|
||||
suspend inline fun <T> handleSafely(
|
||||
noinline onException: suspend (Exception) -> T = { throw it },
|
||||
noinline onException: ExceptionHandler<T> = { throw it },
|
||||
noinline block: suspend CoroutineScope.() -> T
|
||||
): T {
|
||||
return try {
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.bot.exceptions.RequestException
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.Request
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.Response
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.handleSafely
|
||||
import kotlinx.coroutines.*
|
||||
|
||||
|
||||
@@ -33,16 +34,23 @@ fun <T: Any> RequestsExecutor.executeAsync(
|
||||
suspend fun <T: Any> RequestsExecutor.executeUnsafe(
|
||||
request: Request<T>,
|
||||
retries: Int = 0,
|
||||
retriesDelay: Long = 1000L
|
||||
retriesDelay: Long = 1000L,
|
||||
onAllFailed: (suspend (exceptions: Array<Exception>) -> Unit)? = null
|
||||
): T? {
|
||||
var leftRetries = retries
|
||||
val exceptions = onAllFailed ?.let { mutableListOf<Exception>() }
|
||||
do {
|
||||
try {
|
||||
return execute(request)
|
||||
} catch (e: RequestException) {
|
||||
leftRetries--
|
||||
delay(retriesDelay)
|
||||
}
|
||||
handleSafely(
|
||||
{
|
||||
leftRetries--
|
||||
delay(retriesDelay)
|
||||
exceptions ?.add(it)
|
||||
null
|
||||
}
|
||||
) {
|
||||
execute(request)
|
||||
} ?.let { return it }
|
||||
} while(leftRetries >= 0)
|
||||
onAllFailed ?.invoke(exceptions ?.toTypedArray() ?: emptyArray())
|
||||
return null
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ import java.util.concurrent.TimeUnit
|
||||
* which will be used by telegram to send encrypted messages
|
||||
* @param scope Scope which will be used for
|
||||
*/
|
||||
@Deprecated("Replaced into project TelegramBotAPI-extensions-utils")
|
||||
suspend fun RequestsExecutor.setWebhook(
|
||||
url: String,
|
||||
port: Int,
|
||||
@@ -41,7 +42,7 @@ suspend fun RequestsExecutor.setWebhook(
|
||||
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
|
||||
allowedUpdates: List<String>? = null,
|
||||
maxAllowedConnections: Int? = null,
|
||||
exceptionsHandler: (suspend (Exception) -> Unit)? = null,
|
||||
exceptionsHandler: (ExceptionHandler<Unit>)? = null,
|
||||
block: UpdateReceiver<Update>
|
||||
): Job {
|
||||
val executeDeferred = certificate ?.let {
|
||||
@@ -137,6 +138,7 @@ suspend fun RequestsExecutor.setWebhook(
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated("Replaced into project TelegramBotAPI-extensions-utils")
|
||||
suspend fun RequestsExecutor.setWebhook(
|
||||
url: String,
|
||||
port: Int,
|
||||
@@ -164,6 +166,7 @@ suspend fun RequestsExecutor.setWebhook(
|
||||
block
|
||||
)
|
||||
|
||||
@Deprecated("Replaced into project TelegramBotAPI-extensions-utils")
|
||||
suspend fun RequestsExecutor.setWebhook(
|
||||
url: String,
|
||||
port: Int,
|
||||
@@ -188,6 +191,7 @@ suspend fun RequestsExecutor.setWebhook(
|
||||
block
|
||||
)
|
||||
|
||||
@Deprecated("Replaced into project TelegramBotAPI-extensions-utils")
|
||||
suspend fun RequestsExecutor.setWebhook(
|
||||
url: String,
|
||||
port: Int,
|
||||
|
||||
@@ -63,11 +63,9 @@ private Closure includeSourcesInDokka(String... approximateNames) {
|
||||
}
|
||||
}
|
||||
|
||||
String dokkaFolder = "$projectDir/dokka"
|
||||
String dokkaFolder = "$buildDir/dokka"
|
||||
|
||||
dokka {
|
||||
(new File(dokkaFolder)).deleteDir()
|
||||
|
||||
outputFormat = 'html'
|
||||
outputDirectory = dokkaFolder
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ChatRequest.chatId - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">ChatRequest</a> / <a href="./chat-id.html">chatId</a><br/>
|
||||
<br/>
|
||||
<h1>chatId</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.ChatRequest$chatId"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">chatId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-chat-identifier.html"><span class="identifier">ChatIdentifier</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/ChatRequest.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,175 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ChatRequest - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">ChatRequest</a><br/>
|
||||
<br/>
|
||||
<h1>ChatRequest</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">ChatRequest</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/ChatRequest.kt#L5">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="chat-id.html">chatId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">chatId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-chat-identifier.html"><span class="identifier">ChatIdentifier</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.abstracts/-chat-member-request/index.html">ChatMemberRequest</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">ChatMemberRequest</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-delete-chat-photo/index.html">DeleteChatPhoto</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">DeleteChatPhoto</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.stickers/-delete-chat-sticker-set/index.html">DeleteChatStickerSet</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">DeleteChatStickerSet</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat/-export-chat-invite-link/index.html">ExportChatInviteLink</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">ExportChatInviteLink</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.get/-get-chat/index.html">GetChat</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">GetChat</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.chat.abstracts.extended/-extended-chat/index.html"><span class="identifier">ExtendedChat</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.get/-get-chat-administrators/index.html">GetChatAdministrators</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">GetChatAdministrators</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-chat-member.abstracts/-administrator-chat-member/index.html"><span class="identifier">AdministratorChatMember</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.get/-get-chat-members-count/index.html">GetChatMembersCount</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">GetChatMembersCount</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat/-leave-chat/index.html">LeaveChat</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">LeaveChat</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../-message-action/index.html">MessageAction</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">MessageAction</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-pin-chat-message/index.html">PinChatMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PinChatMessage</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-message-action/index.html"><span class="identifier">MessageAction</span></a><span class="symbol">, </span><a href="../-disable-notification/index.html"><span class="identifier">DisableNotification</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-chat-message-request.html">SendChatMessageRequest</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">SendChatMessageRequest</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ChatRequest</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.payments/-send-invoice/index.html">SendInvoice</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendInvoice</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-currencied/index.html"><span class="identifier">Currencied</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-priced/index.html"><span class="identifier">Priced</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../-disable-notification/index.html"><span class="identifier">DisableNotification</span></a><span class="symbol">, </span><a href="../-reply-message-id/index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="../-reply-markup/index.html"><span class="identifier">ReplyMarkup</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.payments/-invoice-content/index.html"><span class="identifier">InvoiceContent</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-set-chat-description/index.html">SetChatDescription</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SetChatDescription</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-set-chat-permissions/index.html">SetChatPermissions</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SetChatPermissions</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-set-chat-photo/index.html">SetChatPhoto</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SetChatPhoto</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-multipart-request/index.html"><span class="identifier">MultipartRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.stickers/-set-chat-sticker-set/index.html">SetChatStickerSet</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SetChatStickerSet</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-set-chat-title/index.html">SetChatTitle</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SetChatTitle</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-unpin-chat-message/index.html">UnpinChatMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">UnpinChatMessage</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>DisableNotification.disableNotification - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">DisableNotification</a> / <a href="./disable-notification.html">disableNotification</a><br/>
|
||||
<br/>
|
||||
<h1>disableNotification</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.DisableNotification$disableNotification"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">disableNotification</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/DisableNotification.kt#L4">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,63 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>DisableNotification - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">DisableNotification</a><br/>
|
||||
<br/>
|
||||
<h1>DisableNotification</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">DisableNotification</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/DisableNotification.kt#L3">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="disable-notification.html">disableNotification</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">disableNotification</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-pin-chat-message/index.html">PinChatMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PinChatMessage</span> <span class="symbol">:</span> <a href="../-chat-request/index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-message-action/index.html"><span class="identifier">MessageAction</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">DisableNotification</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send/-send-dice/index.html">SendDice</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendDice</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-replying-markup-send-message-request.html"><span class="identifier">ReplyingMarkupSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content/-dice-content/index.html"><span class="identifier">DiceContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../-reply-message-id/index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">DisableNotification</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.payments/-send-invoice/index.html">SendInvoice</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendInvoice</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-currencied/index.html"><span class="identifier">Currencied</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-priced/index.html"><span class="identifier">Priced</span></a><span class="symbol">, </span><a href="../-chat-request/index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">DisableNotification</span></a><span class="symbol">, </span><a href="../-reply-message-id/index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="../-reply-markup/index.html"><span class="identifier">ReplyMarkup</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.payments/-invoice-content/index.html"><span class="identifier">InvoiceContent</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html">SendMessageRequest</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">SendMessageRequest</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-chat-message-request.html"><span class="identifier">SendChatMessageRequest</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="../-reply-message-id/index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">DisableNotification</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>DisableWebPagePreview.disableWebPagePreview - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">DisableWebPagePreview</a> / <a href="./disable-web-page-preview.html">disableWebPagePreview</a><br/>
|
||||
<br/>
|
||||
<h1>disableWebPagePreview</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.DisableWebPagePreview$disableWebPagePreview"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">disableWebPagePreview</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/DisableWebPagePreview.kt#L4">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,47 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>DisableWebPagePreview - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">DisableWebPagePreview</a><br/>
|
||||
<br/>
|
||||
<h1>DisableWebPagePreview</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">DisableWebPagePreview</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/DisableWebPagePreview.kt#L3">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="disable-web-page-preview.html">disableWebPagePreview</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">disableWebPagePreview</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-input-message-content/-input-text-message-content/index.html">InputTextMessageContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputTextMessageContent</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.-common-abstracts/-captioned-output/index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">DisableWebPagePreview</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.abstracts/-input-message-content.html"><span class="identifier">InputMessageContent</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send/-send-text-message/index.html">SendTextMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendTextMessage</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content/-text-content/index.html"><span class="identifier">TextContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-replying-markup-send-message-request.html"><span class="identifier">ReplyingMarkupSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content/-text-content/index.html"><span class="identifier">TextContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-textable-send-message-request/index.html"><span class="identifier">TextableSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content/-text-content/index.html"><span class="identifier">TextContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">DisableWebPagePreview</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,47 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>InlineMessageAction - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">InlineMessageAction</a><br/>
|
||||
<br/>
|
||||
<h1>InlineMessageAction</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">InlineMessageAction</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/InlineMessageAction.kt#L5">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="inline-message-id.html">inlineMessageId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">inlineMessageId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-inline-message-identifier.html"><span class="identifier">InlineMessageIdentifier</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games/-get-game-high-scores-by-inline-message-id/index.html">GetGameHighScoresByInlineMessageId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">GetGameHighScoresByInlineMessageId</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games.abstracts/-get-game-high-scores/index.html"><span class="identifier">GetGameHighScores</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">InlineMessageAction</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games/-set-game-score-by-inline-message-id/index.html">SetGameScoreByInlineMessageId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SetGameScoreByInlineMessageId</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games.abstracts/-set-game-score/index.html"><span class="identifier">SetGameScore</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">InlineMessageAction</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>InlineMessageAction.inlineMessageId - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">InlineMessageAction</a> / <a href="./inline-message-id.html">inlineMessageId</a><br/>
|
||||
<br/>
|
||||
<h1>inlineMessageId</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.InlineMessageAction$inlineMessageId"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">inlineMessageId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-inline-message-identifier.html"><span class="identifier">InlineMessageIdentifier</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/InlineMessageAction.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,87 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>MessageAction - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">MessageAction</a><br/>
|
||||
<br/>
|
||||
<h1>MessageAction</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">MessageAction</span> <span class="symbol">:</span> <a href="../-chat-request/index.html"><span class="identifier">ChatRequest</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/MessageAction.kt#L5">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="message-id.html">messageId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">messageId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-message-identifier.html"><span class="identifier">MessageIdentifier</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests/-delete-message/index.html">DeleteMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">DeleteMessage</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">MessageAction</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.edit.abstracts/-edit-chat-message.html">EditChatMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">EditChatMessage</span><span class="symbol"><</span><span class="identifier">MT</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.abstracts/-message-content.html"><span class="identifier">MessageContent</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><span class="identifier">MT</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">MessageAction</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests/-forward-message/index.html">ForwardMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">ForwardMessage</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-possibly-forwarded-message/index.html"><span class="identifier">PossiblyForwardedMessage</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">MessageAction</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games/-get-game-high-scores-by-chat/index.html">GetGameHighScoresByChat</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">GetGameHighScoresByChat</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games.abstracts/-get-game-high-scores/index.html"><span class="identifier">GetGameHighScores</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">MessageAction</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.modify/-pin-chat-message/index.html">PinChatMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PinChatMessage</span> <span class="symbol">:</span> <a href="../-chat-request/index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">MessageAction</span></a><span class="symbol">, </span><a href="../-disable-notification/index.html"><span class="identifier">DisableNotification</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games/-set-game-score-by-chat-id/index.html">SetGameScoreByChatId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SetGameScoreByChatId</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.games.abstracts/-set-game-score/index.html"><span class="identifier">SetGameScore</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">MessageAction</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests/-stop-poll/index.html">StopPoll</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">StopPoll</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MessageAction</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.polls/-poll/index.html"><span class="identifier">Poll</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-reply-markup/index.html"><span class="identifier">ReplyMarkup</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>MessageAction.messageId - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">MessageAction</a> / <a href="./message-id.html">messageId</a><br/>
|
||||
<br/>
|
||||
<h1>messageId</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.MessageAction$messageId"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">messageId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-message-identifier.html"><span class="identifier">MessageIdentifier</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/MessageAction.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,71 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ReplyMarkup - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">ReplyMarkup</a><br/>
|
||||
<br/>
|
||||
<h1>ReplyMarkup</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">ReplyMarkup</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/ReplyMarkup.kt#L5">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="reply-markup.html">replyMarkup</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">replyMarkup</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.buttons/-keyboard-markup.html"><span class="identifier">KeyboardMarkup</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.edit.abstracts/-edit-reply-message/index.html">EditReplyMessage</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">EditReplyMessage</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ReplyMarkup</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-replying-markup-send-message-request.html">ReplyingMarkupSendMessageRequest</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">ReplyingMarkupSendMessageRequest</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ReplyMarkup</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.games/-send-game/index.html">SendGame</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendGame</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content/-game-content/index.html"><span class="identifier">GameContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ReplyMarkup</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.payments/-send-invoice/index.html">SendInvoice</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendInvoice</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-currencied/index.html"><span class="identifier">Currencied</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-priced/index.html"><span class="identifier">Priced</span></a><span class="symbol">, </span><a href="../-chat-request/index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../-disable-notification/index.html"><span class="identifier">DisableNotification</span></a><span class="symbol">, </span><a href="../-reply-message-id/index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">ReplyMarkup</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.payments/-invoice-content/index.html"><span class="identifier">InvoiceContent</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests/-stop-poll/index.html">StopPoll</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">StopPoll</span> <span class="symbol">:</span> <a href="../-message-action/index.html"><span class="identifier">MessageAction</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.abstracts/-simple-request/index.html"><span class="identifier">SimpleRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.polls/-poll/index.html"><span class="identifier">Poll</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ReplyMarkup</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ReplyMarkup.replyMarkup - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">ReplyMarkup</a> / <a href="./reply-markup.html">replyMarkup</a><br/>
|
||||
<br/>
|
||||
<h1>replyMarkup</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.ReplyMarkup$replyMarkup"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">replyMarkup</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.buttons/-keyboard-markup.html"><span class="identifier">KeyboardMarkup</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/ReplyMarkup.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,55 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ReplyMessageId - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">ReplyMessageId</a><br/>
|
||||
<br/>
|
||||
<h1>ReplyMessageId</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">ReplyMessageId</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/ReplyMessageId.kt#L5">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="reply-to-message-id.html">replyToMessageId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">replyToMessageId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-message-identifier.html"><span class="identifier">MessageIdentifier</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send/-send-dice/index.html">SendDice</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendDice</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-replying-markup-send-message-request.html"><span class="identifier">ReplyingMarkupSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content/-dice-content/index.html"><span class="identifier">DiceContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="../-disable-notification/index.html"><span class="identifier">DisableNotification</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.payments/-send-invoice/index.html">SendInvoice</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendInvoice</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-currencied/index.html"><span class="identifier">Currencied</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.payments.abstracts/-priced/index.html"><span class="identifier">Priced</span></a><span class="symbol">, </span><a href="../-chat-request/index.html"><span class="identifier">ChatRequest</span></a><span class="symbol">, </span><a href="../-disable-notification/index.html"><span class="identifier">DisableNotification</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="../-reply-markup/index.html"><span class="identifier">ReplyMarkup</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.payments/-invoice-content/index.html"><span class="identifier">InvoiceContent</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html">SendMessageRequest</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">SendMessageRequest</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-chat-message-request.html"><span class="identifier">SendChatMessageRequest</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ReplyMessageId</span></a><span class="symbol">, </span><a href="../-disable-notification/index.html"><span class="identifier">DisableNotification</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ReplyMessageId.replyToMessageId - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">ReplyMessageId</a> / <a href="./reply-to-message-id.html">replyToMessageId</a><br/>
|
||||
<br/>
|
||||
<h1>replyToMessageId</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.ReplyMessageId$replyToMessageId"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">replyToMessageId</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-message-identifier.html"><span class="identifier">MessageIdentifier</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/ReplyMessageId.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,63 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>UntilDate - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="./index.html">UntilDate</a><br/>
|
||||
<br/>
|
||||
<h1>UntilDate</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">UntilDate</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/UntilDate.kt#L5">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="until-date.html">untilDate</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">untilDate</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-telegram-date/index.html"><span class="identifier">TelegramDate</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-chat-member.abstracts/-banned-chat-member.html">BannedChatMember</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">BannedChatMember</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-chat-member.abstracts/-chat-member/index.html"><span class="identifier">ChatMember</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">UntilDate</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.members/-kick-chat-member/index.html">KickChatMember</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">KickChatMember</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.abstracts/-chat-member-request/index.html"><span class="identifier">ChatMemberRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">UntilDate</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.members/-promote-chat-member/index.html">PromoteChatMember</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PromoteChatMember</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.abstracts/-chat-member-request/index.html"><span class="identifier">ChatMemberRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">UntilDate</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.members/-restrict-chat-member/index.html">RestrictChatMember</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">RestrictChatMember</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.chat.abstracts/-chat-member-request/index.html"><span class="identifier">ChatMemberRequest</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">UntilDate</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>UntilDate.untilDate - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a> / <a href="index.html">UntilDate</a> / <a href="./until-date.html">untilDate</a><br/>
|
||||
<br/>
|
||||
<h1>untilDate</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.UntilDate$untilDate"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">untilDate</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-telegram-date/index.html"><span class="identifier">TelegramDate</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/UntilDate.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,81 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types - docs</title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">docs</a> / <a href="./index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</a><br/>
|
||||
<br/>
|
||||
<h2>Package com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types</h2>
|
||||
<h3>Types</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-chat-request/index.html">ChatRequest</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">ChatRequest</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-disable-notification/index.html">DisableNotification</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">DisableNotification</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-disable-web-page-preview/index.html">DisableWebPagePreview</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">DisableWebPagePreview</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-inline-message-action/index.html">InlineMessageAction</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineMessageAction</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-message-action/index.html">MessageAction</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">MessageAction</span> <span class="symbol">:</span> <a href="-chat-request/index.html"><span class="identifier">ChatRequest</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-reply-markup/index.html">ReplyMarkup</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">ReplyMarkup</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-reply-message-id/index.html">ReplyMessageId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">ReplyMessageId</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="-until-date/index.html">UntilDate</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">UntilDate</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,18 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CaptionedInput.captionEntities - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CaptionedInput</a> / <a href="./caption-entities.html">captionEntities</a><br/>
|
||||
<br/>
|
||||
<h1>captionEntities</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CaptionedInput$captionEntities"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">captionEntities</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-text-part/index.html"><span class="identifier">TextPart</span></a><span class="symbol">></span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Captioned.kt#L19">(source)</a>
|
||||
<p>Not full list of entities. This list WILL NOT contain <a href="../-text-part/index.html">TextPart</a>s with <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-regular-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource</a></p>
|
||||
<p><strong>See Also</strong><br/>
|
||||
<p><a href="../full-entities-list.html">CaptionedInput.fullEntitiesList</a></p>
|
||||
</p>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,127 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CaptionedInput - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">CaptionedInput</a><br/>
|
||||
<br/>
|
||||
<h1>CaptionedInput</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">CaptionedInput</span> <span class="symbol">:</span> <a href="../-captioned/index.html"><span class="identifier">Captioned</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Captioned.kt#L14">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="caption-entities.html">captionEntities</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<p>Not full list of entities. This list WILL NOT contain <a href="../-text-part/index.html">TextPart</a>s with <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-regular-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource</a></p>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">captionEntities</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-text-part/index.html"><span class="identifier">TextPart</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Extension Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../full-entities-list.html">fullEntitiesList</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<p>Convert its <a href="caption-entities.html">CaptionedInput.captionEntities</a> to list of <a href="../-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.TextSource</a>
|
||||
with <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-regular-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource</a></p>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a><span class="symbol">.</span><span class="identifier">fullEntitiesList</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-full-text-sources-list.html"><span class="identifier">FullTextSourcesList</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/to-html-captions.html">toHtmlCaptions</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a><span class="symbol">.</span><span class="identifier">toHtmlCaptions</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/to-markdown-captions.html">toMarkdownCaptions</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a><span class="symbol">.</span><span class="identifier">toMarkdownCaptions</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/to-markdown-v2-captions.html">toMarkdownV2Captions</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a><span class="symbol">.</span><span class="identifier">toMarkdownV2Captions</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-animation-content/index.html">AnimationContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">AnimationContent</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.abstracts/-media-content/index.html"><span class="identifier">MediaContent</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html">AudioContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">AudioContent</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.abstracts/-media-content/index.html"><span class="identifier">MediaContent</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-document-content/index.html">DocumentContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">DocumentContent</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.abstracts/-media-content/index.html"><span class="identifier">MediaContent</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.games/-game/index.html">Game</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Game</span> <span class="symbol">:</span> <a href="../-titled/index.html"><span class="identifier">Titled</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.abstracts/-media-group-content/index.html">MediaGroupContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">MediaGroupContent</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.abstracts/-media-content/index.html"><span class="identifier">MediaContent</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.polls/-quiz-poll/index.html">QuizPoll</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">QuizPoll</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.polls/-poll/index.html"><span class="identifier">Poll</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a><span class="symbol">, </span><a href="../-explained-input/index.html"><span class="identifier">ExplainedInput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-voice-content/index.html">VoiceContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">VoiceContent</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.abstracts/-media-content/index.html"><span class="identifier">MediaContent</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedInput</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,135 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CaptionedOutput - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">CaptionedOutput</a><br/>
|
||||
<br/>
|
||||
<h1>CaptionedOutput</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">CaptionedOutput</span> <span class="symbol">:</span> <a href="../-captioned/index.html"><span class="identifier">Captioned</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Captioned.kt#L10">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="parse-mode.html">parseMode</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parseMode</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-parse-mode/-parse-mode/index.html"><span class="identifier">ParseMode</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.audio/-inline-query-result-audio-common.html">InlineQueryResultAudioCommon</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultAudioCommon</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.document/-inline-query-result-document-common.html">InlineQueryResultDocumentCommon</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultDocumentCommon</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-described-inline-query-result/index.html"><span class="identifier">DescribedInlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.gif/-inline-query-result-gif-common.html">InlineQueryResultGifCommon</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultGifCommon</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-optionally-titled-inline-query-result.html"><span class="identifier">OptionallyTitledInlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.mpeg4gif/-inline-query-result-mpeg4-gif-common.html">InlineQueryResultMpeg4GifCommon</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultMpeg4GifCommon</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-optionally-titled-inline-query-result.html"><span class="identifier">OptionallyTitledInlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.photo/-inline-query-result-photo-common.html">InlineQueryResultPhotoCommon</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultPhotoCommon</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-optionally-titled-inline-query-result.html"><span class="identifier">OptionallyTitledInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-described-inline-query-result/index.html"><span class="identifier">DescribedInlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.video/-inline-query-result-video-common.html">InlineQueryResultVideoCommon</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultVideoCommon</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-described-inline-query-result/index.html"><span class="identifier">DescribedInlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.voice/-inline-query-result-voice-common.html">InlineQueryResultVoiceCommon</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultVoiceCommon</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media-animation/index.html">InputMediaAnimation</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputMediaAnimation</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media/index.html"><span class="identifier">InputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-sized-input-media/index.html"><span class="identifier">SizedInputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-durated-input-media/index.html"><span class="identifier">DuratedInputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-thumbed-input-media/index.html"><span class="identifier">ThumbedInputMedia</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media-audio/index.html">InputMediaAudio</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputMediaAudio</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media/index.html"><span class="identifier">InputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-durated-input-media/index.html"><span class="identifier">DuratedInputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-thumbed-input-media/index.html"><span class="identifier">ThumbedInputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-titled-input-media/index.html"><span class="identifier">TitledInputMedia</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../-performerable/index.html"><span class="identifier">Performerable</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media-document/index.html">InputMediaDocument</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputMediaDocument</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media/index.html"><span class="identifier">InputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-thumbed-input-media/index.html"><span class="identifier">ThumbedInputMedia</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-input-message-content/-input-text-message-content/index.html">InputTextMessageContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputTextMessageContent</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.-common-abstracts.types/-disable-web-page-preview/index.html"><span class="identifier">DisableWebPagePreview</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.abstracts/-input-message-content.html"><span class="identifier">InputMessageContent</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-media-group-member-input-media/index.html">MediaGroupMemberInputMedia</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">MediaGroupMemberInputMedia</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media/index.html"><span class="identifier">InputMedia</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.polls/-send-quiz-poll/index.html">SendQuizPoll</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendQuizPoll</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.polls/-send-poll/index.html"><span class="identifier">SendPoll</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="../-explained-output/index.html"><span class="identifier">ExplainedOutput</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CaptionedOutput.parseMode - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CaptionedOutput</a> / <a href="./parse-mode.html">parseMode</a><br/>
|
||||
<br/>
|
||||
<h1>parseMode</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CaptionedOutput$parseMode"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parseMode</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-parse-mode/-parse-mode/index.html"><span class="identifier">ParseMode</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Captioned.kt#L11">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Captioned.caption - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">Captioned</a> / <a href="./caption.html">caption</a><br/>
|
||||
<br/>
|
||||
<h1>caption</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.Captioned$caption"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">caption</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Captioned.kt#L7">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,47 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Captioned - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">Captioned</a><br/>
|
||||
<br/>
|
||||
<h1>Captioned</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">Captioned</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Captioned.kt#L6">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="caption.html">caption</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">caption</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../-captioned-input/index.html">CaptionedInput</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">CaptionedInput</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Captioned</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../-captioned-output/index.html">CaptionedOutput</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">CaptionedOutput</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Captioned</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonContactData.firstName - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonContactData</a> / <a href="./first-name.html">firstName</a><br/>
|
||||
<br/>
|
||||
<h1>firstName</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonContactData$firstName"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">firstName</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonContactData.kt#L5">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,79 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonContactData - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">CommonContactData</a><br/>
|
||||
<br/>
|
||||
<h1>CommonContactData</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">CommonContactData</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonContactData.kt#L3">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="first-name.html">firstName</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">firstName</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="last-name.html">lastName</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">lastName</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="phone-number.html">phoneNumber</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">phoneNumber</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="vcard.html">vcard</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">vcard</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-contact/index.html">Contact</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Contact</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">CommonContactData</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result/-inline-query-result-contact/index.html">InlineQueryResultContact</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InlineQueryResultContact</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CommonContactData</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumbed-inline-query-result/index.html"><span class="identifier">ThumbedInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumb-sized-inline-query-result/index.html"><span class="identifier">ThumbSizedInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-input-message-content/-input-contact-message-content/index.html">InputContactMessageContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputContactMessageContent</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">CommonContactData</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.abstracts/-input-message-content.html"><span class="identifier">InputMessageContent</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonContactData.lastName - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonContactData</a> / <a href="./last-name.html">lastName</a><br/>
|
||||
<br/>
|
||||
<h1>lastName</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonContactData$lastName"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">lastName</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonContactData.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonContactData.phoneNumber - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonContactData</a> / <a href="./phone-number.html">phoneNumber</a><br/>
|
||||
<br/>
|
||||
<h1>phoneNumber</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonContactData$phoneNumber"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">phoneNumber</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonContactData.kt#L4">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonContactData.vcard - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonContactData</a> / <a href="./vcard.html">vcard</a><br/>
|
||||
<br/>
|
||||
<h1>vcard</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonContactData$vcard"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">vcard</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonContactData.kt#L7">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonVenueData.address - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonVenueData</a> / <a href="./address.html">address</a><br/>
|
||||
<br/>
|
||||
<h1>address</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonVenueData$address"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">address</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonVenueData.kt#L5">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonVenueData.foursquareId - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonVenueData</a> / <a href="./foursquare-id.html">foursquareId</a><br/>
|
||||
<br/>
|
||||
<h1>foursquareId</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonVenueData$foursquareId"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">foursquareId</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonVenueData.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonVenueData.foursquareType - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonVenueData</a> / <a href="./foursquare-type.html">foursquareType</a><br/>
|
||||
<br/>
|
||||
<h1>foursquareType</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonVenueData$foursquareType"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">foursquareType</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonVenueData.kt#L7">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,79 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonVenueData - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">CommonVenueData</a><br/>
|
||||
<br/>
|
||||
<h1>CommonVenueData</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">CommonVenueData</span> <span class="symbol">:</span> <a href="../-titled/index.html"><span class="identifier">Titled</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonVenueData.kt#L3">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="address.html">address</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">address</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="foursquare-id.html">foursquareId</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">foursquareId</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="foursquare-type.html">foursquareType</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">foursquareType</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="title.html">title</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">title</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result/-inline-query-result-venue/index.html">InlineQueryResultVenue</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InlineQueryResultVenue</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="../-locationed/index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CommonVenueData</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumbed-inline-query-result/index.html"><span class="identifier">ThumbedInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumb-sized-inline-query-result/index.html"><span class="identifier">ThumbSizedInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-input-message-content/-input-venue-message-content/index.html">InputVenueMessageContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputVenueMessageContent</span> <span class="symbol">:</span> <a href="../-locationed/index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">CommonVenueData</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.abstracts/-input-message-content.html"><span class="identifier">InputMessageContent</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-venue/index.html">Venue</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Venue</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">CommonVenueData</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>CommonVenueData.title - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">CommonVenueData</a> / <a href="./title.html">title</a><br/>
|
||||
<br/>
|
||||
<h1>title</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.CommonVenueData$title"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">title</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/CommonVenueData.kt#L4">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,18 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ExplainedInput.explanationEntities - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">ExplainedInput</a> / <a href="./explanation-entities.html">explanationEntities</a><br/>
|
||||
<br/>
|
||||
<h1>explanationEntities</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.ExplainedInput$explanationEntities"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">explanationEntities</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-text-part/index.html"><span class="identifier">TextPart</span></a><span class="symbol">></span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Explained.kt#L19">(source)</a>
|
||||
<p>Not full list of entities. This list WILL NOT contain <a href="../-text-part/index.html">TextPart</a>s with <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-regular-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource</a></p>
|
||||
<p><strong>See Also</strong><br/>
|
||||
<p><a href="../full-entities-list.html">ExplainedInput.fullEntitiesList</a></p>
|
||||
</p>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,79 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ExplainedInput - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">ExplainedInput</a><br/>
|
||||
<br/>
|
||||
<h1>ExplainedInput</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">ExplainedInput</span> <span class="symbol">:</span> <a href="../-explained/index.html"><span class="identifier">Explained</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Explained.kt#L14">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="explanation-entities.html">explanationEntities</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<p>Not full list of entities. This list WILL NOT contain <a href="../-text-part/index.html">TextPart</a>s with <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-regular-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource</a></p>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">explanationEntities</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-text-part/index.html"><span class="identifier">TextPart</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Extension Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../full-entities-list.html">fullEntitiesList</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<p>Convert its <a href="explanation-entities.html">ExplainedInput.explanationEntities</a> to list of <a href="../-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.TextSource</a>
|
||||
with <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-regular-text-source/index.html">com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource</a></p>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">ExplainedInput</span></a><span class="symbol">.</span><span class="identifier">fullEntitiesList</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-full-text-sources-list.html"><span class="identifier">FullTextSourcesList</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/to-html-explanations.html">toHtmlExplanations</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">ExplainedInput</span></a><span class="symbol">.</span><span class="identifier">toHtmlExplanations</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/to-markdown-explanations.html">toMarkdownExplanations</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">ExplainedInput</span></a><span class="symbol">.</span><span class="identifier">toMarkdownExplanations</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/to-markdown-v2-explanations.html">toMarkdownV2Explanations</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><a href="./index.html"><span class="identifier">ExplainedInput</span></a><span class="symbol">.</span><span class="identifier">toMarkdownV2Explanations</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.polls/-quiz-poll/index.html">QuizPoll</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">QuizPoll</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.polls/-poll/index.html"><span class="identifier">Poll</span></a><span class="symbol">, </span><a href="../-captioned-input/index.html"><span class="identifier">CaptionedInput</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">ExplainedInput</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,39 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ExplainedOutput - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">ExplainedOutput</a><br/>
|
||||
<br/>
|
||||
<h1>ExplainedOutput</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">ExplainedOutput</span> <span class="symbol">:</span> <a href="../-explained/index.html"><span class="identifier">Explained</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Explained.kt#L10">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="parse-mode.html">parseMode</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parseMode</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-parse-mode/-parse-mode/index.html"><span class="identifier">ParseMode</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.polls/-send-quiz-poll/index.html">SendQuizPoll</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendQuizPoll</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.polls/-send-poll/index.html"><span class="identifier">SendPoll</span></a><span class="symbol">, </span><a href="../-captioned-output/index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">ExplainedOutput</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>ExplainedOutput.parseMode - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">ExplainedOutput</a> / <a href="./parse-mode.html">parseMode</a><br/>
|
||||
<br/>
|
||||
<h1>parseMode</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.ExplainedOutput$parseMode"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parseMode</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-parse-mode/-parse-mode/index.html"><span class="identifier">ParseMode</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Explained.kt#L11">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Explained.explanation - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">Explained</a> / <a href="./explanation.html">explanation</a><br/>
|
||||
<br/>
|
||||
<h1>explanation</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.Explained$explanation"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">explanation</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Explained.kt#L7">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,47 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Explained - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">Explained</a><br/>
|
||||
<br/>
|
||||
<h1>Explained</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">Explained</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Explained.kt#L6">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="explanation.html">explanation</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">explanation</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../-explained-input/index.html">ExplainedInput</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">ExplainedInput</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Explained</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../-explained-output/index.html">ExplainedOutput</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">ExplainedOutput</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Explained</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,13 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>FullTextPartsList - docs</title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">docs</a> / <a href="index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./-full-text-parts-list.html">FullTextPartsList</a><br/>
|
||||
<br/>
|
||||
<h1>FullTextPartsList</h1>
|
||||
(common) <code><span class="keyword">typealias </span><span class="identifier">FullTextPartsList</span> <span class="symbol">=</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="-text-part/index.html"><span class="identifier">TextPart</span></a><span class="symbol">></span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/TextSource.kt#L4">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,13 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>FullTextSourcesList - docs</title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">docs</a> / <a href="index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./-full-text-sources-list.html">FullTextSourcesList</a><br/>
|
||||
<br/>
|
||||
<h1>FullTextSourcesList</h1>
|
||||
(common) <code><span class="keyword">typealias </span><span class="identifier">FullTextSourcesList</span> <span class="symbol">=</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="-text-source/index.html"><span class="identifier">TextSource</span></a><span class="symbol">></span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/TextSource.kt#L3">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,48 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Livable - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">Livable</a><br/>
|
||||
<br/>
|
||||
<h1>Livable</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">Livable</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Livable.kt#L3">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="live-period.html">livePeriod</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<p>Period in SECONDS</p>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">livePeriod</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result/-inline-query-result-location/index.html">InlineQueryResultLocation</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InlineQueryResultLocation</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="../-locationed/index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Livable</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumbed-inline-query-result/index.html"><span class="identifier">ThumbedInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumb-sized-inline-query-result/index.html"><span class="identifier">ThumbSizedInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-input-message-content/-input-location-message-content/index.html">InputLocationMessageContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputLocationMessageContent</span> <span class="symbol">:</span> <a href="../-locationed/index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Livable</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.abstracts/-input-message-content.html"><span class="identifier">InputMessageContent</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,15 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Livable.livePeriod - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">Livable</a> / <a href="./live-period.html">livePeriod</a><br/>
|
||||
<br/>
|
||||
<h1>livePeriod</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.Livable$livePeriod"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">livePeriod</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Livable.kt#L7">(source)</a>
|
||||
<p>Period in SECONDS</p>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,87 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Locationed - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">Locationed</a><br/>
|
||||
<br/>
|
||||
<h1>Locationed</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">Locationed</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Locationed.kt#L3">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="latitude.html">latitude</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">latitude</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="longitude.html">longitude</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">longitude</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result/-inline-query-result-location/index.html">InlineQueryResultLocation</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InlineQueryResultLocation</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="../-livable/index.html"><span class="identifier">Livable</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumbed-inline-query-result/index.html"><span class="identifier">ThumbedInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumb-sized-inline-query-result/index.html"><span class="identifier">ThumbSizedInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result/-inline-query-result-venue/index.html">InlineQueryResultVenue</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InlineQueryResultVenue</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="../-common-venue-data/index.html"><span class="identifier">CommonVenueData</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-with-input-message-content-inline-query-result/index.html"><span class="identifier">WithInputMessageContentInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumbed-inline-query-result/index.html"><span class="identifier">ThumbedInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumb-sized-inline-query-result/index.html"><span class="identifier">ThumbSizedInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-input-message-content/-input-location-message-content/index.html">InputLocationMessageContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputLocationMessageContent</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="../-livable/index.html"><span class="identifier">Livable</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.abstracts/-input-message-content.html"><span class="identifier">InputMessageContent</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-input-message-content/-input-venue-message-content/index.html">InputVenueMessageContent</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputVenueMessageContent</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Locationed</span></a><span class="symbol">, </span><a href="../-common-venue-data/index.html"><span class="identifier">CommonVenueData</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.abstracts/-input-message-content.html"><span class="identifier">InputMessageContent</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types/-location/index.html">Location</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Location</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Locationed</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-positioned-inline-query-result.html">PositionedInlineQueryResult</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">PositionedInlineQueryResult</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-inline-query-result/index.html"><span class="identifier">InlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Locationed</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Locationed.latitude - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">Locationed</a> / <a href="./latitude.html">latitude</a><br/>
|
||||
<br/>
|
||||
<h1>latitude</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.Locationed$latitude"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">latitude</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Locationed.kt#L4">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Locationed.longitude - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">Locationed</a> / <a href="./longitude.html">longitude</a><br/>
|
||||
<br/>
|
||||
<h1>longitude</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.Locationed$longitude"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">longitude</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Locationed.kt#L5">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,55 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>MimeTyped - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">MimeTyped</a><br/>
|
||||
<br/>
|
||||
<h1>MimeTyped</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">MimeTyped</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/MimeTyped.kt#L5">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="mime-type.html">mimeType</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">mimeType</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/-mime-type/index.html"><span class="identifier">MimeType</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.document/-inline-query-result-document.html">InlineQueryResultDocument</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultDocument</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.document/-inline-query-result-document-common.html"><span class="identifier">InlineQueryResultDocumentCommon</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-url-inline-query-result/index.html"><span class="identifier">UrlInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumbed-inline-query-result/index.html"><span class="identifier">ThumbedInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumb-sized-inline-query-result/index.html"><span class="identifier">ThumbSizedInlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">MimeTyped</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.video/-inline-query-result-video.html">InlineQueryResultVideo</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultVideo</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.video/-inline-query-result-video-common.html"><span class="identifier">InlineQueryResultVideoCommon</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-url-inline-query-result/index.html"><span class="identifier">UrlInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-thumbed-inline-query-result/index.html"><span class="identifier">ThumbedInlineQueryResult</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">MimeTyped</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-sized-inline-query-result/index.html"><span class="identifier">SizedInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-durated-inline-result-query/index.html"><span class="identifier">DuratedInlineResultQuery</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files.abstracts/-mimed-media-file.html">MimedMediaFile</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">MimedMediaFile</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files.abstracts/-telegram-media-file/index.html"><span class="identifier">TelegramMediaFile</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">MimeTyped</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>MimeTyped.mimeType - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">MimeTyped</a> / <a href="./mime-type.html">mimeType</a><br/>
|
||||
<br/>
|
||||
<h1>mimeType</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.MimeTyped$mimeType"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">mimeType</span><span class="symbol">: </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.utils/-mime-type/index.html"><span class="identifier">MimeType</span></a><span class="symbol">?</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/MimeTyped.kt#L6">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,119 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>MultilevelTextSource - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">MultilevelTextSource</a><br/>
|
||||
<br/>
|
||||
<h1>MultilevelTextSource</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">MultilevelTextSource</span> <span class="symbol">:</span> <a href="../-text-source/index.html"><span class="identifier">TextSource</span></a></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/TextSource.kt#L14">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="text-parts.html">textParts</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">textParts</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-text-part/index.html"><span class="identifier">TextPart</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-bold-text-source/index.html">BoldTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">BoldTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">BotCommandTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-cash-tag-text-source/index.html">CashTagTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">CashTagTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-e-mail-text-source/index.html">EMailTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">EMailTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-hash-tag-text-source/index.html">HashTagTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">HashTagTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-italic-text-source/index.html">ItalicTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">ItalicTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-mention-text-source/index.html">MentionTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">MentionTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-phone-number-text-source/index.html">PhoneNumberTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">PhoneNumberTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-strikethrough-text-source/index.html">StrikethroughTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">StrikethroughTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-text-mention-text-source/index.html">TextMentionTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">TextMentionTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-message-entity.textsources/-underline-text-source/index.html">UnderlineTextSource</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">UnderlineTextSource</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">MultilevelTextSource</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,14 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>MultilevelTextSource.textParts - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="index.html">MultilevelTextSource</a> / <a href="./text-parts.html">textParts</a><br/>
|
||||
<br/>
|
||||
<h1>textParts</h1>
|
||||
(common) <a name="com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.MultilevelTextSource$textParts"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">textParts</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-text-part/index.html"><span class="identifier">TextPart</span></a><span class="symbol">></span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/TextSource.kt#L15">(source)</a>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,63 +0,0 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta charset="UTF-8">
|
||||
<title>Performerable - docs</title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">docs</a> / <a href="../index.html">com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts</a> / <a href="./index.html">Performerable</a><br/>
|
||||
<br/>
|
||||
<h1>Performerable</h1>
|
||||
(common) <code><span class="keyword">interface </span><span class="identifier">Performerable</span></code> <a href="https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/Performerable.kt#L3">(source)</a>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="performer.html">performer</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">performer</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files/-audio-file/index.html">AudioFile</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">AudioFile</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files.abstracts/-telegram-media-file/index.html"><span class="identifier">TelegramMediaFile</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files.abstracts/-mimed-media-file.html"><span class="identifier">MimedMediaFile</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files.abstracts/-thumbed-media-file/index.html"><span class="identifier">ThumbedMediaFile</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files.abstracts/-playable-media-file/index.html"><span class="identifier">PlayableMediaFile</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.files.abstracts/-titled-media-file/index.html"><span class="identifier">TitledMediaFile</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Performerable</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.audio/-inline-query-result-audio.html">InlineQueryResultAudio</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">InlineQueryResultAudio</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts.results.audio/-inline-query-result-audio-common.html"><span class="identifier">InlineQueryResultAudioCommon</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-url-inline-query-result/index.html"><span class="identifier">UrlInlineQueryResult</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-durated-inline-result-query/index.html"><span class="identifier">DuratedInlineResultQuery</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Performerable</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-inline-queries.-inline-query-result.abstracts/-titled-inline-query-result/index.html"><span class="identifier">TitledInlineQueryResult</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media-audio/index.html">InputMediaAudio</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InputMediaAudio</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-input-media/index.html"><span class="identifier">InputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-durated-input-media/index.html"><span class="identifier">DuratedInputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-thumbed-input-media/index.html"><span class="identifier">ThumbedInputMedia</span></a><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.-input-media/-titled-input-media/index.html"><span class="identifier">TitledInputMedia</span></a><span class="symbol">, </span><a href="../-captioned-output/index.html"><span class="identifier">CaptionedOutput</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Performerable</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
(common)
|
||||
<h4><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.media/-send-audio-data/index.html">SendAudioData</a></h4>
|
||||
</td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">SendAudioData</span> <span class="symbol">:</span> <a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.media.base/-data-request.html"><span class="identifier">DataRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html"><span class="identifier">AudioContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-send-message-request.html"><span class="identifier">SendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html"><span class="identifier">AudioContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-replying-markup-send-message-request.html"><span class="identifier">ReplyingMarkupSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html"><span class="identifier">AudioContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-textable-send-message-request/index.html"><span class="identifier">TextableSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html"><span class="identifier">AudioContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-thumbed-send-message-request/index.html"><span class="identifier">ThumbedSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html"><span class="identifier">AudioContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-titled-send-message-request/index.html"><span class="identifier">TitledSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html"><span class="identifier">AudioContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.requests.send.abstracts/-durated-send-message-request/index.html"><span class="identifier">DuratedSendMessageRequest</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.abstracts/-content-message/index.html"><span class="identifier">ContentMessage</span></a><span class="symbol"><</span><a href="../../com.github.insanusmokrassar.-telegram-bot-a-p-i.types.message.content.media/-audio-content/index.html"><span class="identifier">AudioContent</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">Performerable</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user