privateMessageViewer property

User? privateMessageViewer
getter/setter pair

Input for creating a message, otherwise output only.

The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using app authentication and omit the following: * Attachments * Accessory widgets For details, see Send a message privately.

Optional. Immutable.

Implementation

User? privateMessageViewer;