Represents a WebMessageInfo.

Hierarchy

  • WebMessageInfo

Implements

Constructors

Properties

agentId?: null | string

WebMessageInfo agentId.

bizPrivacyStatus?: null | BizPrivacyStatus

WebMessageInfo bizPrivacyStatus.

botMessageInvokerJid?: null | string

WebMessageInfo botMessageInvokerJid.

botTargetId?: null | string

WebMessageInfo botTargetId.

broadcast?: null | boolean

WebMessageInfo broadcast.

clearMedia?: null | boolean

WebMessageInfo clearMedia.

commentMetadata?: null | ICommentMetadata

WebMessageInfo commentMetadata.

duration?: null | number

WebMessageInfo duration.

ephemeralDuration?: null | number

WebMessageInfo ephemeralDuration.

ephemeralOffToOn?: null | boolean

WebMessageInfo ephemeralOffToOn.

ephemeralOutOfSync?: null | boolean

WebMessageInfo ephemeralOutOfSync.

ephemeralStartTimestamp?: null | number | Long

WebMessageInfo ephemeralStartTimestamp.

eventAdditionalMetadata?: null | IEventAdditionalMetadata

WebMessageInfo eventAdditionalMetadata.

eventResponses: IEventResponse[]

WebMessageInfo eventResponses.

finalLiveLocation?: null | ILiveLocationMessage

WebMessageInfo finalLiveLocation.

futureproofData?: null | Uint8Array

WebMessageInfo futureproofData.

ignore?: null | boolean

WebMessageInfo ignore.

is1PBizBotMessage?: null | boolean

WebMessageInfo is1PBizBotMessage.

isGroupHistoryMessage?: null | boolean

WebMessageInfo isGroupHistoryMessage.

isMentionedInStatus?: null | boolean

WebMessageInfo isMentionedInStatus.

isSupportAiMessage?: null | boolean

WebMessageInfo isSupportAiMessage.

keepInChat?: null | IKeepInChat

WebMessageInfo keepInChat.

WebMessageInfo key.

labels: string[]

WebMessageInfo labels.

mediaCiphertextSha256?: null | Uint8Array

WebMessageInfo mediaCiphertextSha256.

mediaData?: null | proto.IMediaData

WebMessageInfo mediaData.

message?: null | IMessage

WebMessageInfo message.

messageAddOns: IMessageAddOn[]

WebMessageInfo messageAddOns.

messageC2STimestamp?: null | number | Long

WebMessageInfo messageC2STimestamp.

messageSecret?: null | Uint8Array

WebMessageInfo messageSecret.

messageStubParameters: string[]

WebMessageInfo messageStubParameters.

messageStubType?: null | StubType

WebMessageInfo messageStubType.

messageTimestamp?: null | number | Long

WebMessageInfo messageTimestamp.

multicast?: null | boolean

WebMessageInfo multicast.

newsletterServerId?: null | number | Long

WebMessageInfo newsletterServerId.

originalSelfAuthorUserJidString?: null | string

WebMessageInfo originalSelfAuthorUserJidString.

participant?: null | 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?: null | string

WebMessageInfo pushName.

quotedPaymentInfo?: null | IPaymentInfo

WebMessageInfo quotedPaymentInfo.

quotedStickerData?: null | proto.IMediaData

WebMessageInfo quotedStickerData.

reactions: IReaction[]

WebMessageInfo reactions.

reportingTokenInfo?: null | IReportingTokenInfo

WebMessageInfo reportingTokenInfo.

revokeMessageTimestamp?: null | number | Long

WebMessageInfo revokeMessageTimestamp.

starred?: null | boolean

WebMessageInfo starred.

status?: null | proto.WebMessageInfo.Status

WebMessageInfo status.

statusAlreadyViewed?: null | boolean

WebMessageInfo statusAlreadyViewed.

statusMentionMessageInfo?: null | IStatusMentionMessage

WebMessageInfo statusMentionMessageInfo.

statusMentionSources: string[]

WebMessageInfo statusMentionSources.

statusMentions: string[]

WebMessageInfo statusMentions.

statusPsa?: null | IStatusPSA

WebMessageInfo statusPsa.

supportAiCitations: ICitation[]

WebMessageInfo supportAiCitations.

targetMessageId?: null | proto.IMessageKey

WebMessageInfo targetMessageId.

urlNumber?: null | boolean

WebMessageInfo urlNumber.

urlText?: null | boolean

WebMessageInfo urlText.

userReceipt: IUserReceipt[]

WebMessageInfo userReceipt.

verifiedBizName?: null | 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

  • Gets the default type url for WebMessageInfo

    Parameters

    • Optional typeUrlPrefix: string

      your custom typeUrlPrefix(default "type.googleapis.com")

    Returns string

    The default type url

  • 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