Ejemplo n.º 1
0
        public MusicSendMessage(string toUser, string thumbMediaId, string title,
                                string description, string musicUrl, string hqMusicUrl)
            : base(toUser, MessageType.Music)
        {
            TkDebug.AssertArgumentNullOrEmpty(thumbMediaId, "thumbMediaId", null);

            Music = new MusicMediaType
            {
                ThumbMediaId = thumbMediaId,
                Title        = title,
                Description  = description,
                MusicUrl     = musicUrl,
                HQMusicUrl   = hqMusicUrl
            };
        }
Ejemplo n.º 2
0
        public MusicSendMessage(string toUser, string thumbMediaId, string title,
            string description, string musicUrl, string hqMusicUrl)
            : base(toUser, MessageType.Music)
        {
            TkDebug.AssertArgumentNullOrEmpty(thumbMediaId, "thumbMediaId", null);

            Music = new MusicMediaType
            {
                ThumbMediaId = thumbMediaId,
                Title = title,
                Description = description,
                MusicUrl = musicUrl,
                HQMusicUrl = hqMusicUrl
            };
        }