-
-
Notifications
You must be signed in to change notification settings - Fork 18
Sending audios
Filippo Romani edited this page Sep 13, 2024
·
3 revisions
To send a audio, you can either specify a link containing the audio or specify object id, you can do this using the same method.
To get the object id, you can use the upload_media
method. and then use the returned object id to send the audio.
>>> messenger.send_audio(
audio="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",
recipient_id="255757xxxxxx",
sender=0,
)
If you find any issue in the docs, please open an issue/pr and report it