Raw.StickerSet

Raw.StickerSet

Represents a stickerset (stickerpack)

stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true emojis:flags.7?true text_color:flags.9?true channel_emoji_status:flags.10?true creator:flags.11?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet;
export namespace Raw {
  export class StickerSet {
    constructor(params: {
      archived?: boolean;
      official?: boolean;
      masks?: boolean;
      emojis?: boolean;
      textColor?: boolean;
      channelEmojiStatus?: boolean;
      creator?: boolean;
      installedDate?: number;
      id: bigint;
      accessHash: bigint;
      title: string;
      shortName: string;
      thumbs?: Array<Raw.TypePhotoSize>;
      thumbDcId?: number;
      thumbVersion?: number;
      thumbDocumentId?: bigint;
      count: number;
      hash: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x2dd14edc

Property

  • archived : boolean or undefined

    Whether this stickerset was archived (due to too many saved stickers in the current account)

  • official : boolean or undefined

    Is this stickerset official

  • masks : boolean or undefined

    Is this a mask stickerset

  • emojis : boolean or undefined

    This is a custom emoji stickerset

  • textColor : boolean or undefined

    Whether the color of this tgs custom emoji stickerset should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context.

  • channelEmojiStatus : boolean or undefined

    If set, this custom emoji stickerset can be used in channel/supergroup emoji statuses.

  • creator : boolean or undefined

    Whether we created this stickerset

  • installedDate : number or undefined

    When was this stickerset installed

  • id : bigint

    Id of the stickerset

  • accessHash : bigint

    Access hash of stickerset

  • title : string

    Title of stickerset

  • shortName : string

    Short name of stickerset, used when sharing stickerset using stickerset deep links.

  • thumbs : Array of Raw.TypePhotoSize or undefined

    Stickerset thumbnail

  • thumbDcId : number or undefined

    Dc id of thumbnail

  • thumbVersion : number or undefined

    Thumbnail version

  • thumbDocumentId : bigint or undefined

    Document id of custom emoji thumbnail, fetch the document using messages.getcustomemojidocuments

  • count : number

    Number of stickers in pack

  • hash : number

    Hash