Airgram

Guides
/
/
Methods

api.searchInstalledStickerSets()

Searches for installed sticker sets by looking for specified query in their title and name

Parameters SearchInstalledStickerSetsParams:

NameTypeDescription
isMasksboolean Pass true to return mask sticker sets; pass false to return ordinary sticker sets
querystring Query to search for
limitnumber The maximum number of sticker sets to return
Returns ApiResponse interface:
interface ApiResponse {
  _: 'searchInstalledStickerSets' | 'error'
  airgram: Airgram
  request: {
    method: 'searchInstalledStickerSets'
    params: SearchInstalledStickerSetsParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}