//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api.chat](index.md)
# Package dev.inmo.tgbotapi.extensions.api.chat
## Functions
| Name | Summary |
|---|---|
| [exportChatInviteLink](export-chat-invite-link.md)| [common]
Content
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[exportChatInviteLink](export-chat-invite-link.md)(chatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[exportChatInviteLink](export-chat-invite-link.md)(chat: [PublicChat](../dev.inmo.tgbotapi.types.chat.abstracts/-public-chat/index.md)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [leaveChat](leave-chat.md)| [common]
Content
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[leaveChat](leave-chat.md)(chatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[leaveChat](leave-chat.md)(chat: [PublicChat](../dev.inmo.tgbotapi.types.chat.abstracts/-public-chat/index.md)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
|