from property

String? from
read / write

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.

Implementation

String? from = '';