Show / Hide Table of Contents

Class Sticker

This object represents a sticker.

Inheritance
System.Object
Sticker
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
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class Sticker

Properties

| Improve this Doc View Source

Emoji

Optional. Emoji associated with the sticker

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

FileId

Unique identifier for this file

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

FileSize

Optional. File size

Declaration
[JsonProperty(PropertyName = "file_size")]
public int FileSize { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Height

Sticker height

Declaration
[JsonProperty(PropertyName = "height", Required = Required.Always)]
public int Height { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaskPosition

Optional. For mask stickers, the position where the mask should be placed

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

SetName

Optional. Name of the sticker set to which the sticker belongs

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

Thumb

Optional. Sticker thumbnail in the .webp or .jpg format

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

Width

Sticker width

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