messages.SendQuickReplyMessages
- class pyrogram.raw.functions.messages.SendQuickReplyMessages
Send a quick reply shortcut ».
- Details:
Layer:
223ID:
6C750DE1
- Parameters:
peer (
InputPeer) – The peer where to send the shortcut (users only, for now).shortcut_id (
int32-bit) – The ID of the quick reply shortcut to send.id (List of
int32-bit) – Specify a subset of messages from the shortcut to send; if empty, defaults to all of them.random_id (List of
int64-bit) – Unique client IDs required to prevent message resending, one for each message we’re sending, may be empty (but not recommended).
- Returns:
TL Schema
messages.sendQuickReplyMessages#6c750de1
peer:InputPeer
shortcut_id:int
id:Vector<int>
random_id:Vector<long>
= Updates
Parameter Tree
SendQuickReplyMessages
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── shortcut_id →
int├── id →
Vector < int >└── random_id →
Vector < long >Example
await app.invoke(
SendQuickReplyMessages(
peer=await app.resolve_peer(chat_id),
shortcut_id=0,
id=[0],
random_id=[app.rnd_id()],
)
)