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

Functions

deleteChatPhoto
Link copied to clipboard
common
suspend fun TelegramBot.deleteChatPhoto(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.deleteChatPhoto(chat: PublicChat): Boolean
pinChatMessage
Link copied to clipboard
common
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
setChatDescription
Link copied to clipboard
common
suspend fun TelegramBot.setChatDescription(chatId: ChatIdentifier, description: String): Boolean
suspend fun TelegramBot.setChatDescription(chat: PublicChat, description: String): Boolean
setChatPhoto
Link copied to clipboard
common
suspend fun TelegramBot.setChatPhoto(chatId: ChatIdentifier, photo: MultipartFile): Boolean
suspend fun TelegramBot.setChatPhoto(chat: PublicChat, photo: MultipartFile): Boolean
setChatTitle
Link copied to clipboard
common
suspend fun TelegramBot.setChatTitle(chatId: ChatIdentifier, title: String): Boolean
suspend fun TelegramBot.setChatTitle(chat: PublicChat, title: String): Boolean
setDefaultChatMembersPermissions
Link copied to clipboard
common
suspend fun TelegramBot.setDefaultChatMembersPermissions(chatId: ChatIdentifier, permissions: ChatPermissions): Boolean
suspend fun TelegramBot.setDefaultChatMembersPermissions(chat: PublicChat, permissions: ChatPermissions): Boolean
unpinAllChatMessages
Link copied to clipboard
common
suspend fun TelegramBot.unpinAllChatMessages(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.unpinAllChatMessages(chat: Chat): Boolean
unpinChatMessage
Link copied to clipboard
common
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