/** * InlineQueryResultVoice constructor * * @param array $data * * @throws \Longman\TelegramBot\Exception\TelegramException */ public function __construct(array $data = []) { $data['type'] = 'voice'; parent::__construct($data); }
/** * InlineQueryResultMpeg4Gif constructor * * @param array $data * * @throws \Longman\TelegramBot\Exception\TelegramException */ public function __construct(array $data = []) { $data['type'] = 'mpeg4_gif'; parent::__construct($data); }