Package dev. inmo. tgbotapi. requests. chat. invite_links
Types
Approve Chat Join Request
Link copied to clipboard
data class ApproveChatJoinRequest(chatId: ChatIdentifier, userId: UserId) : ChatJoinRequestAnswer
Content copied to clipboard
Chat Join Request Answer
Link copied to clipboard
Create Chat Invite Link
Link copied to clipboard
interface CreateChatInviteLink<R : SecondaryChatInviteLink> : EditChatInviteLinkRequest<R>
Content copied to clipboard
Create Chat Invite Link Unlimited
Link copied to clipboard
data class CreateChatInviteLinkUnlimited(chatId: ChatIdentifier, name: String?, expirationUnixTimeStamp: TelegramDate?) : CreateChatInviteLink<ChatInviteLinkUnlimited>
Content copied to clipboard
Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITHOUT member_limit
and creates_join_request
Create Chat Invite Link With Join Request
Link copied to clipboard
data class CreateChatInviteLinkWithJoinRequest(chatId: ChatIdentifier, name: String?, expirationUnixTimeStamp: TelegramDate?) : CreateChatInviteLink<ChatInviteLinkWithJoinRequest> , WithJoinRequestChatInviteLinkRequest
Content copied to clipboard
Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITHOUT member_limit
and WITH creates_join_request
Create Chat Invite Link With Limited Members
Link copied to clipboard
data class CreateChatInviteLinkWithLimitedMembers(chatId: ChatIdentifier, membersLimit: MembersLimit, name: String?, expirationUnixTimeStamp: TelegramDate?) : CreateChatInviteLink<ChatInviteLinkWithLimitedMembers> , LimitedMembersChatInviteLinkRequest
Content copied to clipboard
Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITH member_limit
and WITHOUT creates_join_request
Decline Chat Join Request
Link copied to clipboard
data class DeclineChatJoinRequest(chatId: ChatIdentifier, userId: UserId) : ChatJoinRequestAnswer
Content copied to clipboard
Edit Chat Invite Link
Link copied to clipboard
interface EditChatInviteLink<R : SecondaryChatInviteLink> : EditChatInviteLinkRequest<R> , KnownChatInviteLinkRequest<R>
Content copied to clipboard
Edit Chat Invite Link Unlimited
Link copied to clipboard
data class EditChatInviteLinkUnlimited(chatId: ChatIdentifier, inviteLink: String, name: String?, expirationUnixTimeStamp: TelegramDate?) : EditChatInviteLink<ChatInviteLinkUnlimited>
Content copied to clipboard
Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITHOUT member_limit
and creates_join_request
Edit Chat Invite Link With Join Request
Link copied to clipboard
data class EditChatInviteLinkWithJoinRequest(chatId: ChatIdentifier, inviteLink: String, name: String?, expirationUnixTimeStamp: TelegramDate?) : EditChatInviteLink<ChatInviteLinkWithJoinRequest> , WithJoinRequestChatInviteLinkRequest
Content copied to clipboard
Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITHOUT member_limit
and WITH creates_join_request
Edit Chat Invite Link With Limited Members
Link copied to clipboard
data class EditChatInviteLinkWithLimitedMembers(chatId: ChatIdentifier, inviteLink: String, membersLimit: MembersLimit, name: String?, expirationUnixTimeStamp: TelegramDate?) : EditChatInviteLink<ChatInviteLinkWithLimitedMembers> , LimitedMembersChatInviteLinkRequest
Content copied to clipboard
Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITH member_limit
and WITHOUT creates_join_request
Revoke Chat Invite Link
Link copied to clipboard
data class RevokeChatInviteLink(chatId: ChatIdentifier, inviteLink: String) : KnownChatInviteLinkRequest<SecondaryChatInviteLink>
Content copied to clipboard