Package-level declarations

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.pinChatMessage(message: AccessibleMessage, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, disableNotification: Boolean = false): Boolean
suspend fun TelegramBot.pinChatMessage(chatId: ChatIdentifier, messageId: MessageId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false): Boolean
suspend fun TelegramBot.pinChatMessage(chat: Chat, messageId: MessageId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false): Boolean
Link copied to clipboard
suspend fun TelegramBot.setChatDescription(chatId: ChatIdentifier, description: String): Boolean
suspend fun TelegramBot.setChatDescription(chat: PublicChat, description: String): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.setChatTitle(chatId: ChatIdentifier, title: String): Boolean
suspend fun TelegramBot.setChatTitle(chat: PublicChat, title: String): Boolean
Link copied to clipboard
suspend fun TelegramBot.setDefaultChatMembersPermissions(chatId: ChatIdentifier, permissions: ChatPermissions, useIndependentChatPermissions: Boolean? = permissions.isGranular.takeIf { it }): Boolean
suspend fun TelegramBot.setDefaultChatMembersPermissions(chat: PublicChat, permissions: ChatPermissions, useIndependentChatPermissions: Boolean? = permissions.isGranular.takeIf { it }): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.unpinChatMessage(message: AccessibleMessage, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId): Boolean
suspend fun TelegramBot.unpinChatMessage(chatId: ChatIdentifier, messageId: MessageId? = null, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.unpinChatMessage(chat: Chat, messageId: MessageId? = null, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean