Package dev. inmo. tgbotapi. extensions. api. send
Types
Functions
Link copied to clipboard
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, message: Message, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(toChat: Chat, message: Message, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChat: Chat, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, message: Message, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChatId: ChatIdentifier, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChat: Chat, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(toChat: Chat, message: Message, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChat: Chat, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChatId: ChatIdentifier, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChat: Chat, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.copyMessages(toChat: ChatIdentifier, update: SentMediaGroupUpdate, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
inline suspend fun TelegramBot.copyMessages(toChat: Chat, update: SentMediaGroupUpdate, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are
inline suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, messages: List<MediaGroupMessage<MediaGroupContent>>, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
inline suspend fun TelegramBot.copyMessages(toChat: Chat, messages: List<MediaGroupMessage<MediaGroupContent>>, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are
inline suspend fun TelegramBot.copyMessages(toChat: ChatIdentifier, update: SentMediaGroupUpdate, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
inline suspend fun TelegramBot.copyMessages(toChat: Chat, update: SentMediaGroupUpdate, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are
inline suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, messages: List<MediaGroupMessage<MediaGroupContent>>, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
inline suspend fun TelegramBot.copyMessages(toChat: Chat, messages: List<MediaGroupMessage<MediaGroupContent>>, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are
Link copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, location: StaticLocation, disableNotification: Boolean = false, protectContent: Boolean = false, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, contact: Contact, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, animationType: DiceAnimationType, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, videoNote: VideoNoteFile, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, sticker: Sticker, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, game: Game, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, venue: Venue, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, latitude: Double, longitude: Double, disableNotification: Boolean = false, protectContent: Boolean = false, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, entities: TextSourcesList, title: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, poll: RegularPoll, isClosed: Boolean = false, question: String = poll.question, options: List<String> = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, correctOptionId: Int, entities: TextSourcesList, isAnonymous: Boolean = true, isClosed: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, quizPoll: QuizPoll, entities: TextSourcesList, isClosed: Boolean = false, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, quizPoll: QuizPoll, isClosed: Boolean = false, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, title: String, description: String, payload: String, providerToken: String, currency: Currency, prices: List<LabeledPrice>, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, startParameter: StartParameter? = null, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithAnimation(to: Message, animation: InputFile, entities: TextSourcesList, thumb: InputFile? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAnimation(to: Message, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(to: Message, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(to: Message, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDice(to: Message, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(to: Message, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(to: Message, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDocuments(to: Message, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithGallery(to: Message, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithGame(to: Message, game: Game, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithGame(to: Message, gameShortName: String, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithMediaGroup(to: Message, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(to: Message, fileId: InputFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(to: Message, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPlaylist(to: Message, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithSticker(to: Message, sticker: InputFile, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(to: Message, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(to: Message, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideoNote(to: Message, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(to: Message, voice: InputFile, entities: TextSourcesList, duration: Long? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(to: Message, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionChooseStickerAction(chat: Chat): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionFindLocation(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideo(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideoNote(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVoice(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionTyping(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadDocument(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadPhoto(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideo(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideoNote(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVoice(chatId: ChatIdentifier): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendBotAction(chatId: ChatIdentifier, action: BotAction): Boolean
Content copied to clipboard
suspend fun TelegramBot.sendBotAction(chat: Chat, action: BotAction): Boolean
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, contact: Contact, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
suspend fun TelegramBot.sendContact(chat: Chat, contact: Contact, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
suspend fun TelegramBot.sendContact(chat: Chat, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendDice(chatId: ChatIdentifier, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Content copied to clipboard
suspend fun TelegramBot.sendDice(chat: Chat, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
suspend fun TelegramBot.sendLocation(chat: Chat, location: StaticLocation, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
suspend fun TelegramBot.sendLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
suspend fun TelegramBot.sendLocation(chat: Chat, latitude: Double, longitude: Double, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendMessage(chat: Chat, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendStaticLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
suspend fun TelegramBot.sendStaticLocation(chat: Chat, location: StaticLocation, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
suspend fun TelegramBot.sendStaticLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
suspend fun TelegramBot.sendStaticLocation(chat: Chat, latitude: Double, longitude: Double, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendTextMessage(chat: Chat, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendTextMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, venue: Venue, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
suspend fun TelegramBot.sendVenue(chat: Chat, venue: Venue, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
suspend fun TelegramBot.sendVenue(chat: Chat, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
suspend fun TelegramBot.sendVenue(chat: Chat, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withAction(actionRequest: SendAction, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withAction(chatId: ChatId, action: BotAction, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withAction(chat: Chat, action: BotAction, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withChooseStickerAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withChooseStickerAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withFindLocationAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withFindLocationAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoNoteAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoNoteAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVoiceAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withRecordVoiceAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withTypingAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withTypingAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadDocumentAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withUploadDocumentAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadPhotoAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withUploadPhotoAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoNoteAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoNoteAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVoiceAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
Content copied to clipboard
suspend fun <T> TelegramBot.withUploadVoiceAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Content copied to clipboard