1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-27 04:28:44 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.chat.invite_links/index.md
2021-03-17 15:18:37 +00:00

12 KiB

//docs/dev.inmo.tgbotapi.extensions.api.chat.invite_links

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

Functions

Name Summary
createChatInviteLink [common]
Content
suspend fun TelegramBot.createChatInviteLink(chatId: ChatIdentifier, expiration: , membersLimit: MembersLimit? = null): CommonInviteLink
suspend fun TelegramBot.createChatInviteLink(chatId: ChatIdentifier, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink
suspend fun TelegramBot.createChatInviteLink(chat: PublicChat, expiration: , membersLimit: MembersLimit? = null): CommonInviteLink
suspend fun TelegramBot.createChatInviteLink(chat: PublicChat, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink


editChatInviteLink [common]
Content
suspend fun TelegramBot.editChatInviteLink(chat: ChatIdentifier, previousLink: ChatInviteLink, expiration: , membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
suspend fun TelegramBot.editChatInviteLink(chat: ChatIdentifier, previousLink: ChatInviteLink, expiration: TelegramDate? = previousLink.expirationDateTime ?.toTelegramDate(), membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
suspend fun TelegramBot.editChatInviteLink(chatId: ChatIdentifier, previousLink: String, expiration: , membersLimit: MembersLimit? = null): CommonInviteLink
suspend fun TelegramBot.editChatInviteLink(chatId: ChatIdentifier, previousLink: String, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: ChatInviteLink, expiration: , membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: ChatInviteLink, expiration: TelegramDate? = previousLink.expirationDateTime ?.toTelegramDate(), membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: String, expiration: , membersLimit: MembersLimit? = null): CommonInviteLink
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: String, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink


revokeChatInviteLink [common]
Content
suspend fun TelegramBot.revokeChatInviteLink(chatId: ChatIdentifier, previousLink: ChatInviteLink): CommonInviteLink
suspend fun TelegramBot.revokeChatInviteLink(chatId: ChatIdentifier, previousLink: String): CommonInviteLink
suspend fun TelegramBot.revokeChatInviteLink(chat: PublicChat, previousLink: ChatInviteLink): CommonInviteLink
suspend fun TelegramBot.revokeChatInviteLink(chat: PublicChat, previousLink: String): CommonInviteLink