Package com.pengrad.telegrambot.model
Class ChatPermissions
java.lang.Object
com.pengrad.telegrambot.model.ChatPermissions
- All Implemented Interfaces:
java.io.Serializable
public class ChatPermissions
extends java.lang.Object
implements java.io.Serializable
Stas Parshin
30 July 2019
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ChatPermissions()
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
canAddWebPagePreviews()
ChatPermissions
canAddWebPagePreviews(boolean canAddWebPagePreviews)
java.lang.Boolean
canChangeInfo()
ChatPermissions
canChangeInfo(boolean canChangeInfo)
java.lang.Boolean
canInviteUsers()
ChatPermissions
canInviteUsers(boolean canInviteUsers)
java.lang.Boolean
canPinMessages()
ChatPermissions
canPinMessages(boolean canPinMessages)
java.lang.Boolean
canSendMediaMessages()
ChatPermissions
canSendMediaMessages(boolean canSendMediaMessages)
java.lang.Boolean
canSendMessages()
ChatPermissions
canSendMessages(boolean canSendMessages)
java.lang.Boolean
canSendOtherMessages()
ChatPermissions
canSendOtherMessages(boolean canSendOtherMessages)
java.lang.Boolean
canSendPolls()
ChatPermissions
canSendPolls(boolean canSendPolls)
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
Constructor Details
-
ChatPermissions
public ChatPermissions()
-
-
Method Details
-
canSendMessages
public java.lang.Boolean canSendMessages() -
canSendMediaMessages
public java.lang.Boolean canSendMediaMessages() -
canSendPolls
public java.lang.Boolean canSendPolls() -
canSendOtherMessages
public java.lang.Boolean canSendOtherMessages() -
canAddWebPagePreviews
public java.lang.Boolean canAddWebPagePreviews() -
canChangeInfo
public java.lang.Boolean canChangeInfo() -
canInviteUsers
public java.lang.Boolean canInviteUsers() -
canPinMessages
public java.lang.Boolean canPinMessages() -
canSendMessages
-
canSendMediaMessages
-
canSendPolls
-
canSendOtherMessages
-
canAddWebPagePreviews
-
canChangeInfo
-
canInviteUsers
-
canPinMessages
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-