Telegram has appealed a court ruling barring it from distributing its gram cryptocurrency.