Package dev.inmo.tgbotapi.extensions.api.chat.modify

Functions

Link copied to clipboard
suspend fun TelegramBot.deleteChatPhoto(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.deleteChatPhoto(chat: PublicChat): Boolean
Link copied to clipboard
suspend fun TelegramBot.pinChatMessage(message: Message, disableNotification: Boolean = false): Boolean
suspend fun TelegramBot.pinChatMessage(chatId: ChatIdentifier, messageId: MessageIdentifier, disableNotification: Boolean = false): Boolean
suspend fun TelegramBot.pinChatMessage(chat: Chat, messageId: MessageIdentifier, 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
suspend fun TelegramBot.setChatMenuButton(chatId: ChatId, menuButton: MenuButton): Boolean
suspend fun TelegramBot.setChatMenuButton(chat: PrivateChat, menuButton: MenuButton): Boolean
Link copied to clipboard
suspend fun TelegramBot.setChatPhoto(chatId: ChatIdentifier, photo: MultipartFile): Boolean
suspend fun TelegramBot.setChatPhoto(chat: PublicChat, photo: MultipartFile): Boolean
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): Boolean
suspend fun TelegramBot.setDefaultChatMembersPermissions(chat: PublicChat, permissions: ChatPermissions): Boolean
Link copied to clipboard
suspend fun TelegramBot.setDefaultChatMenuButton(menuButton: MenuButton): Boolean
Link copied to clipboard
suspend fun TelegramBot.unpinAllChatMessages(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.unpinAllChatMessages(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.unpinChatMessage(message: Message): Boolean
suspend fun TelegramBot.unpinChatMessage(chatId: ChatIdentifier, messageId: MessageIdentifier? = null): Boolean
suspend fun TelegramBot.unpinChatMessage(chat: Chat, messageId: MessageIdentifier? = null): Boolean