Skip to content
New issue

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 Can I Send a Photo as a Spoiler? #209

Closed
atakandemir891 opened this issue Nov 17, 2023 · 2 comments
Closed

How Can I Send a Photo as a Spoiler? #209

atakandemir891 opened this issue Nov 17, 2023 · 2 comments
Labels
telegram api Questions about Telegram API should be asked on StackOverflow

Comments

@atakandemir891
Copy link

atakandemir891 commented Nov 17, 2023

How can I send spoilers when sending photos on Telegram? Do you have support for this?

gsmarena_001.mp4
@wiz0u wiz0u added the telegram api Questions about Telegram API should be asked on StackOverflow label Nov 17, 2023
Copy link

Github Issues should be used only for problems with the library itself.
For questions about Telegram API usage, you can search the API official documentation or click here to ask your question on StackOverflow so the whole community can help and benefit.

@wiz0u
Copy link
Owner

wiz0u commented Nov 17, 2023

You will need to set the spoiler flag in the flags field of the InputMedia* structure you pass to SendMessageAsync

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
telegram api Questions about Telegram API should be asked on StackOverflow
Projects
None yet
Development

No branches or pull requests

2 participants