Method: MatrixSdk::Room#send_audio
- Defined in:
- lib/matrix_sdk/room.rb
#send_audio(url, name, audio_info = {}) ⇒ Object
Note:
The URLs should all be of the ‘mxc://’ schema
Sends a link to an audio clip to the room
340 341 342 |
# File 'lib/matrix_sdk/room.rb', line 340 def send_audio(url, name, audio_info = {}) client.api.send_content(id, url, name, 'm.audio', extra_information: audio_info) end |