Raw.messages.SearchStickers

Raw.messages.SearchStickers

Search for stickers using ai-powered keyword search

messages.searchStickers#29b1c66a flags:# emojis:flags.0?true q:string emoticon:string lang_code:Vector<string> offset:int limit:int hash:long = messages.FoundStickers;
export namespace Raw {
  export namespace messages {
    export class SearchStickers {
      constructor(params: {
        emojis?: boolean;
        q: string;
        emoticon: string;
        langCode: Array<string>;
        offset: number;
        limit: number;
        hash: bigint;
      }) {}
    }
  }
}

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

Layer: 198
Constructor ID: 0x29b1c66a

Property

  • emojis : boolean or undefined

    If set, returns custom emoji stickers

  • q : string

    The search term

  • emoticon : string

    Space-separated list of emojis to search for

  • langCode : Array of string

    List of possible ietf language tags of the user’s input language; may be empty if unknown

  • offset : number

    Offset for pagination

  • limit : number

    Maximum number of results to return, see pagination

  • hash : bigint

    Hash used for caching, for more info click here. the hash may be generated locally by using the ids of the returned or stored sticker documents.

Results

Raw.messages.TypeFoundStickers