Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITextMessageBody

Text message

Hierarchy

Index

Properties

mentionedInfo?: MentionedInfoBody

Mentions in group messages

content: string

Text message content

user?: { id?: string; name?: string; portraitUri?: string; extra?: string; portrait?: string; alias?: string }

Type declaration

  • Optional id?: string

    User ID

  • Optional name?: string

    Username

  • Optional portraitUri?: string

    User avatar URL

    deprecated
  • Optional extra?: string

    Additional information in user info

  • Optional portrait?: string

    User avatar URL

  • Optional alias?: string

    Note

extra?: string

Additional information in the message

audit?: { auditType?: MessageAuditType; project?: string; strategy?: string }

Type declaration

  • Optional auditType?: MessageAuditType

    The sender specifies whether to submit for review: 1 (submit for review, default value), 0 (do not submit for review).

  • Optional project?: string

    Project name, defaults to an empty string.

  • Optional strategy?: string

    Policy Mapping Fields