Package dev.inmo.tgbotapi.extensions.api.send.polls

Functions

replyWithQuizPoll
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithQuizPoll(to: Message, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, isClosed: Boolean, entities: List<TextSource>, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
inline suspend fun RequestsExecutor.replyWithQuizPoll(to: Message, isClosed: Boolean, quizPoll: QuizPoll, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, entities: List<TextSource>, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
inline suspend fun RequestsExecutor.replyWithQuizPoll(to: Message, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, isClosed: Boolean, explanation: String?, parseMode: ParseMode?, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
inline suspend fun RequestsExecutor.replyWithQuizPoll(to: Message, isClosed: Boolean, quizPoll: QuizPoll, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, explanation: String?, parseMode: ParseMode?, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
replyWithRegularPoll
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithRegularPoll(to: Message, question: String, options: List<String>, isAnonymous: Boolean, isClosed: Boolean, allowMultipleAnswers: Boolean, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
inline suspend fun RequestsExecutor.replyWithRegularPoll(to: Message, poll: RegularPoll, isClosed: Boolean, question: String, options: List<String>, isAnonymous: Boolean, allowMultipleAnswers: Boolean, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
sendQuizPoll
Link copied to clipboard
common
inline suspend fun RequestsExecutor.sendQuizPoll(chatId: ChatIdentifier, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, isClosed: Boolean, entities: List<TextSource>, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
inline suspend fun RequestsExecutor.sendQuizPoll(chat: Chat, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, isClosed: Boolean, entities: List<TextSource>, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
inline suspend fun RequestsExecutor.sendQuizPoll(chatId: ChatIdentifier, isClosed: Boolean, quizPoll: QuizPoll, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, entities: List<TextSource>, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
suspend fun RequestsExecutor.sendQuizPoll(chatId: ChatIdentifier, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, isClosed: Boolean, explanation: String?, parseMode: ParseMode?, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
inline suspend fun RequestsExecutor.sendQuizPoll(chat: Chat, isClosed: Boolean, quizPoll: QuizPoll, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, entities: List<TextSource>, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
suspend fun RequestsExecutor.sendQuizPoll(chat: Chat, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, isClosed: Boolean, explanation: String?, parseMode: ParseMode?, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
suspend fun RequestsExecutor.sendQuizPoll(chatId: ChatIdentifier, isClosed: Boolean, quizPoll: QuizPoll, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, explanation: String?, parseMode: ParseMode?, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
suspend fun RequestsExecutor.sendQuizPoll(chat: Chat, isClosed: Boolean, quizPoll: QuizPoll, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean, explanation: String?, parseMode: ParseMode?, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
sendRegularPoll
Link copied to clipboard
common
suspend fun RequestsExecutor.sendRegularPoll(chatId: ChatIdentifier, question: String, options: List<String>, isAnonymous: Boolean, isClosed: Boolean, allowMultipleAnswers: Boolean, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
suspend fun RequestsExecutor.sendRegularPoll(chat: Chat, question: String, options: List<String>, isAnonymous: Boolean, isClosed: Boolean, allowMultipleAnswers: Boolean, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
suspend fun RequestsExecutor.sendRegularPoll(chatId: ChatIdentifier, poll: RegularPoll, isClosed: Boolean, question: String, options: List<String>, isAnonymous: Boolean, allowMultipleAnswers: Boolean, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>
suspend fun RequestsExecutor.sendRegularPoll(chat: Chat, poll: RegularPoll, isClosed: Boolean, question: String, options: List<String>, isAnonymous: Boolean, allowMultipleAnswers: Boolean, closeInfo: ScheduledCloseInfo?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PollContent>