Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZegoBarrageMessageInfo

Barrage message info.

The received object of the room barrage message, including the message content, message ID, sender, sending time

Hierarchy

  • ZegoBarrageMessageInfo

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • message: string
    • messageID: string
    • sendTime: number
    • fromUser: ZegoUser

    Returns ZegoBarrageMessageInfo

Properties

fromUser

fromUser: ZegoUser

Message sender.Please do not fill in sensitive user information in this field, including but not limited to mobile phone number, ID number, passport number, real name, etc.

message

message: string

message content

messageID

messageID: string

message id

sendTime

sendTime: number

Message send time, UNIX timestamp, in milliseconds.

Generated using TypeDoc