Package com.pengrad.telegrambot.request
Class EditChatInviteLink
java.lang.Object
com.pengrad.telegrambot.request.BaseRequest<EditChatInviteLink,ChatInviteLinkResponse>
com.pengrad.telegrambot.request.EditChatInviteLink
public class EditChatInviteLink extends BaseRequest<EditChatInviteLink,ChatInviteLinkResponse>
Stas Parshin
10 March 2021
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EditChatInviteLink(java.lang.Object chatId, java.lang.String inviteLink) -
Method Summary
Modifier and Type Method Description EditChatInviteLinkcreatesJoinRequest(java.lang.Boolean createsJoinRequest)EditChatInviteLinkexpireDate(java.lang.Integer expireDate)EditChatInviteLinkmemberLimit(java.lang.Integer memberLimit)EditChatInviteLinkname(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
-
EditChatInviteLink
public EditChatInviteLink(java.lang.Object chatId, java.lang.String inviteLink)
-
-
Method Details
-
name
- Parameters:
name- Invite link name; 0-32 characters- Returns:
-
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- Returns:
-