lib/ayadn/endpoints.rb in ayadn-1.0.6 vs lib/ayadn/endpoints.rb in ayadn-1.0.7
- old
+ new
@@ -208,10 +208,10 @@
def channels(options)
"#{@channels_url}?access_token=#{Settings.user_token}#{API.build_query(options)}"
end
def messages(channel_id, options)
- "#{@channels_url}#{channel_id}/messages?access_token=#{Settings.user_token}#{API.build_query(options)}"
+ "#{@channels_url}#{channel_id}/messages?access_token=#{Settings.user_token}#{API.build_query(options)}&include_machine=1"
end
def ayadnlog
"#{@channels_url}47348/messages?access_token=#{Settings.user_token}"
end