public static String GetPostTypeName(TypePostTime type)
        {
            switch (type)
            {
            case TypePostTime.StandartMessage:
                return("Стандартное");

            case TypePostTime.PinnedMessage:
                return("Закрепленное");

            case TypePostTime.PinnedMessageNotification:
                return("Закрпленное с уведомлением");
            }

            return("Неизвестно");
        }
        public static Single GetPostTypePrice(TypePostTime type)
        {
            switch (type)
            {
            case TypePostTime.StandartMessage:
                return(PriceData.postTypeDefault);

            case TypePostTime.PinnedMessage:
                return(PriceData.postTypePinnedPrice);

            case TypePostTime.PinnedMessageNotification:
                return(PriceData.postTypePinnedNotificationPrice);
            }

            return(-1);
        }