SendScreenshotNotification

---functions---
messages.sendScreenshotNotification#a1405817 peer:InputPeer reply_to:InputReplyTo random_id:long = Updates

Returns

Updates

Parameters

peerInputPeerrequired
reply_toInputReplyTorequired
random_idlongrequired

Example

The examples below use placeholder values. Replace them with real data before running the code.

Example
import asyncio
import random
from ferogram import Client, raw

app = Client("my_session", api_id=12345, api_hash="0123456789abcdef0123456789abcdef")

async def main():
    await app.start()
    result = await app.raw.messages.SendScreenshotNotification(
        peer='username',
        reply_to=raw.types.InputReplyToMessage(reply_to_msg_id=42),
        random_id=random.randrange(-2**63, 2**63)
    )
    print(result)

asyncio.run(main())