Hierarchy (View Summary)

Constructors

Properties

_log: Logger
_readerMap: TlReaderMap
_writerMap: TlWriterMap

Methods

  • Parameters

    • data: Uint8Array

    Returns null | TlObject

  • Parameters

    • obj: TlObject

    Returns Uint8Array

  • Returns Promise<null | CurrentUserInfo>

  • Parameters

    • safe: boolean = false

    Returns null | CurrentUserInfo

  • Parameters

    Returns Promise<void>

  • Parameters

    • params: { isPremium?: boolean; username?: string; usernames?: string[] }

    Returns Promise<void>