# dev.inmo.tgbotapi.requests.chat.invite_links

docs

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

## Types

ApproveChatJoinRequest
Link copied to clipboard
data class ApproveChatJoinRequest (val chatId: ChatIdentifier , val userId: UserId ) : ChatJoinRequestAnswer
Content copied to clipboard

Represent approve ChatJoinRequestAnswer. You may approve the requests retrieved in with ChatJoinRequest (in dev.inmo.tgbotapi.types.update.ChatJoinRequestUpdate)

ChatJoinRequestAnswer
Link copied to clipboard
interface ChatJoinRequestAnswer : SimpleRequest < Boolean >
Content copied to clipboard

Represent a join request answer. See inheritors for more info

CreateChatInviteLink
Link copied to clipboard
interface CreateChatInviteLink < R : SecondaryChatInviteLink > : EditChatInviteLinkRequest < R >
Content copied to clipboard
CreateChatInviteLinkUnlimited
Link copied to clipboard
data class CreateChatInviteLinkUnlimited ( val chatId: ChatIdentifier , val name: String ? = null, val expirationUnixTimeStamp: TelegramDate ? = null) : CreateChatInviteLink < ChatInviteLinkUnlimited >
Content copied to clipboard

Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITHOUT `member_limit` and `creates_join_request`

CreateChatInviteLinkWithJoinRequest
Link copied to clipboard
data class CreateChatInviteLinkWithJoinRequest ( val chatId: ChatIdentifier , val name: String ? = null, val expirationUnixTimeStamp: TelegramDate ? = null) : CreateChatInviteLink < ChatInviteLinkWithJoinRequest > , WithJoinRequestChatInviteLinkRequest
Content copied to clipboard

Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITHOUT `member_limit` and WITH `creates_join_request`

CreateChatInviteLinkWithLimitedMembers
Link copied to clipboard
data class CreateChatInviteLinkWithLimitedMembers ( val chatId: ChatIdentifier , val membersLimit: MembersLimit , val name: String ? = null, val expirationUnixTimeStamp: TelegramDate ? = null) : CreateChatInviteLink < ChatInviteLinkWithLimitedMembers > , LimitedMembersChatInviteLinkRequest
Content copied to clipboard

Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITH `member_limit` and WITHOUT `creates_join_request`

DeclineChatJoinRequest
Link copied to clipboard
data class DeclineChatJoinRequest (val chatId: ChatIdentifier , val userId: UserId ) : ChatJoinRequestAnswer
Content copied to clipboard

Represent decline ChatJoinRequestAnswer. You may approve the requests retrieved in with ChatJoinRequest (in dev.inmo.tgbotapi.types.update.ChatJoinRequestUpdate)

EditChatInviteLink
Link copied to clipboard
interface EditChatInviteLink < R : SecondaryChatInviteLink > : EditChatInviteLinkRequest < R > , KnownChatInviteLinkRequest < R >
Content copied to clipboard
EditChatInviteLinkUnlimited
Link copied to clipboard
data class EditChatInviteLinkUnlimited ( val chatId: ChatIdentifier , val inviteLink: String , val name: String ? = null, val expirationUnixTimeStamp: TelegramDate ? = null) : EditChatInviteLink < ChatInviteLinkUnlimited >
Content copied to clipboard

Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITHOUT `member_limit` and `creates_join_request`

EditChatInviteLinkWithJoinRequest
Link copied to clipboard
data class EditChatInviteLinkWithJoinRequest ( val chatId: ChatIdentifier , val inviteLink: String , val name: String ? = null, val expirationUnixTimeStamp: TelegramDate ? = null) : EditChatInviteLink < ChatInviteLinkWithJoinRequest > , WithJoinRequestChatInviteLinkRequest
Content copied to clipboard

Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITHOUT `member_limit` and WITH `creates_join_request`

EditChatInviteLinkWithLimitedMembers
Link copied to clipboard
data class EditChatInviteLinkWithLimitedMembers ( val chatId: ChatIdentifier , val inviteLink: String , val membersLimit: MembersLimit , val name: String ? = null, val expirationUnixTimeStamp: TelegramDate ? = null) : EditChatInviteLink < ChatInviteLinkWithLimitedMembers > , LimitedMembersChatInviteLinkRequest
Content copied to clipboard

Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITH `member_limit` and WITHOUT `creates_join_request`

RevokeChatInviteLink
Link copied to clipboard
data class RevokeChatInviteLink (val chatId: ChatIdentifier , val inviteLink: String ) : KnownChatInviteLinkRequest < SecondaryChatInviteLink >
Content copied to clipboard