Class InputMediaNormalizer.

package Default

 Methods

InputMediaNormalizer constructor.

__construct(\Symfony\Component\Serializer\Normalizer\NormalizerInterface $objectNormalizer, $files) 

Parameters

$objectNormalizer

$files

normalize()

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

Parameters

$topic

\TgBotApi\BotApiBase\Type\InputMedia\InputMediaType

$format

null

$context

Exceptions

\Symfony\Component\Serializer\Exception\ExceptionInterface

Returns

arraybooleanfloatintegermixedstring

supportsNormalization()

supportsNormalization(mixed $data, null $format = null

Parameters

$data

mixed

$format

null

 Properties

 

$files

$files : 

Default

 

$objectNormalizer

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

Default