api.removeRecentSticker()
Removes a sticker from the list of recently used stickers
Parameters
RemoveRecentStickerParams:chevron_leftchevron_right
Parameters
Interface
| Name | Type | Description |
|---|---|---|
isAttached | boolean | Pass true to remove the sticker from the list of stickers recently attached to photo or video files; pass false to remove the sticker from the list of recently sent stickers |
sticker | Sticker file to delete |
Returns
ApiResponse interface:interface ApiResponse {
_: 'removeRecentSticker' | 'error'
airgram: Airgram
request: {
method: 'removeRecentSticker'
params: RemoveRecentStickerParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}