messageRef property

MessageRef get messageRef

Returns this data as MessageRef.

Make sure to check if this object is MessageRef with isMessageRef.

Implementation

MessageRef get messageRef => this.data as MessageRef;