Class TdApi.GetSupergroup

  • Enclosing class:
    TdApi

    public static class TdApi.GetSupergroup
    extends TdApi.Function
    Returns information about a supergroup or channel by its identifier. This is an offline request if the current user is not a bot.

    Returns Supergroup

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int supergroupId
      Supergroup or channel identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetSupergroup()
      Default constructor.
      GetSupergroup​(int supergroupId)
      Constructor for initialization of all fields.
    • Field Detail

      • supergroupId

        public int supergroupId
        Supergroup or channel identifier.
      • CONSTRUCTOR

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

      • GetSupergroup

        public GetSupergroup()
        Default constructor.
      • GetSupergroup

        public GetSupergroup​(int supergroupId)
        Constructor for initialization of all fields.
        Parameters:
        supergroupId - Supergroup or channel identifier.