send_screenshot_notification()

Client.send_screenshot_notification()

Notify the other user in a chat that screenshot of the chat was taken.

Usable by Users Bots
Parameters:
  • chat_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).

  • message_thread_id (``int``, *optional*) – If the message is in a thread, ID of the original message.

  • reply_parameters (:obj:`~pyrogram.types.ReplyParameters`, *optional*) – Description of the message to reply to

Returns:

:obj:`~pyrogram.types.Message` (On success, the sent service message is returned.)