GetRecentStickersRequest

Only users can use this request. See code examples.

---functions---
messages.getRecentStickers#9da9403b flags:# attached:flags.0?true hash:long = messages.RecentStickers

Returns

messages.RecentStickers

This type can be an instance of either:

RecentStickersRecentStickersNotModified

Parameters

hashlong
attachedflagThis argument defaults to None and can be omitted.

Known RPC errors

This request can't cause any RPC error as far as we know.

Example

from telethon.sync import TelegramClient
from telethon import functions, types

with TelegramClient(name, api_id, api_hash) as client:
    result = client(functions.messages.GetRecentStickersRequest(
        hash=-12398745604826,
        attached=True
    ))
    print(result.stringify())