Objects Reference
This is the quick reference for those objects returned by client methods or other useful modules that the library has to offer. They are kept in a separate page to help finding and discovering them.
Remember that this page only shows properties and methods, not attributes. Make sure to open the full documentation to find out about the attributes.
Message
The Message type is very important, mostly because we are working with a library for a messaging platform, so messages are widely used: in events, when fetching history, replies, etc.
Properties
Note
We document custom properties here, not all the attributes of the Message (which is the information Telegram actually returns).
Methods
Fetch the message that this message is replying to, or None if this message is not a reply to a previous message. |
Utils
The grammers.utils module has plenty of methods that make using the library a lot easier. Only the interesting ones will be listed here.
Parses the given phone, or returns None if it's invalid. |
|