Esempio n. 1
0
        public async Task <TelegramStartDto> Post(int timezoneOffset)
        {
            string chatKey = await _telegramService.GenerateKey(User.ToAuthToken().UserId, timezoneOffset);

            string botName = "darkdeedsbot";

            return(new TelegramStartDto
            {
                Url = $"https://telegram.me/{botName}?start={chatKey}"
            });
        }