Properties

Link copied to clipboard
abstract val id: PollId
Link copied to clipboard
abstract val isAnonymous: Boolean
Link copied to clipboard
abstract val isClosed: Boolean
Link copied to clipboard
abstract val options: List<PollOption>
Link copied to clipboard
abstract val question: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val text: String
Link copied to clipboard
abstract override val textSources: List<TextSource>

Full list of TextSources

Link copied to clipboard
abstract val votesCount: Int

Functions

Link copied to clipboard
fun Poll.createRequest(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendPoll