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_idint
├── recipientsBusinessRecipients
│ └── BusinessRecipients
│ ├── existing_chatstrue (optional)
│ ├── new_chatstrue (optional)
│ ├── contactstrue (optional)
│ ├── non_contactstrue (optional)
│ ├── exclude_selectedtrue (optional)
│ └── usersVector < long > (optional)
└── no_activity_daysint

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,
)