Class InlineQueryResultCachedSticker
Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.
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 InlineQueryResultCachedSticker : InlineQueryResult
Properties
| Improve this Doc View SourceId
Unique identifier for this result, 1-64 Bytes
Declaration
[JsonProperty(PropertyName = "id", Required = Required.Always)]
public override string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
| Improve this Doc View SourceInputMessageContent
Optional. Content of the message to be sent instead of the sticker
Declaration
[JsonProperty(PropertyName = "input_message_content", Required = Required.Always)]
public InputMessageContent InputMessageContent { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMessageContent |
ReplyMarkup
Optional. Inline keyboard attached to the message
Declaration
[JsonProperty(PropertyName = "reply_markup")]
public InlineKeyboardMarkup ReplyMarkup { get; set; }
Property Value
| Type | Description |
|---|---|
| InlineKeyboardMarkup |
StickerFileId
A valid file identifier for the sticker
Declaration
[JsonProperty(PropertyName = "sticker_file_id", Required = Required.Always)]
public string StickerFileId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Type of the result, must be sticker
Declaration
[JsonProperty(PropertyName = "type", Required = Required.Always)]
public override string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |