internal static string ToTypeString(this InlineQueryResultType type) => StringMap[type];
/// <summary> /// Initializes a new inline query result /// </summary> /// <param name="type">Type of the result</param> protected InlineQueryResultBase(InlineQueryResultType type) { Type = type; }
internal protected InlineQueryResult(InlineQueryResultType type) { Type = type; }
/// <summary> /// Initializes a new inline query result /// </summary> /// <param name="type">Type of the result</param> /// <param name="id">Unique identifier of this result</param> protected InlineQueryResultBase(InlineQueryResultType type, string id) : this(type) { Id = id; }
internal static string ToTypeString(this InlineQueryResultType type) { return(StringMap[type]); }