isOperatorMessage property
- @JsonKey(name: 'is_op_msg')
final
Whether the message was sent from an operator. This value is true if the sender of this message was an operator at the moment this message was sent. Note that Sender.role returns the role of the sender at the current moment (when the server response was sent). So if the sender's operator status changed after sending a message, the value of the property and the result of Sender.role might differ.
Implementation
@JsonKey(name: 'is_op_msg')
final bool isOperatorMessage;