Exemple #1
0
        public Task VisitPicRoom(PicRoom picRoom)
        {
            log.Debug("");
            log.Debug($"({picRoom.Key})");

            if (picRoom.Name.IsNotNullOrEmpty())
            {
                log.Debug(picRoom.Name);
            }

            if (picRoom.Pic.IsNotNullOrEmpty())
            {
                log.Debug($"^^{picRoom.Pic}^^");
            }

            if (picRoom.Caption.IsNotNullOrEmpty())
            {
                log.Debug(picRoom.Caption);
            }

            return(Task.CompletedTask);
        }
 public async Task VisitPicRoom(PicRoom picRoom)
 {
     await SendText(picRoom.Name);
     await SendPic(picRoom.Pic);
     await SendText(picRoom.Caption);
 }