Ejemplo n.º 1
0
        public async Task BebopWatermarkImagesAsync()
        {
            IReadOnlyCollection <Attachment> attachments = await AttachmentHelper.GetMostRecentAttachmentsAsync(Context, AttachmentFilter.Images);

            if (attachments == null)
            {
                await ServiceReplyAsync(NO_ATTACHMENTS_FOUND_MESSAGE);

                return;
            }

            var images = _imageService.BebopWatermarkImages(attachments);

            await SendImages(images);
        }