/// <summary> /// Привести к типу VkParameters. /// </summary> /// <param name="p">Параметры.</param> /// <returns></returns> public static VkParameters ToVkParameters(BoardCreateCommentParams p) { var parameters = new VkParameters { { "group_id", p.GroupId }, { "topic_id", p.TopicId }, { "from_group", p.FromGroup }, { "message", p.Message }, { "attachments", p.Attachments }, { "sticker_id", p.StickerId }, { "captcha_sid", p.CaptchaSid }, { "captcha_key", p.CaptchaKey }, { "guid", p.Guid } }; return(parameters); }
/// <summary> /// Привести к типу VkParameters. /// </summary> /// <param name="p">Параметры.</param> /// <returns></returns> internal static VkParameters ToVkParameters(BoardCreateCommentParams p) { var parameters = new VkParameters { { "group_id", p.GroupId }, { "topic_id", p.TopicId }, { "from_group", p.FromGroup }, { "message", p.Message }, { "attachments", p.Attachments }, { "sticker_id", p.StickerId }, { "captcha_sid", p.CaptchaSid}, { "captcha_key", p.CaptchaKey}, { "guid", p.Guid} }; return parameters; }