Package com.pengrad.telegrambot.request
Class CreateChatInviteLink
java.lang.Object
com.pengrad.telegrambot.request.BaseRequest<CreateChatInviteLink,ChatInviteLinkResponse>
com.pengrad.telegrambot.request.CreateChatInviteLink
public class CreateChatInviteLink extends BaseRequest<CreateChatInviteLink,ChatInviteLinkResponse>
Stas Parshin
10 March 2021
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CreateChatInviteLink(java.lang.Object chatId) -
Method Summary
Modifier and Type Method Description CreateChatInviteLinkcreatesJoinRequest(java.lang.Boolean createsJoinRequest)CreateChatInviteLinkexpireDate(java.lang.Integer expireDate)CreateChatInviteLinkmemberLimit(java.lang.Integer memberLimit)CreateChatInviteLinkname(java.lang.String name)Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getContentType, getFileName, getMethod, getParameters, getResponseType, getTimeoutSeconds, isMultipart, toWebhookResponse
-
Constructor Details
-
CreateChatInviteLink
public CreateChatInviteLink(java.lang.Object chatId)
-
-
Method Details
-
name
- Parameters:
name- Invite link name; 0-32 characters
-
expireDate
-
memberLimit
-
createsJoinRequest
- 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
-