MadelineProtoDocs/docs/API_docs/constructors/availableEffect.md
2024-06-04 10:12:34 +02:00

1.0 KiB

title description nav_exclude image
availableEffect availableEffect attributes, type and example true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: availableEffect

Back to constructors index

Attributes:

Name Type Required
premium_required Bool Optional
id long Yes
emoticon string Yes
static_icon_id long Optional
effect_sticker_id long Yes
effect_animation_id long Optional

Type: AvailableEffect

Example:

$availableEffect = ['_' => 'availableEffect', 'premium_required' => Bool, 'id' => long, 'emoticon' => 'string', 'static_icon_id' => long, 'effect_sticker_id' => long, 'effect_animation_id' => long];