from property

String? from
getter/setter pair

~english The ID of the message sender.

  • For a one-to-one chat, it is the username of the peer user.
  • For a group chat, it is the group ID.
  • For a chat room, it is the chat room ID. ~end

~chinese 消息发送方,可以是:

  • 用户:用户 ID;
  • 群组:群组 ID;
  • 聊天室:聊天室 ID。 ~end

Implementation

String? from = '';