Module: Zoom::Actions::IM::Chat
- Included in:
- Client
- Defined in:
- lib/zoom/actions/im/chat.rb
Instance Method Summary collapse
-
#chat_get(*args) ⇒ Object
Get chat messages for a specified period.
-
#chat_list(*args) ⇒ Object
Get chat history list for a specified time period.
Instance Method Details
#chat_get(*args) ⇒ Object
Get chat messages for a specified period.
8 9 10 11 12 13 14 |
# File 'lib/zoom/actions/im/chat.rb', line 8 def chat_get(*args) = Utils.(args) Zoom::Params.new().require(:access_token, :session_id, :from, :to) # TODO handle date format for `from` and `to` params # TODO implement `next_page_token`, will be returned whenever the set of available chat history list exceeds 100. The expiration period is 30 minutes. Utils.parse_response self.class.post('/chat/get', query: ) end |
#chat_list(*args) ⇒ Object
Get chat history list for a specified time period.
17 18 19 20 21 22 23 |
# File 'lib/zoom/actions/im/chat.rb', line 17 def chat_list(*args) = Utils.(args) Zoom::Params.new().require(:access_token, :from, :to) # TODO handle date format for `from` and `to` params # TODO implement `next_page_token`, will be returned whenever the set of available chat history list exceeds 100. The expiration period is 30 minutes. Utils.parse_response self.class.post('/chat/list', query: ) end |