Package-level declarations
Types
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Send notification to user which will be shown for 5 seconds or while user have no messages from bot
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Functions
Link copied to clipboard
fun CopyMessage(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageId: MessageId, entities: List<TextSource>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): CopyMessage
fun CopyMessage(fromChatId: ChatIdentifier, messageId: MessageId, toChatId: ChatIdentifier, entities: List<TextSource>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): CopyMessage
fun CopyMessage(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): CopyMessage
fun CopyMessage(fromChatId: ChatIdentifier, messageId: MessageId, toChatId: ChatIdentifier, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): CopyMessage
Link copied to clipboard
fun SendLiveLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, livePeriod: Seconds, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendLocation
Link copied to clipboard
fun SendLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendLocation
Link copied to clipboard
fun SendStaticLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendLocation
Link copied to clipboard
fun SendTextMessage(chatId: ChatIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendTextMessage
fun SendTextMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendTextMessage
Link copied to clipboard
fun Contact.toRequest(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendContact
fun Venue.toRequest(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): SendVenue