teleproto - v1.230.0
    Preparing search index...

    Class UpdateContext

    Chat access for raw updates; entity fetching is deferred until getChat().

    Hierarchy

    • EventCommon
      • UpdateContext
    Index
    • get peers(): ReadonlyMap<string, Entity>

      Attached users and chats keyed by marked peer ID; reading never makes an RPC.

      Returns ReadonlyMap<string, Entity>

    • Parameters

      • c: any
      • __namedParameters: ChatGetterConstructorParams

      Returns void

    • Returns the attached chat or fetches it, sharing concurrent calls within this update.

      Returns Promise<Entity | undefined>

    _broadcast?: boolean
    _chat?: Entity
    _chatPeer?: EntityLike
    _entities: Map<string, Entity>
    _eventName: string = "Event"
    _inputChat?: EntityLike
    _messageId?: number