Options
All
  • Public
  • Public/Protected
  • All
Menu

Module nim/MessageExtendInterface

Index

Type aliases

NIMMsgPinInfo: { from: string; idClient: string; idServer: string; scene: "p2p" | "team" | "superTeam"; sessionId: string; time: number; to: string }

Type declaration

  • from: string

    account of a sender

  • idClient: string

    The message ID generated by the client test can be used as the unique primary key of the message.

  • idServer: string

    The ID used by the server to distinguish messages, used to get message history and keywords for searching message history.

  • scene: "p2p" | "team" | "superTeam"
    • Messaging scenario:
    • p2p: Private chat
    • team: group chat
    • superteam: supergroup chat
  • sessionId: string

    The ID of the conversation to which the message belongs

  • time: number

    Timestamp

  • to: string

    ID of a recipient, account ID or group ID