Module tdlight.api

Class TdApi.GetSupergroup

Enclosing class:
TdApi

public static final class TdApi.GetSupergroup extends TdApi.Function<TdApi.Supergroup>
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 Details

    • supergroupId

      public long supergroupId
      Supergroup or channel identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetSupergroup

      public GetSupergroup()
      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)
      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 - long Supergroup or channel identifier.
    • GetSupergroup

      public GetSupergroup(DataInput input) throws IOException
      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

      Throws:
      IOException
  • Method Details