//[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)