messages.SendQuickReplyMessages

class pyrogram.raw.functions.messages.SendQuickReplyMessages

Send a quick reply shortcut ».

Details:
  • Layer: 223

  • ID: 6C750DE1

Parameters:
  • peer (InputPeer) – The peer where to send the shortcut (users only, for now).

  • shortcut_id (int 32-bit) – The ID of the quick reply shortcut to send.

  • id (List of int 32-bit) – Specify a subset of messages from the shortcut to send; if empty, defaults to all of them.

  • random_id (List of int 64-bit) – Unique client IDs required to prevent message resending, one for each message we’re sending, may be empty (but not recommended).

Returns:

Updates

TL Schema

messages.sendQuickReplyMessages#6c750de1
peer:InputPeer
shortcut_id:int
id:Vector<int>
random_id:Vector<long>

= Updates

Parameter Tree

SendQuickReplyMessages
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── shortcut_idint
├── idVector < int >
└── random_idVector < long >

Example

await app.invoke(
    SendQuickReplyMessages(
        peer=await app.resolve_peer(chat_id),
        shortcut_id=0,
        id=[0],
        random_id=[app.rnd_id()],
    )
)