Class MediaGroupNormalizer.

package Default

 Methods

MediaGroupNormalizer constructor.

__construct(\TgBotApi\BotApiBase\Normalizer\InputMediaNormalizer $inputMediaNormalizer, \Symfony\Component\Serializer\Normalizer\NormalizerInterface $objectNormalizer) 

Parameters

$inputMediaNormalizer

$objectNormalizer

normalize()

normalize(\TgBotApi\BotApiBase\Method\EditMessageMediaMethod $topic, null $format = null, array $context = array()) : array | boolean | float | integer | mixed | string

Parameters

$topic

\TgBotApi\BotApiBase\Method\EditMessageMediaMethod

$format

null

$context

Exceptions

\Symfony\Component\Serializer\Exception\ExceptionInterface

Returns

arraybooleanfloatintegermixedstring

supportsNormalization()

supportsNormalization(mixed $data, null $format = null

Parameters

$data

mixed

$format

null

 Properties

 

$inputMediaNormalizer

$inputMediaNormalizer : \TgBotApi\BotApiBase\Normalizer\InputMediaNormalizer

Default

 

$objectNormalizer

$objectNormalizer : \Symfony\Component\Serializer\Normalizer\NormalizerInterface

Default