suggest_birthday()¶
- Client.suggest_birthday()¶
Suggests a birthdate to another regular user with common messages and allowing non-paid messages.
Usable by Users Bots
- Parameters:¶
chat_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat. For a contact that exists in your Telegram address book you can use his phone number (str).
birthday (:obj:`types.Birthday`) – Birthdate to suggest.
- Returns:¶
``bool`` (On success, True is returned.)
Example
await app.suggest_birthday(chat_id=123456, birthday=types.Birthday(day=1, month=1, year=2000))