Class WebMessageInfo

Represents a WebMessageInfo.

Hierarchy

  • WebMessageInfo

Implements

Constructors

Properties

agentId: string

WebMessageInfo agentId.

bizPrivacyStatus: BizPrivacyStatus

WebMessageInfo bizPrivacyStatus.

botMessageInvokerJid: string

WebMessageInfo botMessageInvokerJid.

broadcast: boolean

WebMessageInfo broadcast.

clearMedia: boolean

WebMessageInfo clearMedia.

commentMetadata?: null | ICommentMetadata

WebMessageInfo commentMetadata.

duration: number

WebMessageInfo duration.

ephemeralDuration: number

WebMessageInfo ephemeralDuration.

ephemeralOffToOn: boolean

WebMessageInfo ephemeralOffToOn.

ephemeralOutOfSync: boolean

WebMessageInfo ephemeralOutOfSync.

ephemeralStartTimestamp: number | Long

WebMessageInfo ephemeralStartTimestamp.

eventResponses: IEventResponse[]

WebMessageInfo eventResponses.

finalLiveLocation?: null | ILiveLocationMessage

WebMessageInfo finalLiveLocation.

futureproofData: Uint8Array

WebMessageInfo futureproofData.

ignore: boolean

WebMessageInfo ignore.

is1PBizBotMessage: boolean

WebMessageInfo is1PBizBotMessage.

isGroupHistoryMessage: boolean

WebMessageInfo isGroupHistoryMessage.

keepInChat?: null | IKeepInChat

WebMessageInfo keepInChat.

WebMessageInfo key.

labels: string[]

WebMessageInfo labels.

mediaCiphertextSha256: Uint8Array

WebMessageInfo mediaCiphertextSha256.

mediaData?: null | proto.IMediaData

WebMessageInfo mediaData.

message?: null | IMessage

WebMessageInfo message.

messageC2STimestamp: number | Long

WebMessageInfo messageC2STimestamp.

messageSecret: Uint8Array

WebMessageInfo messageSecret.

messageStubParameters: string[]

WebMessageInfo messageStubParameters.

messageStubType: StubType

WebMessageInfo messageStubType.

messageTimestamp: number | Long

WebMessageInfo messageTimestamp.

multicast: boolean

WebMessageInfo multicast.

newsletterServerId: number | Long

WebMessageInfo newsletterServerId.

originalSelfAuthorUserJidString: string

WebMessageInfo originalSelfAuthorUserJidString.

participant: string

WebMessageInfo participant.

paymentInfo?: null | IPaymentInfo

WebMessageInfo paymentInfo.

photoChange?: null | IPhotoChange

WebMessageInfo photoChange.

pinInChat?: null | IPinInChat

WebMessageInfo pinInChat.

pollAdditionalMetadata?: null | IPollAdditionalMetadata

WebMessageInfo pollAdditionalMetadata.

pollUpdates: IPollUpdate[]

WebMessageInfo pollUpdates.

premiumMessageInfo?: null | IPremiumMessageInfo

WebMessageInfo premiumMessageInfo.

pushName: string

WebMessageInfo pushName.

quotedPaymentInfo?: null | IPaymentInfo

WebMessageInfo quotedPaymentInfo.

quotedStickerData?: null | proto.IMediaData

WebMessageInfo quotedStickerData.

reactions: IReaction[]

WebMessageInfo reactions.

reportingTokenInfo?: null | IReportingTokenInfo

WebMessageInfo reportingTokenInfo.

revokeMessageTimestamp: number | Long

WebMessageInfo revokeMessageTimestamp.

starred: boolean

WebMessageInfo starred.

WebMessageInfo status.

statusAlreadyViewed: boolean

WebMessageInfo statusAlreadyViewed.

statusPsa?: null | IStatusPSA

WebMessageInfo statusPsa.

urlNumber: boolean

WebMessageInfo urlNumber.

urlText: boolean

WebMessageInfo urlText.

userReceipt: IUserReceipt[]

WebMessageInfo userReceipt.

verifiedBizName: string

WebMessageInfo verifiedBizName.

Methods

  • Converts this WebMessageInfo to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

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

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

      Message length if known beforehand

    Returns WebMessageInfo

    WebMessageInfo

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

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

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns WebMessageInfo

    WebMessageInfo

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

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

    Parameters

    • message: IWebMessageInfo

      WebMessageInfo message or plain object to encode

    • Optional writer: Writer

      Writer to encode to

    Returns Writer

    Writer

  • 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

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

    • object: {
          [k: string]: any;
      }

      Plain object

      • [k: string]: any

    Returns WebMessageInfo

    WebMessageInfo

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

    Parameters

    • message: WebMessageInfo

      WebMessageInfo

    • Optional options: IConversionOptions

      Conversion options

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a WebMessageInfo message.

    Parameters

    • message: {
          [k: string]: any;
      }

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc