Class 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 Detail

      • ChatPermissions

        public ChatPermissions()
    • 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()