Answer the question
In order to leave comments, you need to log in
Why is the photo not being sent in the message?
image_source = 'L6qlPoJdHG4.jpeg'
VkUpload.photo_messages(image_source)
TypeError: photo_messages() missing 1 required positional argument: 'photos'
photo_messages(photos)
Load images into messages
Parameters: photos (str or list) – path to image(s) or file-like object(s)
Answer the question
In order to leave comments, you need to log in
Do you create an instance of the VkUpload class at all? This is not a static method
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question