GetSupergroup

public struct GetSupergroup : Codable, Equatable, TDFunction

Returns information about a supergroup or a channel by its identifier. This is an offline request if the current user is not a bot

  • Undocumented

    Declaration

    Swift

    public typealias Result = Supergroup
  • Supergroup or channel identifier

    Declaration

    Swift

    public let supergroupId: Int32
  • Returns information about a supergroup or a channel by its identifier. This is an offline request if the current user is not a bot

    Declaration

    Swift

    public init(supergroupId: Int32)

    Parameters

    supergroupId

    Supergroup or channel identifier