A quick reference for the Telegram Mini Apps (Web Apps) API: theme variables, server-side initData validation, BackButton / MainButton, popups and the QR scanner.