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

Functions

deleteChatPhoto
Link copied to clipboard
common
suspend fun RequestsExecutor.deleteChatPhoto(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.deleteChatPhoto(chat: PublicChat): Boolean
pinChatMessage
Link copied to clipboard
common
suspend fun RequestsExecutor.pinChatMessage(message: Message, disableNotification: Boolean): Boolean
suspend fun RequestsExecutor.pinChatMessage(chatId: ChatIdentifier, messageId: Long, disableNotification: Boolean): Boolean
suspend fun RequestsExecutor.pinChatMessage(chat: Chat, messageId: Long, disableNotification: Boolean): Boolean
setChatDescription
Link copied to clipboard
common
suspend fun RequestsExecutor.setChatDescription(chatId: ChatIdentifier, description: String): Boolean
suspend fun RequestsExecutor.setChatDescription(chat: PublicChat, description: String): Boolean
setChatPhoto
Link copied to clipboard
common
suspend fun RequestsExecutor.setChatPhoto(chatId: ChatIdentifier, photo: MultipartFile): Boolean
suspend fun RequestsExecutor.setChatPhoto(chat: PublicChat, photo: MultipartFile): Boolean
setChatTitle
Link copied to clipboard
common
suspend fun RequestsExecutor.setChatTitle(chatId: ChatIdentifier, title: String): Boolean
suspend fun RequestsExecutor.setChatTitle(chat: PublicChat, title: String): Boolean
setDefaultChatMembersPermissions
Link copied to clipboard
common
suspend fun RequestsExecutor.setDefaultChatMembersPermissions(chatId: ChatIdentifier, permissions: ChatPermissions): Boolean
suspend fun RequestsExecutor.setDefaultChatMembersPermissions(chat: PublicChat, permissions: ChatPermissions): Boolean
unpinAllChatMessages
Link copied to clipboard
common
suspend fun RequestsExecutor.unpinAllChatMessages(chatId: ChatIdentifier): Boolean
suspend fun RequestsExecutor.unpinAllChatMessages(chat: Chat): Boolean
unpinChatMessage
Link copied to clipboard
common
suspend fun RequestsExecutor.unpinChatMessage(message: Message): Boolean
suspend fun RequestsExecutor.unpinChatMessage(chatId: ChatIdentifier, messageId: Long?): Boolean
suspend fun RequestsExecutor.unpinChatMessage(chat: Chat, messageId: Long?): Boolean