Class InputMediaNormalizer.
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
array
boolean
float
integer
mixed
string
supportsNormalization()
supportsNormalization(mixed $data, null $format = null
)
Parameters
$data
mixed
$format
null
Properties
$objectNormalizer
$objectNormalizer : \Symfony\Component\Serializer\Normalizer\NormalizerInterface