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.
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_id →
int├── recipients →
InputBusinessRecipients│ └──
InputBusinessRecipients│ ├── existing_chats →
true (optional)│ ├── new_chats →
true (optional)│ ├── contacts →
true (optional)│ ├── non_contacts →
true (optional)│ ├── exclude_selected →
true (optional)│ └── users →
Vector < InputUser > (optional)│ ├──
InputUserEmpty│ ├──
InputUserSelf│ ├──
InputUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ └──
InputUserFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── user_id →
long└── no_activity_days →
intExample
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,
)