message property

Message? get message

The message from the update, if any.

This will be non-null for text messages, photos, documents, etc.

Implementation

Message? get message => update.message;