예제 #1
0
        /// <summary>
        /// Replies the media.
        /// </summary>
        /// <param name="imageObjects">The image objects.</param>
        /// <returns>MediaMessage.</returns>
        public MediaMessage ReplyMedia(IEnumerable <ImageObject> imageObjects)
        {
            MediaMessage message = new MediaMessage();

            if (imageObjects != null)
            {
                foreach (var one in imageObjects)
                {
                    message.ImageCollection.Add(one);
                }
            }

            message.SetBasicReplyInformation(this);

            return(message);
        }
예제 #2
0
        /// <summary>
        /// Replies the media.
        /// </summary>
        /// <param name="imageObjects">The image objects.</param>
        /// <returns>MediaMessage.</returns>
        public MediaMessage ReplyMedia(IEnumerable<ImageObject> imageObjects)
        {
            MediaMessage message = new MediaMessage();

            if (imageObjects != null)
            {
                foreach (var one in imageObjects)
                {
                    message.ImageCollection.Add(one);
                }
            }

            message.SetBasicReplyInformation(this);

            return message;
        }