using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.ComponentModel;
using Telegram.Bot.Types.InputMessageContents;

namespace Telegram.Bot.Types.InlineQueryResults
{
    /// <summary>
    /// Represents a <see cref="Game"/>.
    /// </summary>
    /// <seealso cref="InlineQueryResultNew" />
    [JsonObject(MemberSerialization = MemberSerialization.OptIn,
                NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
    public class InlineQueryResultGame : InlineQueryResult
    {
        /// <summary>
        /// Initializes a new inline query result
        /// </summary>
        public InlineQueryResultGame()
        {
            Type = InlineQueryResultType.Game;
        }

        /// <summary>
        /// Short name of the game.
        /// </summary>
        [JsonProperty(Required = Required.Always)]
        public string GameShortName { get; set; }

#pragma warning disable 1591
        [JsonIgnore]
        [EditorBrowsable(EditorBrowsableState.Never)]
        public new string Title { get; set; }

        [JsonIgnore]
        [EditorBrowsable(EditorBrowsableState.Never)]
        public new InputMessageContent InputMessageContent { get; set; }
#pragma warning restore 1591
    }
}

using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;

namespace Telegram.Bot.Types.InlineQueryResults
{
    /// <summary>
    /// Represents a <see cref="Game"/>.
    /// </summary>
    /// <seealso cref="InlineQueryResult" />
    [JsonObject(MemberSerialization = MemberSerialization.OptIn,
                NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
    public class InlineQueryResultGame : InlineQueryResult
    {
        /// <summary>
        /// Initializes a new inline query result
        /// </summary>
        public InlineQueryResultGame()
        {
            Type = InlineQueryResultType.Game;
        }

        /// <summary>
        /// Short name of the game.
        /// </summary>
        [JsonProperty(Required = Required.Always)]
        public string GameShortName { get; set; }
    }
}

Fix game inline query result
Fix game inline query result
