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

- old
+ new

@@ -169,9 +169,13 @@ def delete_post(post_id) JSON.parse(CNX.delete(Endpoints.new.delete_post(post_id))) end + def delete_message(channel_id, message_id) + JSON.parse(CNX.delete(Endpoints.new.delete_message(channel_id, message_id))) + end + def unstar(post_id) JSON.parse(CNX.delete(Endpoints.new.star(post_id))) end def unfollow(username)