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

Functions

copyMessage
Link copied to clipboard
common
inline suspend fun RequestsExecutor.copyMessage(toChatId: ChatIdentifier, message: Message, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(toChat: Chat, message: Message, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: Long, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChatId: ChatIdentifier, toChat: Chat, messageId: Long, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(toChatId: ChatIdentifier, message: Message, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChat: Chat, toChatId: ChatIdentifier, messageId: Long, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChat: Chat, toChat: Chat, messageId: Long, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(toChat: Chat, message: Message, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: Long, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChatId: ChatIdentifier, toChat: Chat, messageId: Long, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChat: Chat, toChatId: ChatIdentifier, messageId: Long, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
inline suspend fun RequestsExecutor.copyMessage(fromChat: Chat, toChat: Chat, messageId: Long, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Long
reply
Link copied to clipboard
common
inline suspend fun RequestsExecutor.reply(to: Message, location: StaticLocation, disableNotification: Boolean, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
inline suspend fun RequestsExecutor.reply(to: Message, contact: Contact, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<ContactContent>
inline suspend fun RequestsExecutor.reply(to: Message, animationType: DiceAnimationType?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<DiceContent>
inline suspend fun RequestsExecutor.reply(to: Message, venue: Venue, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
inline suspend fun RequestsExecutor.reply(to: Message, latitude: Double, longitude: Double, disableNotification: Boolean, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
inline suspend fun RequestsExecutor.reply(to: Message, entities: List<TextSource>, disableWebPagePreview: Boolean?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
inline suspend fun RequestsExecutor.reply(to: Message, text: String, parseMode: ParseMode?, disableWebPagePreview: Boolean?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
inline suspend fun RequestsExecutor.reply(to: Message, phoneNumber: String, firstName: String, lastName: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<ContactContent>
inline suspend fun RequestsExecutor.reply(to: Message, location: StaticLocation, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
inline suspend fun RequestsExecutor.reply(to: Message, latitude: Double, longitude: Double, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
sendActionFindLocation
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionFindLocation(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionFindLocation(chat: Chat): Boolean
sendActionRecordAudio
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionRecordAudio(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionRecordAudio(chat: Chat): Boolean
sendActionRecordVideo
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionRecordVideo(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionRecordVideo(chat: Chat): Boolean
sendActionRecordVideoNote
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionRecordVideoNote(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionRecordVideoNote(chat: Chat): Boolean
sendActionTyping
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionTyping(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionTyping(chat: Chat): Boolean
sendActionUploadAudio
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionUploadAudio(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadAudio(chat: Chat): Boolean
sendActionUploadDocument
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionUploadDocument(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadDocument(chat: Chat): Boolean
sendActionUploadPhoto
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionUploadPhoto(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadPhoto(chat: Chat): Boolean
sendActionUploadVideo
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionUploadVideo(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadVideo(chat: Chat): Boolean
sendActionUploadVideoNote
Link copied to clipboard
common
suspend fun RequestsExecutor.sendActionUploadVideoNote(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadVideoNote(chat: Chat): Boolean
sendBotAction
Link copied to clipboard
common
suspend fun RequestsExecutor.sendBotAction(chatId: ChatIdentifier, action: BotAction): Boolean
suspend fun RequestsExecutor.sendBotAction(chat: Chat, action: BotAction): Boolean
sendContact
Link copied to clipboard
common
suspend fun RequestsExecutor.sendContact(chatId: ChatIdentifier, contact: Contact, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<ContactContent>
suspend fun RequestsExecutor.sendContact(chat: Chat, contact: Contact, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<ContactContent>
suspend fun RequestsExecutor.sendContact(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<ContactContent>
suspend fun RequestsExecutor.sendContact(chat: Chat, phoneNumber: String, firstName: String, lastName: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<ContactContent>
sendDice
Link copied to clipboard
common
suspend fun RequestsExecutor.sendDice(chatId: ChatIdentifier, animationType: DiceAnimationType?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<DiceContent>
suspend fun RequestsExecutor.sendDice(chat: Chat, animationType: DiceAnimationType?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<DiceContent>
sendLocation
Link copied to clipboard
common
suspend fun RequestsExecutor.sendLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendLocation(chat: Chat, location: StaticLocation, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendLocation(chat: Chat, latitude: Double, longitude: Double, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
sendMessage
Link copied to clipboard
common
suspend fun RequestsExecutor.sendMessage(chatId: ChatIdentifier, entities: List<TextSource>, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendMessage(chat: Chat, entities: List<TextSource>, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode?, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendMessage(chat: Chat, text: String, parseMode: ParseMode?, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
sendStaticLocation
Link copied to clipboard
common
suspend fun RequestsExecutor.sendStaticLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendStaticLocation(chat: Chat, location: StaticLocation, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendStaticLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendStaticLocation(chat: Chat, latitude: Double, longitude: Double, disableNotification: Boolean, replyToMessageId: Long?, replyMarkup: KeyboardMarkup?): ContentMessage<LocationContent>
sendTextMessage
Link copied to clipboard
common
suspend fun RequestsExecutor.sendTextMessage(chatId: ChatIdentifier, entities: List<TextSource>, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendTextMessage(chat: Chat, entities: List<TextSource>, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendTextMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode?, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendTextMessage(chat: Chat, text: String, parseMode: ParseMode?, disableWebPagePreview: Boolean?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<TextContent>
sendVenue
Link copied to clipboard
common
suspend fun RequestsExecutor.sendVenue(chatId: ChatIdentifier, venue: Venue, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chat: Chat, venue: Venue, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chatId: ChatIdentifier, location: StaticLocation, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chat: Chat, location: StaticLocation, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chatId: ChatIdentifier, latitude: Double, longitude: Double, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chat: Chat, latitude: Double, longitude: Double, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VenueContent>