Raw.stickers.CreateStickerSet

Raw.stickers.CreateStickerSet

Create a stickerset, bots only.

stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
export namespace Raw {
  export namespace stickers {
    export class CreateStickerSet {
      constructor(params: {
        masks?: boolean;
        emojis?: boolean;
        textColor?: boolean;
        userId: Raw.TypeInputUser;
        title: string;
        shortName: string;
        thumb?: Raw.TypeInputDocument;
        stickers: Array<Raw.TypeInputStickerSetItem>;
        software?: string;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x9021ab67

Property

  • masks : boolean or undefined

    Whether this is a mask stickerset

  • emojis : boolean or undefined

    Whether this is a custom emoji stickerset.

  • textColor : boolean or undefined

    Whether the color of tgs custom emojis contained in this set 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. for custom emoji stickersets only.

  • userId : Raw.TypeInputUser

    Stickerset owner

  • title : string

    Stickerset name, 1-64 chars

  • shortName : string

    Short name of sticker set, to be used in sticker deep links. can contain only english letters, digits and underscores. must begin with a letter, can’t contain consecutive underscores and, if called by a bot, must end in “By<botUsername>“. <botUsername> is case insensitive. 1-64 characters.

  • thumb : Raw.TypeInputDocument or undefined

    Thumbnail

  • stickers : Array of Raw.TypeInputStickerSetItem

    Stickers

  • software : string or undefined

    Used when importing stickers using the sticker import sdks, specifies the name of the software that created the stickers

Results

Raw.messages.TypeStickerSet

Bots can use