All Implemented Interfaces:
Validable
Version:
5.4
Use this method to decline a chat join request.
The bot must be an administrator in the chat for this to work and must have the can_invite_users admin right.
Returns True on success.
Author:
Ruben Bermudez
Nested Class Summary
Nested Classes
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
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
DeclineChatJoinRequest
public DeclineChatJoinRequest ()
Method Details
setChatId
public void setChatId (@NonNull
@NonNull Long chatId)