Class WebhookFetcher.
package | Default |
---|
__construct(\TgBotApi\BotApiBase\NormalizerInterface $normalizer)
\TgBotApi\BotApiBase\NormalizerInterface
fetch(\Psr\Http\Message\RequestInterface|string $request) : \TgBotApi\BotApiBase\Type\UpdateType
inherited_from | \TgBotApi\BotApiBase\WebhookFetcherInterface::fetch() |
---|
\Psr\Http\Message\RequestInterface
string
\TgBotApi\BotApiBase\Exception\BadRequestException |
---|
\TgBotApi\BotApiBase\Type\UpdateType
getContents($request) : string
\TgBotApi\BotApiBase\Exception\BadRequestException |
---|
string
$normalizer : \TgBotApi\BotApiBase\NormalizerInterface