Represents a MsgOpaqueData.

Hierarchy

  • MsgOpaqueData

Implements

Constructors

Properties

body?: null | string

MsgOpaqueData body.

botMessageSecret?: null | Uint8Array

MsgOpaqueData botMessageSecret.

caption?: null | string

MsgOpaqueData caption.

clientUrl?: null | string

MsgOpaqueData clientUrl.

description?: null | string

MsgOpaqueData description.

encIv?: null | Uint8Array

MsgOpaqueData encIv.

encPayload?: null | Uint8Array

MsgOpaqueData encPayload.

encPollVote?: null | proto.IPollEncValue

MsgOpaqueData encPollVote.

encReactionEncIv?: null | Uint8Array

MsgOpaqueData encReactionEncIv.

encReactionEncPayload?: null | Uint8Array

MsgOpaqueData encReactionEncPayload.

encReactionTargetMessageKey?: null | string

MsgOpaqueData encReactionTargetMessageKey.

eventDescription?: null | string

MsgOpaqueData eventDescription.

eventEndTime?: null | number | Long

MsgOpaqueData eventEndTime.

eventJoinLink?: null | string

MsgOpaqueData eventJoinLink.

eventLocation?: null | IEventLocation

MsgOpaqueData eventLocation.

eventName?: null | string

MsgOpaqueData eventName.

eventStartTime?: null | number | Long

MsgOpaqueData eventStartTime.

futureproofBuffer?: null | Uint8Array

MsgOpaqueData futureproofBuffer.

isEventCanceled?: null | boolean

MsgOpaqueData isEventCanceled.

isLive?: null | boolean

MsgOpaqueData isLive.

isSentCagPollCreation?: null | boolean

MsgOpaqueData isSentCagPollCreation.

lat?: null | number

MsgOpaqueData lat.

lng?: null | number

MsgOpaqueData lng.

loc?: null | string

MsgOpaqueData loc.

matchedText?: null | string

MsgOpaqueData matchedText.

messageSecret?: null | Uint8Array

MsgOpaqueData messageSecret.

originalSelfAuthor?: null | string

MsgOpaqueData originalSelfAuthor.

paymentAmount1000?: null | number

MsgOpaqueData paymentAmount1000.

paymentNoteMsgBody?: null | string

MsgOpaqueData paymentNoteMsgBody.

pollContentType?: null | proto.MsgOpaqueData.PollContentType

MsgOpaqueData pollContentType.

pollName?: null | string

MsgOpaqueData pollName.

pollOptions: IPollOption[]

MsgOpaqueData pollOptions.

pollSelectableOptionsCount?: null | number

MsgOpaqueData pollSelectableOptionsCount.

pollUpdateParentKey?: null | string

MsgOpaqueData pollUpdateParentKey.

pollVotesSnapshot?: null | IPollVotesSnapshot

MsgOpaqueData pollVotesSnapshot.

senderTimestampMs?: null | number | Long

MsgOpaqueData senderTimestampMs.

targetMessageKey?: null | string

MsgOpaqueData targetMessageKey.

title?: null | string

MsgOpaqueData title.

Methods

  • Converts this MsgOpaqueData to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

    • [k: string]: any
  • Decodes a MsgOpaqueData 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 MsgOpaqueData

    MsgOpaqueData

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

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

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns MsgOpaqueData

    MsgOpaqueData

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

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

    Parameters

    • message: IMsgOpaqueData

      MsgOpaqueData message or plain object to encode

    • Optional writer: Writer

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

    • message: IMsgOpaqueData

      MsgOpaqueData message or plain object to encode

    • Optional writer: Writer

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

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

      Plain object

      • [k: string]: any

    Returns MsgOpaqueData

    MsgOpaqueData

  • Gets the default type url for MsgOpaqueData

    Parameters

    • Optional typeUrlPrefix: string

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

    Returns string

    The default type url

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

    Parameters

    • message: MsgOpaqueData

      MsgOpaqueData

    • Optional options: IConversionOptions

      Conversion options

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a MsgOpaqueData 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