sender property

User? sender
getter/setter pair

The user who created the message.

If your Chat app authenticates as a user, the output populates the user name and type.

Output only.

Implementation

User? sender;