PollContent

@Serializable
data class PollContent(val poll: Poll) : MessageContent

Constructors

Link copied to clipboard
constructor(poll: Poll)

Properties

Link copied to clipboard
val poll: Poll

Functions

Link copied to clipboard
open override fun createResend(    chatId: ChatIdentifier,     messageThreadId: MessageThreadId?,     businessConnectionId: BusinessConnectionId?,     disableNotification: Boolean,     protectContent: Boolean,     allowPaidBroadcast: Boolean,     effectId: EffectId?,     replyParameters: ReplyParameters?,     replyMarkup: KeyboardMarkup?): Request<ContentMessage<PollContent>>
open fun createResend(    chatId: ChatIdentifier,     messageThreadId: MessageThreadId? = chatId.threadId,     businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowPaidBroadcast: Boolean = false,     effectId: EffectId? = null,     replyToMessageId: MessageId?,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Request<out AccessibleMessage>