SendQuizPoll
Constructors
Link copied to clipboard
constructor(chatId: ChatIdentifier, question: String, options: List<InputPollOption>, correctOptionId: Int, explanation: String?, questionParseMode: ParseMode? = null, explanationParseMode: ParseMode? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, openPeriod: LongSeconds? = null, closeDate: LongSeconds? = null, 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)
constructor(chatId: ChatIdentifier, questionEntities: List<TextSource>, options: List<InputPollOption>, correctOptionId: Int, explanation: String?, explanationParseMode: ParseMode? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, openPeriod: LongSeconds? = null, closeDate: LongSeconds? = null, 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)
constructor(chatId: ChatIdentifier, question: String, options: List<InputPollOption>, correctOptionId: Int, questionParseMode: ParseMode? = null, explanationTextSources: List<TextSource>? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, openPeriod: LongSeconds? = null, closeDate: LongSeconds? = null, 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)
constructor(chatId: ChatIdentifier, questionEntities: List<TextSource>, options: List<InputPollOption>, correctOptionId: Int, explanationTextSources: List<TextSource>? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, openPeriod: LongSeconds? = null, closeDate: LongSeconds? = null, 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)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "business_connection_id")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Full list of TextSources
Link copied to clipboard