Module: Remind101::Client::ChatMessages

Included in:
Remind101::Client
Defined in:
lib/remind101/client/chat_messages.rb

Instance Method Summary collapse

Instance Method Details

#get_chat_message(chat_uuid, message_uuid) ⇒ Object

Public: Returns a single chat message for the given chat.

Examples

remind101.get_chat_message('<a_chat_uuid>', '<a_message_uuid>')

Returns the faraday response.



10
11
12
# File 'lib/remind101/client/chat_messages.rb', line 10

def get_chat_message(chat_uuid, message_uuid)
  api_get("/chats/#{chat_uuid}/messages/#{message_uuid}")
end