Skip to content
Discussion options

You must be logged in to vote

Base64 is not a separate Telegram upload format. Decode it to bytes and pass those bytes to InputFile::fromData(data, mimeType, fileName), then call sendPhoto or the appropriate send method. If you already have a Telegram file_id, pass that instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by reo7sp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants