api.setStickerPositionInSet()
Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot
Parameters
SetStickerPositionInSetParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
sticker | Sticker | |
position | number | New position of the sticker in the set, zero-based |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'setStickerPositionInSet' | 'error'
airgram: Airgram
request: {
method: 'setStickerPositionInSet'
params: SetStickerPositionInSetParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}