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 creates_join_request) OptionalexpireDate
(int expire_date) optionalmemberLimit
(int member_limit) OptionalOptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
CreateChatInviteLink
-
-
Method Details
-
name
Optional- Parameters:
name
- Invite link name; 0-32 characters- Returns:
CreateChatInviteLink
-
expireDate
optional- Parameters:
expire_date
- Point in time (Unix timestamp) when the link will expire- Returns:
CreateChatInviteLink
-
memberLimit
Optional- Parameters:
member_limit
- 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:
creates_join_request
- 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
-