Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a HistorySyncNotification.

Hierarchy

  • HistorySyncNotification

Implements

Index

Constructors

Properties

chunkOrder: number

HistorySyncNotification chunkOrder.

directPath: string

HistorySyncNotification directPath.

fileEncSha256: Uint8Array

HistorySyncNotification fileEncSha256.

fileLength: number | Long

HistorySyncNotification fileLength.

fileSha256: Uint8Array

HistorySyncNotification fileSha256.

mediaKey: Uint8Array

HistorySyncNotification mediaKey.

originalMessageId: string

HistorySyncNotification originalMessageId.

HistorySyncNotification syncType.

Methods

  • toJSON(): {}
  • Converts this HistorySyncNotification to JSON.

    Returns {}

    JSON object

    • [k: string]: any
  • Decodes a HistorySyncNotification message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

    Returns HistorySyncNotification

    HistorySyncNotification

  • Decodes a HistorySyncNotification message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns HistorySyncNotification

    HistorySyncNotification

  • Encodes the specified HistorySyncNotification message. Does not implicitly verify messages.

    Parameters

    Returns Writer

    Writer

  • Encodes the specified HistorySyncNotification message, length delimited. Does not implicitly verify messages.

    Parameters

    Returns Writer

    Writer

  • Creates a HistorySyncNotification message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns HistorySyncNotification

    HistorySyncNotification

  • Creates a plain object from a HistorySyncNotification message. Also converts values to other types if specified.

    Parameters

    Returns {}

    Plain object

    • [k: string]: any
  • verify(message: {}): string
  • Verifies a HistorySyncNotification message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc