added method invite_friend_to_an_event