1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-30 14:08:44 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.chat.invite_links/create-chat-invite-link.md
2021-03-17 15:18:37 +00:00

15 lines
2.5 KiB
Markdown

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api.chat.invite_links](index.md)/[createChatInviteLink](create-chat-invite-link.md)
# createChatInviteLink
[common]
Content
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[createChatInviteLink](create-chat-invite-link.md)(chatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), expiration: [TelegramDate](../dev.inmo.tgbotapi.types/-telegram-date/index.md)? = null, membersLimit: [MembersLimit](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMembersLimit%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null): [CommonInviteLink](../dev.inmo.tgbotapi.types/-common-invite-link/index.md)
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[createChatInviteLink](create-chat-invite-link.md)(chat: [PublicChat](../dev.inmo.tgbotapi.types.chat.abstracts/-public-chat/index.md), expiration: [TelegramDate](../dev.inmo.tgbotapi.types/-telegram-date/index.md)? = null, membersLimit: [MembersLimit](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMembersLimit%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null): [CommonInviteLink](../dev.inmo.tgbotapi.types/-common-invite-link/index.md)
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[createChatInviteLink](create-chat-invite-link.md)(chatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), expiration: , membersLimit: [MembersLimit](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMembersLimit%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null): [CommonInviteLink](../dev.inmo.tgbotapi.types/-common-invite-link/index.md)
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[createChatInviteLink](create-chat-invite-link.md)(chat: [PublicChat](../dev.inmo.tgbotapi.types.chat.abstracts/-public-chat/index.md), expiration: , membersLimit: [MembersLimit](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMembersLimit%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null): [CommonInviteLink](../dev.inmo.tgbotapi.types/-common-invite-link/index.md)