UV
Size: a a a
UV
т
т
UV
S
т
EM
EM
MC
MC
photo = types.PhotoSize(file_id=msg.photo, file_unique_id=msg.file_ref, widt
h=msg.width, height=msg.height, file_size=msg.size)
TypeError: __init__() got an unexpected keyword argument 'file_unique_id'
UV
bot.send_photo(chat_id, file_id)
MC
bot.send_photo(chat_id, file_id)
MC
bot.send_photo(chat_id, file_id)
telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful.
The server returned HTTP 400 Bad Request. Response body:
[b'{"ok":false,"error_code":400,"description":"Bad Request: wrong file identifie
r/HTTP URL specified"}']
UV
telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful.
The server returned HTTP 400 Bad Request. Response body:
[b'{"ok":false,"error_code":400,"description":"Bad Request: wrong file identifie
r/HTTP URL specified"}']
UV
unique_file_id
, а именно file_id
MC
message.photo.file_id
MC
т
message.photo.file_id
UV
PhotoSize
, а индексов не видно[