Class TdApi.GetSupergroup

  • Enclosing class:
    TdApi

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

    Returns Supergroup

    • Field Detail

      • supergroupId

        public long 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 for a function, which returns information about a supergroup or a channel by its identifier. This is an offline request if the current user is not a bot.

        Returns Supergroup

      • GetSupergroup

        public GetSupergroup​(long supergroupId)
        Creates a function, which returns information about a supergroup or a channel by its identifier. This is an offline request if the current user is not a bot.

        Returns Supergroup

        Parameters:
        supergroupId - Supergroup or channel identifier.