messages.sendScreenshotNotification

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

 Method schema is available as of layer 160. Switch ยป

Parameters

Name Type Description
peer InputPeer Other user
reply_to InputReplyTo Indicates the message that was screenshotted (the specified message ID can also be 0 to avoid indicating any specific message).
random_id long Random ID to avoid message resending

Result

Updates

Possible errors

Code Type Description
400 INPUT_USER_DEACTIVATED The specified user was deleted.
400 PEER_ID_INVALID The provided peer id is invalid.
400 REPLY_MESSAGE_ID_INVALID The specified reply-to message ID is invalid.
400 STORY_ID_INVALID The specified story ID is invalid.
400 YOU_BLOCKED_USER You blocked this user.