Class TdApi.ChatTypeSupergroup

Enclosing class:
TdApi

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

    • 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
      See Also:
      Constant Field Values
  • Constructor Details

    • ChatTypeSupergroup

      public ChatTypeSupergroup()
      A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members).
    • ChatTypeSupergroup

      public ChatTypeSupergroup​(int supergroupId, boolean isChannel)
      A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members).
      Parameters:
      supergroupId - int Supergroup or channel identifier.
      isChannel - boolean True, if the supergroup is a channel.
    • ChatTypeSupergroup

      public ChatTypeSupergroup​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details