Show / Hide Table of Contents

Class ChosenInlineResult

Represents a result of an inline query that was chosen by the user and sent to their chat partner.

Inheritance
System.Object
ChosenInlineResult
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.Inline
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class ChosenInlineResult

Properties

| Improve this Doc View Source

From

The user that chose the result

Declaration
[JsonProperty(PropertyName = "from", Required = Required.Always)]
public User From { get; set; }
Property Value
Type Description
User
| Improve this Doc View Source

InlineMessageId

Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.

Declaration
[JsonProperty(PropertyName = "inline_message_id")]
public string InlineMessageId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Location

Optional. Sender location, only for bots that require user location

Declaration
[JsonProperty(PropertyName = "location")]
public Location Location { get; set; }
Property Value
Type Description
Location
| Improve this Doc View Source

Query

The query that was used to obtain the result

Declaration
[JsonProperty(PropertyName = "query", Required = Required.Always)]
public string Query { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ResultId

The unique identifier for the result that was chosen

Declaration
[JsonProperty(PropertyName = "result_id", Required = Required.Always)]
public string ResultId { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX