All Implemented Interfaces:
Validable
Version:
5.1
Use this method to edit a non-primary invite link created by the bot.
The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.
Returns the edited invite link as a ChatInviteLink object.
Author:
Ruben Bermudez
Nested Class Summary
Nested Classes
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Deserialize a json answer to the response type to a method
Getter for method path (that is the same as method name)
void
void
Validates that mandatory fields are filled and optional objects
Methods inherited from class Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Field Details
PATH
public static final String PATH
See Also:
Constructor Details
EditChatInviteLink
public EditChatInviteLink ()
Method Details
setChatId
public void setChatId (@NonNull
@NonNull Long chatId)