mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-12-22 00:27:19 +00:00
Update PollsBot.kt
This commit is contained in:
parent
d289c2101d
commit
e28a795796
@ -33,7 +33,11 @@ import kotlinx.coroutines.sync.Mutex
|
||||
import kotlinx.coroutines.sync.withLock
|
||||
|
||||
/**
|
||||
* The main purpose of this bot is just to answer "Oh, hi, " and add user mention here
|
||||
* This bot will answer with anonymous or public poll and send message on
|
||||
* updates of any of it.
|
||||
*
|
||||
* * Use `/anonymous` to take anonymous regular poll
|
||||
* * Use `/public` to take public regular poll
|
||||
*/
|
||||
@OptIn(PreviewFeature::class)
|
||||
suspend fun main(vararg args: String) {
|
||||
|
Loading…
Reference in New Issue
Block a user