Answer the question
In order to leave comments, you need to log in
How to attach two attachments to a bot message?
I tried to attach two attachments to the message at once, it sends only one.
What's wrong?
if msg == '/команды':
attachment = 'photo-188884444_457239102', 'audio-188884444_456239017'
sender_with_attachment(id, commands, attachment=attachment)
Answer the question
In order to leave comments, you need to log in
attachmentmediaAttachments to a private message separated by commas
Instead of
attachment = 'photo-188884444_457239102', 'audio-188884444_456239017'
attachment = 'photo-188884444_457239102,audio-188884444_456239017'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question