SendPhoto by id #1122
Closed
HighlandProger
started this conversation in
Ideas
SendPhoto by id
#1122
Replies: 1 comment 1 reply
-
Hello! InputFile object (org.telegram.telegrambots.meta.api.objects.InputFile) allows you to set string values and files (java.io.File). Please see the examples. by link or file id:
by file (java.io.File):
Hope this will help you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, dear developers!
I'm using your library for a long time. And now i cannot find the oportunity to send photo by it's id on telegram or URL. Your function receives only InputFile objects. Please add the feature to receive String object or explain me how to use the same way to send photo by it's id. I also tried to use your's example bot: https://telegram.me/filesbot (Send files by file_id). It doesn't answer.
King regards,
Java developer
Said Kimpaev
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions