Параметры метода wall.addComment
Exemplo n.º 1
0
        /// <summary>
        /// Привести к типу VkParameters.
        /// </summary>
        /// <param name="p">Параметры.</param>
        /// <returns></returns>
        public static VkParameters ToVkParameters(BoardEditCommentParams p)
        {
            var parameters = new VkParameters
            {
                { "group_id", p.GroupId },
                { "topic_id", p.TopicId },
                { "comment_id", p.CommentId },
                { "message", p.Message },
                { "attachments", p.Attachments },
                { "captcha_sid", p.CaptchaSid },
                { "captcha_key", p.CaptchaKey }
            };

            return(parameters);
        }
Exemplo n.º 2
0
		/// <summary>
		/// Привести к типу VkParameters.
		/// </summary>
		/// <param name="p">Параметры.</param>
		/// <returns></returns>
		internal static VkParameters ToVkParameters(BoardEditCommentParams p)
		{
			var parameters = new VkParameters
			{
				{ "group_id", p.GroupId },
				{ "topic_id", p.TopicId },
                { "comment_id", p.CommentId },
                { "message", p.Message },
				{ "attachments", p.Attachments },
                { "captcha_sid", p.CaptchaSid},
                { "captcha_key", p.CaptchaKey}
			};

			return parameters;
		}