Closed Jamie1605 closed 7 months ago
I saw the added attribute of "alt_text" to media files of a tweet, but is there a way to add alt texts to one or multiple images of a tweet via the create_tweet function?
files argument of create_tweet accepts either
files
create_tweet
second string in tuple is the alt text for that media.
It would be files=[('image1.png', 'alt text 1'), ('image2.jpg', 'alt text 2')]
files=[('image1.png', 'alt text 1'), ('image2.jpg', 'alt text 2')]
I saw the added attribute of "alt_text" to media files of a tweet, but is there a way to add alt texts to one or multiple images of a tweet via the create_tweet function?