Package dev.inmo.tgbotapi.requests.chat.invite_links

Types

CreateChatInviteLink
Link copied to clipboard
common
data class CreateChatInviteLink(chatId: ChatIdentifier, expirationUnixTimeStamp: TelegramDate?, membersLimit: MembersLimit?) : EditChatInviteLinkRequest
EditChatInviteLink
Link copied to clipboard
common
data class EditChatInviteLink(chatId: ChatIdentifier, inviteLink: String, expirationUnixTimeStamp: TelegramDate?, membersLimit: MembersLimit?) : EditChatInviteLinkRequest, KnownChatInviteLinkRequest
RevokeChatInviteLink
Link copied to clipboard
common
data class RevokeChatInviteLink(chatId: ChatIdentifier, inviteLink: String) : KnownChatInviteLinkRequest

Functions

CreateChatInviteLink
Link copied to clipboard
common
fun CreateChatInviteLink(chatId: ChatId, expireDate: DateTime, membersLimit: MembersLimit? = null): CreateChatInviteLink
EditChatInviteLink
Link copied to clipboard
common
fun EditChatInviteLink(chatId: ChatIdentifier, inviteLink: String, expireDate: DateTime, membersLimit: MembersLimit? = null): EditChatInviteLink