add documentation in method invite_friend_to_an_event