GetUser

public struct GetUser : Codable, Equatable, TDFunction

Returns information about a user by their identifier. This is an offline request if the current user is not a bot

  • Undocumented

    Declaration

    Swift

    public typealias Result = User
  • User identifier

    Declaration

    Swift

    public let userId: Int32
  • Returns information about a user by their identifier. This is an offline request if the current user is not a bot

    Declaration

    Swift

    public init(userId: Int32)

    Parameters

    userId

    User identifier