Class TdApi.ChatReportSpamState

  • Enclosing class:
    TdApi

    public static class TdApi.ChatReportSpamState
    extends TdApi.Object
    Contains information about the availability of the "Report spam" action for a chat.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean canReportSpam
      True, if a prompt with the "Report spam" action should be shown to the user.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChatReportSpamState()
      Default constructor.
      ChatReportSpamState​(boolean canReportSpam)
      Constructor for initialization of all fields.
    • Field Detail

      • canReportSpam

        public boolean canReportSpam
        True, if a prompt with the "Report spam" action should be shown to the user.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ChatReportSpamState

        public ChatReportSpamState()
        Default constructor.
      • ChatReportSpamState

        public ChatReportSpamState​(boolean canReportSpam)
        Constructor for initialization of all fields.
        Parameters:
        canReportSpam - True, if a prompt with the "Report spam" action should be shown to the user.