Параметры метода wall.addComment
Example #1
0
        /// <summary>
        /// Привести к типу VkParameters.
        /// </summary>
        /// <param name="p">Параметры.</param>
        /// <returns></returns>
        public static VkParameters ToVkParameters(BoardAddTopicParams p)
        {
            var parameters = new VkParameters
            {
                { "group_id", p.GroupId },
                { "title", p.Title },
                { "text", p.Text },
                { "from_group", p.FromGroup },
                { "attachments", p.Attachments },
                { "captcha_sid", p.CaptchaSid },
                { "captcha_key", p.CaptchaKey }
            };

            return(parameters);
        }
Example #2
0
		/// <summary>
		/// Привести к типу VkParameters.
		/// </summary>
		/// <param name="p">Параметры.</param>
		/// <returns></returns>
		internal static VkParameters ToVkParameters(BoardAddTopicParams p)
		{
			var parameters = new VkParameters
			{
				{ "group_id", p.GroupId },
				{ "title", p.Title },
                { "text", p.Text },
                { "from_group", p.FromGroup },
				{ "attachments", p.Attachments },
                { "captcha_sid", p.CaptchaSid},
                { "captcha_key", p.CaptchaKey}
			};

			return parameters;
		}