Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a WebMessageInfo.

Hierarchy

  • WebMessageInfo

Implements

Index

Constructors

constructor

Properties

bizPrivacyStatus

WebMessageInfo bizPrivacyStatus.

broadcast

broadcast: boolean

WebMessageInfo broadcast.

clearMedia

clearMedia: boolean

WebMessageInfo clearMedia.

duration

duration: number

WebMessageInfo duration.

ephemeralDuration

ephemeralDuration: number

WebMessageInfo ephemeralDuration.

ephemeralOffToOn

ephemeralOffToOn: boolean

WebMessageInfo ephemeralOffToOn.

ephemeralOutOfSync

ephemeralOutOfSync: boolean

WebMessageInfo ephemeralOutOfSync.

ephemeralStartTimestamp

ephemeralStartTimestamp: number | Long

WebMessageInfo ephemeralStartTimestamp.

Optional finalLiveLocation

finalLiveLocation: ILiveLocationMessage

WebMessageInfo finalLiveLocation.

futureproofData

futureproofData: Uint8Array

WebMessageInfo futureproofData.

ignore

ignore: boolean

WebMessageInfo ignore.

key

WebMessageInfo key.

labels

labels: string[]

WebMessageInfo labels.

mediaCiphertextSha256

mediaCiphertextSha256: Uint8Array

WebMessageInfo mediaCiphertextSha256.

Optional mediaData

mediaData: IMediaData

WebMessageInfo mediaData.

Optional message

message: IMessage

WebMessageInfo message.

messageC2STimestamp

messageC2STimestamp: number | Long

WebMessageInfo messageC2STimestamp.

messageStubParameters

messageStubParameters: string[]

WebMessageInfo messageStubParameters.

messageStubType

messageStubType: WebMessageInfoStubType

WebMessageInfo messageStubType.

messageTimestamp

messageTimestamp: number | Long

WebMessageInfo messageTimestamp.

multicast

multicast: boolean

WebMessageInfo multicast.

participant

participant: string

WebMessageInfo participant.

Optional paymentInfo

paymentInfo: IPaymentInfo

WebMessageInfo paymentInfo.

Optional photoChange

photoChange: IPhotoChange

WebMessageInfo photoChange.

pushName

pushName: string

WebMessageInfo pushName.

Optional quotedPaymentInfo

quotedPaymentInfo: IPaymentInfo

WebMessageInfo quotedPaymentInfo.

Optional quotedStickerData

quotedStickerData: IMediaData

WebMessageInfo quotedStickerData.

reactions

reactions: IReaction[]

WebMessageInfo reactions.

starred

starred: boolean

WebMessageInfo starred.

status

WebMessageInfo status.

statusPsaCampaignDuration

statusPsaCampaignDuration: number

WebMessageInfo statusPsaCampaignDuration.

statusPsaCampaignId

statusPsaCampaignId: string

WebMessageInfo statusPsaCampaignId.

statusPsaCampaignReadTimestamp

statusPsaCampaignReadTimestamp: number | Long

WebMessageInfo statusPsaCampaignReadTimestamp.

urlNumber

urlNumber: boolean

WebMessageInfo urlNumber.

urlText

urlText: boolean

WebMessageInfo urlText.

userReceipt

userReceipt: IUserReceipt[]

WebMessageInfo userReceipt.

verifiedBizName

verifiedBizName: string

WebMessageInfo verifiedBizName.

Methods

toJSON

  • toJSON(): {}

Static create

Static decode

  • decode(reader: Uint8Array | Reader, length?: number): WebMessageInfo
  • Decodes a WebMessageInfo 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 WebMessageInfo

    WebMessageInfo

Static decodeDelimited

  • Decodes a WebMessageInfo 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 WebMessageInfo

    WebMessageInfo

Static encode

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

    Parameters

    • message: IWebMessageInfo

      WebMessageInfo message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

Static encodeDelimited

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

    Parameters

    • message: IWebMessageInfo

      WebMessageInfo message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

Static fromObject

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

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns WebMessageInfo

    WebMessageInfo

Static toObject

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

    Parameters

    • message: WebMessageInfo

      WebMessageInfo

    • Optional options: IConversionOptions

    Returns {}

    Plain object

    • [k: string]: any

Static verify

  • verify(message: {}): string
  • Verifies a WebMessageInfo 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