public static VkParameters ToVkParameters(WallPostParams p)
{
var result = new VkParameters
{
{ "owner_id", p.OwnerId },
{ "friends_only", p.FriendsOnly },
{ "from_group", p.FromGroup },
{ "message", p.Message },
{ "attachments", p.Attachments },
{ "services", p.Services },
{ "signed", p.Signed },
{ "publish_date", p.PublishDate },
{ "lat", p.Lat },
{ "long", p.Long },
{ "place_id", p.PlaceId },
{ "post_id", p.PostId },
{ "captcha_sid", p.CaptchaSid },
{ "captcha_key", p.CaptchaKey }
};
return result;
}