Параметры метода wall.addComment
예제 #1
0
		/// <summary>
		/// Привести к типу VkParameters.
		/// </summary>
		/// <param name="p">Параметры.</param>
		/// <returns></returns>
		internal static VkParameters ToVkParameters(BoardTopicParams p)
		{
			var parameters = new VkParameters
			{
				{ "group_id", p.GroupId },
				{ "topic_id", p.TopicId },
                { "captcha_sid", p.CaptchaSid},
                { "captcha_key", p.CaptchaKey}
			};

			return parameters;
		}
예제 #2
0
        /// <summary>
        /// Привести к типу VkParameters.
        /// </summary>
        /// <param name="p">Параметры.</param>
        /// <returns></returns>
        public static VkParameters ToVkParameters(BoardTopicParams p)
        {
            var parameters = new VkParameters
            {
                { "group_id", p.GroupId },
                { "topic_id", p.TopicId },
                { "captcha_sid", p.CaptchaSid },
                { "captcha_key", p.CaptchaKey }
            };

            return(parameters);
        }