Class CreateChatInviteLink
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<CreateChatInviteLink,ChatInviteLink>
io.github.natanimn.telebof.requests.create.CreateChatInviteLink
CreateChatInviteLink class
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatesJoinRequest(boolean createsJoinRequest) OptionalexpireDate(int expireDate) optionalmemberLimit(int memberLimit) OptionalOptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
CreateChatInviteLink
Required- Parameters:
chatId- chat idapi- api
-
-
Method Details
-
name
Optional- Parameters:
name- Invite link name; 0-32 characters- Returns:
CreateChatInviteLink
-
expireDate
optional- Parameters:
expireDate- Point in time (Unix timestamp) when the link will expire- Returns:
CreateChatInviteLink
-
memberLimit
Optional- Parameters:
memberLimit- The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999- Returns:
CreateChatInviteLink
-
createsJoinRequest
Optional- Parameters:
createsJoinRequest- True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified- Returns:
CreateChatInviteLink
-