Send Base64 images? #263
|
Is it possible to send images as base64? |
Answered by
reo7sp
Sep 14, 2026
Replies: 1 comment
|
Base64 is not a separate Telegram upload format. Decode it to bytes and pass those bytes to |
0 replies
Answer selected by
reo7sp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Base64 is not a separate Telegram upload format. Decode it to bytes and pass those bytes to
InputFile::fromData(data, mimeType, fileName), then callsendPhotoor the appropriate send method. If you already have a Telegramfile_id, pass that instead.