update readmes

This commit is contained in:
2026-08-21 15:51:06 +06:00
parent 016400a821
commit ce48393895
104 changed files with 2615 additions and 333 deletions

View File

@@ -18,7 +18,12 @@ import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.flow
/**
* This bot will send you live location and update it from time to time
* Starts the long-polling live-location example.
*
* The first element of [args] must be the bot token; later elements are ignored.
* Each `/start` command begins a synthetic location at `(0.0, 0.0)`, advances both
* coordinates every three seconds, and stops when the current message's `Cancel`
* button is pressed.
*/
suspend fun main(vararg args: String) {
val botToken = args.first()
@@ -64,4 +69,3 @@ suspend fun main(vararg args: String) {
allUpdatesFlow.subscribeLoggingDropExceptions(this) { println(it) }
}.second.join()
}