Package-level declarations
Functions
Link copied to clipboard
fun Poll.createRequest(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendPoll
Link copied to clipboard
fun SendPoll(chatId: ChatIdentifier, textSources: TextSourcesList, options: List<InputPollOption>, isAnonymous: Boolean = true, isClosed: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendRegularPoll
fun SendPoll(chatId: ChatIdentifier, question: String, options: List<InputPollOption>, questionParseMode: ParseMode? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendRegularPoll
Link copied to clipboard
fun SendQuizPoll(chatId: ChatIdentifier, questionEntities: List<TextSource>, options: List<InputPollOption>, correctOptionId: Int, closeInfo: ScheduledCloseInfo?, explanationTextSources: List<TextSource>? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendQuizPoll
fun SendQuizPoll(chatId: ChatIdentifier, question: String, options: List<InputPollOption>, correctOptionId: Int, closeInfo: ScheduledCloseInfo?, questionParseMode: ParseMode? = null, explanationTextSources: List<TextSource>? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendQuizPoll
fun SendQuizPoll(chatId: ChatIdentifier, questionEntities: List<TextSource>, options: List<InputPollOption>, correctOptionId: Int, closeInfo: ScheduledCloseInfo?, explanation: String?, explanationParseMode: ParseMode? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendQuizPoll
fun SendQuizPoll(chatId: ChatIdentifier, question: String, options: List<InputPollOption>, correctOptionId: Int, closeInfo: ScheduledCloseInfo?, explanation: String?, questionParseMode: ParseMode? = null, explanationParseMode: ParseMode? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendQuizPoll
Link copied to clipboard
fun SendRegularPoll(chatId: ChatIdentifier, questionTextSources: List<TextSource>, options: List<InputPollOption>, closeInfo: ScheduledCloseInfo?, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendRegularPoll
fun SendRegularPoll(chatId: ChatIdentifier, options: List<InputPollOption>, closeInfo: ScheduledCloseInfo?, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builder: EntitiesBuilderBody): SendRegularPoll
fun SendRegularPoll(chatId: ChatIdentifier, question: String, options: List<InputPollOption>, closeInfo: ScheduledCloseInfo?, questionParseMode: ParseMode? = null, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendRegularPoll