Constructors

Accessors

Methods

  • Gets the absolute expiry time of the membership if applicable to this membership type.

    Returns undefined | number

    The absolute expiry time of the membership as a unix timestamp in milliseconds or undefined if not applicable

  • Gets the expiry time of the event, converted into the device's local time.

    Returns undefined | number

    The local expiry time of the membership as a unix timestamp in milliseconds or undefined if not applicable

    This function has been observed returning bad data and is no longer used by MatrixRTC.

  • Returns undefined | number

    The number of milliseconds until the membership expires or undefined if applicable