api.setSupergroupStickerSet()
Changes the sticker set of a supergroup; requires can_change_info administrator right
Parameters
SetSupergroupStickerSetParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
supergroupId | number | Identifier of the supergroup |
stickerSetId | string | 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>
}