Class ChatPermissions
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.ChatPermissions
-
- All Implemented Interfaces:
Serializable,BotApiObject
public class ChatPermissions extends Object implements BotApiObject
- Version:
- 4.4 Use this method to change the description of a group, supergroup or channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChatPermissions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetCanAddWebPagePreviews()BooleangetCanChangeInfo()BooleangetCanInviteUsers()BooleangetCanPinMessages()BooleangetCanSendMessages()BooleangetCanSendOtherMessages()BooleangetCanSendPolls()BooleangetGetCanSendMediaMessages()StringtoString()
-
-
-
Method Detail
-
getCanSendMessages
public Boolean getCanSendMessages()
-
getGetCanSendMediaMessages
public Boolean getGetCanSendMediaMessages()
-
getCanSendPolls
public Boolean getCanSendPolls()
-
getCanSendOtherMessages
public Boolean getCanSendOtherMessages()
-
getCanAddWebPagePreviews
public Boolean getCanAddWebPagePreviews()
-
getCanChangeInfo
public Boolean getCanChangeInfo()
-
getCanInviteUsers
public Boolean getCanInviteUsers()
-
getCanPinMessages
public Boolean getCanPinMessages()
-
-