allowedToWritePm property

bool? get allowedToWritePm

True, if this user allowed the bot to message them.

Implementation

bool? get allowedToWritePm => _webAppUser.allows_write_to_pm;