# com.github.insanusmokrassar.TelegramBotAPI.extensions.api.chat.modify - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.chat.modify

## Package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.chat.modify

### Functions

(common)

#### deleteChatPhoto

`suspend fun RequestsExecutor.deleteChatPhoto(chatId: ChatIdentifier): Boolean`
`suspend fun RequestsExecutor.deleteChatPhoto(chat: PublicChat): Boolean`

(common)

#### pinChatMessage

`suspend fun RequestsExecutor.pinChatMessage(chatId: ChatIdentifier, messageId: MessageIdentifier, disableNotification: Boolean = false): Boolean`
`suspend fun RequestsExecutor.pinChatMessage(chat: PublicChat, messageId: MessageIdentifier, disableNotification: Boolean = false): Boolean`
`suspend fun RequestsExecutor.pinChatMessage(message: Message, disableNotification: Boolean = false): Boolean`

(common)

#### setChatDescription

`suspend fun RequestsExecutor.setChatDescription(chatId: ChatIdentifier, description: String): Boolean`
`suspend fun RequestsExecutor.setChatDescription(chat: PublicChat, description: String): Boolean`

(common)

#### setChatPhoto

`suspend fun RequestsExecutor.setChatPhoto(chatId: ChatIdentifier, photo: MultipartFile): Boolean`
`suspend fun RequestsExecutor.setChatPhoto(chat: PublicChat, photo: MultipartFile): Boolean`

(common)

#### setChatTitle

`suspend fun RequestsExecutor.setChatTitle(chatId: ChatIdentifier, title: String): Boolean`
`suspend fun RequestsExecutor.setChatTitle(chat: PublicChat, title: String): Boolean`

(common)

#### setDefaultChatMembersPermissions

`suspend fun RequestsExecutor.setDefaultChatMembersPermissions(chatId: ChatIdentifier, permissions: ChatPermissions): Boolean`
`suspend fun RequestsExecutor.setDefaultChatMembersPermissions(chat: PublicChat, permissions: ChatPermissions): Boolean`

(common)

#### unpinChatMessage

`suspend fun RequestsExecutor.unpinChatMessage(chatId: ChatIdentifier): Boolean`
`suspend fun RequestsExecutor.unpinChatMessage(chat: PublicChat): Boolean`