Package dev. inmo. tgbotapi. extensions. api. send
Functions
copyMessage
Link copied to clipboard
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, message: Message, entities: List<TextSource>, disableNotification: 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: List<TextSource>, disableNotification: 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: List<TextSource>, disableNotification: 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: List<TextSource>, disableNotification: 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, 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: List<TextSource>, disableNotification: 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: List<TextSource>, disableNotification: 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, 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, 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, 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, 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, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
Content copied to clipboard
reply
Link copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, location: StaticLocation, disableNotification: Boolean = false, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, contact: Contact, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, venue: Venue, disableNotification: 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, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, entities: List<TextSource>, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: 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, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
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, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
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, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard
replyWithDice
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDice(to: Message, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Content copied to clipboard
sendActionFindLocation
Link copied to clipboard
suspend fun TelegramBot.sendActionFindLocation(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionRecordAudio
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordAudio(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionRecordVideo
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideo(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionRecordVideoNote
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideoNote(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionTyping
Link copied to clipboard
suspend fun TelegramBot.sendActionTyping(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionUploadAudio
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadAudio(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionUploadDocument
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadDocument(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionUploadPhoto
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadPhoto(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionUploadVideo
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideo(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendActionUploadVideoNote
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideoNote(chatId: ChatIdentifier): Boolean
Content copied to clipboard
sendBotAction
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
sendContact
Link copied to clipboard
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, contact: Contact, disableNotification: 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, 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, 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, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Content copied to clipboard
sendDice
Link copied to clipboard
suspend fun TelegramBot.sendDice(chatId: ChatIdentifier, animationType: DiceAnimationType? = null, disableNotification: 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, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Content copied to clipboard
sendLocation
Link copied to clipboard
suspend fun TelegramBot.sendLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: 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, 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, 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, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
sendMessage
Link copied to clipboard
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, entities: List<TextSource>, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendMessage(chat: Chat, entities: List<TextSource>, disableWebPagePreview: Boolean? = null, disableNotification: 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, 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, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
sendStaticLocation
Link copied to clipboard
suspend fun TelegramBot.sendStaticLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: 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, 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, 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, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Content copied to clipboard
sendTextMessage
Link copied to clipboard
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, entities: List<TextSource>, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendTextMessage(chat: Chat, entities: List<TextSource>, disableWebPagePreview: Boolean? = null, disableNotification: 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, 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, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
sendVenue
Link copied to clipboard
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, venue: Venue, disableNotification: 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, 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, 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, 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, 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, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Content copied to clipboard