We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to AddStickerToSetRequest parmas sticker telethon
from telethon.sync import TelegramClient from telethon import functions, types
with TelegramClient(name, api_id, api_hash) as client: result = client(functions.stickers.AddStickerToSetRequest( stickerset=types.InputStickerSetID( id=-12398745604826, access_hash=-12398745604826 ), sticker=types.InputStickerSetItem( document=types.InputDocument( id=-12398745604826, access_hash=-12398745604826, file_reference=b'arbitrary\x7f data \xfa here' ), emoji='some string here', mask_coords=types.MaskCoords( n=42, x=7.13, y=7.13, zoom=7.13 ), keywords='some string here' ) )) print(result.stringify())
i do not konw how to find types.InputStickerSetItem params
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
how to AddStickerToSetRequest parmas sticker telethon
from telethon.sync import TelegramClient
from telethon import functions, types
with TelegramClient(name, api_id, api_hash) as client:
result = client(functions.stickers.AddStickerToSetRequest(
stickerset=types.InputStickerSetID(
id=-12398745604826,
access_hash=-12398745604826
),
sticker=types.InputStickerSetItem(
document=types.InputDocument(
id=-12398745604826,
access_hash=-12398745604826,
file_reference=b'arbitrary\x7f data \xfa here'
),
emoji='some string here',
mask_coords=types.MaskCoords(
n=42,
x=7.13,
y=7.13,
zoom=7.13
),
keywords='some string here'
)
))
print(result.stringify())
i do not konw how to find types.InputStickerSetItem params
Checklist
The text was updated successfully, but these errors were encountered: