BusinessGreetingMessage

class pyrogram.raw.base.BusinessGreetingMessage

Describes a Telegram Business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.

Constructors:

This base type has 1 constructor available.

BusinessGreetingMessage

Describes a Telegram Business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.

TL Schema

businessGreetingMessage#e519abab
shortcut_id:int
recipients:BusinessRecipients
no_activity_days:int

= BusinessGreetingMessage

Parameter Tree

BusinessGreetingMessage
├── shortcut_id → int
├── recipients → BusinessRecipients
│ └── BusinessRecipients
│ ├── existing_chats → true (optional)
│ ├── new_chats → true (optional)
│ ├── contacts → true (optional)
│ ├── non_contacts → true (optional)
│ ├── exclude_selected → true (optional)
│ └── users → Vector < long > (optional)
└── no_activity_days → int

Example

BusinessGreetingMessage(
    shortcut_id=0,
    recipients=BusinessRecipients(
        existing_chats=None,
        new_chats=None,
        contacts=None,
        non_contacts=None,
        exclude_selected=None,
        users=None
    ),
    no_activity_days=0,
)