Method: MatrixSdk::Room#send_video
- Defined in:
- lib/matrix_sdk/room.rb
#send_video(url, name, video_info = {}) ⇒ Object
Note:
The URLs should all be of the ‘mxc://’ schema
Sends a link to a video to the room
256 257 258 |
# File 'lib/matrix_sdk/room.rb', line 256 def send_video(url, name, video_info = {}) client.api.send_content(id, url, name, 'm.video', extra_information: video_info) end |