Airgram

Guides
/
/
Methods

api.changeStickerSet()

Installs/uninstalls or activates/archives a sticker set

Parameters ChangeStickerSetParams:

NameTypeDescription
setIdstring Identifier of the sticker set
isInstalledboolean The new value of is_installed
isArchivedboolean The new value of is_archived. A sticker set can't be installed and archived simultaneously
Returns ApiResponse interface:
interface ApiResponse {
  _: 'changeStickerSet' | 'error'
  airgram: Airgram
  request: {
    method: 'changeStickerSet'
    params: ChangeStickerSetParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}