lib/ayadn/endpoints.rb in ayadn-1.0.13 vs lib/ayadn/endpoints.rb in ayadn-1.1.0

- old
+ new

@@ -183,9 +183,13 @@ def delete_post(post_id) "#{@posts_url}#{post_id}?access_token=#{Settings.user_token}" end + def delete_message(channel_id, message_id) + "#{@channels_url}/#{channel_id}/messages/#{message_id}?access_token=#{Settings.user_token}" + end + def follow(username) "#{@users_url}#{username}/follow?access_token=#{Settings.user_token}" end def mute(username)