Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICommandMessageBody

Command message

Hierarchy

Index

Properties

name: string

Command name, which can be customized.

data: string

Command content

mentionedInfo?: MentionedInfoBody

Mentions in group messages

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