Параметры запроса market.createComment
예제 #1
0
        /// <summary>
        /// Привести к типу VkParameters.
        /// </summary>
        /// <param name="p">Параметры.</param>
        /// <returns></returns>
        internal static VkParameters ToVkParameters(MarketCreateCommentParams p)
        {
            var parameters = new VkParameters {
                { "owner_id", p.OwnerId },
                { "item_id", p.ItemId },
                { "message", p.Message },
                { "attachments", p.Attachments },
                { "from_group", p.FromGroup },
                { "reply_to_comment", p.ReplyToComment },
                { "sticker_id", p.StickerId }
            };

            return(parameters);
        }
예제 #2
0
		public long CreateComment(MarketCreateCommentParams @params)
		{
			return _vk.Call("market.createComment", @params);
		}
예제 #3
0
        /// <summary>
        /// Привести к типу VkParameters.
        /// </summary>
        /// <param name="p">Параметры.</param>
        /// <returns></returns>
        public static VkParameters ToVkParameters(MarketCreateCommentParams p)
        {
            var parameters = new VkParameters {
                    { "owner_id", p.OwnerId },
                    { "item_id", p.ItemId },
                    { "message", p.Message },
                    { "attachments", p.Attachments },
                    { "from_group", p.FromGroup },
                    { "reply_to_comment", p.ReplyToComment },
                    { "sticker_id", p.StickerId }
                };

            return parameters;
        }