InputBusinessGreetingMessage

class pyrogram.raw.base.InputBusinessGreetingMessage

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.

InputBusinessGreetingMessage

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

inputBusinessGreetingMessage#194cb3b
shortcut_id:int
recipients:InputBusinessRecipients
no_activity_days:int

= InputBusinessGreetingMessage

Parameter Tree

InputBusinessGreetingMessage
├── shortcut_idint
├── recipientsInputBusinessRecipients
│ ├── existing_chatstrue (optional)
│ ├── new_chatstrue (optional)
│ ├── contactstrue (optional)
│ ├── non_contactstrue (optional)
│ ├── exclude_selectedtrue (optional)
│ └── usersVector < InputUser > (optional)
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ └── InputUserFromMessage
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
└── no_activity_daysint

Example

InputBusinessGreetingMessage(
    shortcut_id=0,
    recipients=InputBusinessRecipients(
        existing_chats=None,
        new_chats=None,
        contacts=None,
        non_contacts=None,
        exclude_selected=None,
        users=None
    ),
    no_activity_days=0,
)