Class TdApi.ChatTypeSupergroup

  • Enclosing class:
    TdApi

    public static class TdApi.ChatTypeSupergroup
    extends TdApi.ChatType
    A supergroup (i.e. a chat with up to GetOption("supergroupMaxSize") other users), or channel (with unlimited members).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      boolean isChannel
      True, if the supergroup is a channel.
      int supergroupId
      Supergroup or channel identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChatTypeSupergroup()
      Default constructor.
      ChatTypeSupergroup​(int supergroupId, boolean isChannel)
      Constructor for initialization of all fields.
    • Field Detail

      • supergroupId

        public int supergroupId
        Supergroup or channel identifier.
      • isChannel

        public boolean isChannel
        True, if the supergroup is a channel.
      • CONSTRUCTOR

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

      • ChatTypeSupergroup

        public ChatTypeSupergroup()
        Default constructor.
      • ChatTypeSupergroup

        public ChatTypeSupergroup​(int supergroupId,
                                  boolean isChannel)
        Constructor for initialization of all fields.
        Parameters:
        supergroupId - Supergroup or channel identifier.
        isChannel - True, if the supergroup is a channel.