Airgram

Guides
/
/
Methods

api.setSupergroupStickerSet()

Changes the sticker set of a supergroup; requires can_change_info administrator right

Parameters SetSupergroupStickerSetParams:

NameTypeDescription
supergroupIdnumber Identifier of the supergroup
stickerSetIdstring New value of the supergroup sticker set identifier. Use 0 to remove the supergroup sticker set
Returns ApiResponse interface:
interface ApiResponse {
  _: 'setSupergroupStickerSet' | 'error'
  airgram: Airgram
  request: {
    method: 'setSupergroupStickerSet'
    params: SetSupergroupStickerSetParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}