Open zcabbub opened 3 months ago
You should read the docs before opening a bug, actually if you look in the way you're sending the parameters is wrong. In the way you're sending the params, you must specify with params has which value, or you need to use the right order.
https://subzeroid.github.io/instagrapi/usage-guide/direct.html
Try Instagrapi SaaS with a free trial https://hikerapi.com/p/5GBWznd3
Describe the bug A clear and concise description of what the bug is.
I used the code below to send media, I tried the direct_send method as well, but nothing is working. The DM methods are broken?
cl.direct_media_share(media[0].pk, [6282907233], send_attribute="feed_timeline", media_type="video")
This is what it returns: DirectMessage(id='317448491445426418447544354267136', user_id='', thread_id=3402823668417103024427602923127314226, timestamp=datetime.datetime(2024, 7, 13, 18, 28, 40), item_type=None, is_sent_by_viewer=None, is_shh_mode=None, reactions=None, text=None, reply=None, link=None, animated_media=None, media=None, visual_media=None, media_share=None, reel_share=None, story_share=None, felix_share=None, xma_share=None, clip=None, placeholder=None)
To Reproduce Provide a piece of code to reproduce the problem.
Traceback Show your full traceback so that it is clear where exactly the error occurred.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.