//  [ChatSurvey(Name = nameof(UserSurveyExample))]
 public override void SubmitSurvey(long userId, UserSurveyExample survey)
 {
     BotWrapper.SendMessageToAll($"User {userId} was submitted survey: \n```{JsonConvert.SerializeObject(survey)}```");
 }
Пример #2
0
 protected override void OnEntityUpdated(Type entityType, object entityValue)
 {
     BotWrapper.SendMessageToAll($"{entityType.FullName} was updated {Emoji.Dice}");
 }