pytdbot.types.bound_methods.sender_id
- class pytdbot.types.bound_methods.sender_id.MessageSenderBoundMethods[source]
Bases:
object
- property from_id: int | None
Returns the message sender’s ID.
None
if not found
- property is_chat: bool
Returns
True
if the message sender is a chat
- property is_user: bool
Returns
True
if the message sender is a user