docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.send

Package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.send

Functions

(common)

sendActionFindLocation

suspend fun RequestsExecutor.sendActionFindLocation(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionFindLocation(chat: Chat): Boolean
(common)

sendActionRecordAudio

suspend fun RequestsExecutor.sendActionRecordAudio(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionRecordAudio(chat: Chat): Boolean
(common)

sendActionRecordVideo

suspend fun RequestsExecutor.sendActionRecordVideo(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionRecordVideo(chat: Chat): Boolean
(common)

sendActionRecordVideoNote

suspend fun RequestsExecutor.sendActionRecordVideoNote(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionRecordVideoNote(chat: Chat): Boolean
(common)

sendActionTyping

suspend fun RequestsExecutor.sendActionTyping(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionTyping(chat: Chat): Boolean
(common)

sendActionUploadAudio

suspend fun RequestsExecutor.sendActionUploadAudio(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadAudio(chat: Chat): Boolean
(common)

sendActionUploadDocument

suspend fun RequestsExecutor.sendActionUploadDocument(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadDocument(chat: Chat): Boolean
(common)

sendActionUploadPhoto

suspend fun RequestsExecutor.sendActionUploadPhoto(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadPhoto(chat: Chat): Boolean
(common)

sendActionUploadVideo

suspend fun RequestsExecutor.sendActionUploadVideo(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadVideo(chat: Chat): Boolean
(common)

sendActionUploadVideoNote

suspend fun RequestsExecutor.sendActionUploadVideoNote(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.sendActionUploadVideoNote(chat: Chat): Boolean
(common)

sendBotAction

suspend fun RequestsExecutor.sendBotAction(chatId: ChatIdentifier, action: BotAction): Boolean
suspend fun RequestsExecutor.sendBotAction(chat: Chat, action: BotAction): Boolean
(common)

sendContact

suspend fun RequestsExecutor.sendContact(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun RequestsExecutor.sendContact(chatId: ChatIdentifier, contact: Contact, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun RequestsExecutor.sendContact(chat: Chat, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun RequestsExecutor.sendContact(chat: Chat, contact: Contact, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
(common)

sendDice

suspend fun RequestsExecutor.sendDice(chatId: ChatIdentifier, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun RequestsExecutor.sendDice(chat: Chat, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
(common)

sendLocation

suspend fun RequestsExecutor.sendLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendLocation(chatId: ChatIdentifier, location: Location, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendLocation(chat: Chat, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun RequestsExecutor.sendLocation(chat: Chat, location: Location, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
(common)

sendMessage

suspend fun RequestsExecutor.sendMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
(common)

sendTextMessage

suspend fun RequestsExecutor.sendTextMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun RequestsExecutor.sendTextMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
(common)

sendVenue

suspend fun RequestsExecutor.sendVenue(chatId: ChatIdentifier, latitude: Double, longitude: Double, title: String, address: String, foursquareId: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chat: Chat, latitude: Double, longitude: Double, title: String, address: String, foursquareId: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chatId: ChatIdentifier, venue: Venue, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun RequestsExecutor.sendVenue(chat: Chat, venue: Venue, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>