Package dev. inmo. tgbotapi. extensions. api. chat. invite_links
Functions
createChatInviteLink
Link copied to clipboard
suspend fun TelegramBot.createChatInviteLink(chatId: ChatIdentifier, expiration: DateTime, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.createChatInviteLink(chatId: ChatIdentifier, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.createChatInviteLink(chat: PublicChat, expiration: DateTime, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.createChatInviteLink(chat: PublicChat, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
editChatInviteLink
Link copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chat: ChatIdentifier, previousLink: ChatInviteLink, expiration: DateTime, membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chat: ChatIdentifier, previousLink: ChatInviteLink, expiration: TelegramDate? = previousLink.expirationDateTime ?.toTelegramDate(), membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chatId: ChatIdentifier, previousLink: String, expiration: DateTime, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chatId: ChatIdentifier, previousLink: String, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: ChatInviteLink, expiration: DateTime, membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: ChatInviteLink, expiration: TelegramDate? = previousLink.expirationDateTime ?.toTelegramDate(), membersLimit: MembersLimit? = previousLink.membersLimit): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: String, expiration: DateTime, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.editChatInviteLink(chat: PublicChat, previousLink: String, expiration: TelegramDate? = null, membersLimit: MembersLimit? = null): CommonInviteLink
Content copied to clipboard
revokeChatInviteLink
Link copied to clipboard
suspend fun TelegramBot.revokeChatInviteLink(chatId: ChatIdentifier, previousLink: ChatInviteLink): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.revokeChatInviteLink(chatId: ChatIdentifier, previousLink: String): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.revokeChatInviteLink(chat: PublicChat, previousLink: ChatInviteLink): CommonInviteLink
Content copied to clipboard
suspend fun TelegramBot.revokeChatInviteLink(chat: PublicChat, previousLink: String): CommonInviteLink
Content copied to clipboard