def mark_as_read(self, room_name):
api_meth = self.set_user_items_url(room_name)<EOL>message_ids = self.unread_items(room_name).get('<STR_LIT>')<EOL>if message_ids:<EOL><INDENT>return self.post(api_meth, data={'<STR_LIT>': message_ids})<EOL><DEDENT>else:<EOL><INDENT>raise GitterItemsError(room_name)<EOL><DEDENT>
message_ids return an array
with unread message ids ['131313231', '323131']