messages.DeleteQuickReplyShortcut

class pyrogram.raw.functions.messages.DeleteQuickReplyShortcut

Completely delete a quick reply shortcut. This will also emit an updateDeleteQuickReply update to other logged-in sessions (and no updateDeleteQuickReplyMessages updates, even if all the messages in the shortcuts are also deleted by this method).

Details:
  • Layer: 223

  • ID: 3CC04740

Parameters:
shortcut_id (int 32-bit):

Shortcut ID

Returns:

bool

TL Schema

messages.deleteQuickReplyShortcut#3cc04740
shortcut_id:int

= Bool

Parameter Tree

DeleteQuickReplyShortcut
└── shortcut_idint

Example

await app.invoke(
    DeleteQuickReplyShortcut(
        shortcut_id=0,
    )
)