Repository navigation
Get DTO #757
Unanswered
ilyazastrognov
asked this question in
Q&A
Get DTO
#757
Replies: 2 comments 1 reply
|
the DTOs belongs to a received message through a webhook or a manual polling for example here:
|
1 reply
|
Yes, I know that — I probably didn’t clarify my question properly. I’m interested in TelegramUpdate, specifically The problem I’m trying to solve is that Telegram often sends duplicate messages if the success response doesn’t arrive immediately. I’m receiving a huge number of incoming messages per second from the bot, and this happens quite often. My flow is Redis -> SceneManager -> Job -> Notificator. So I absolutely need a way to check something like: $this->message->updateId != $cache->getKey('update_id')->from('telegram_id')Also, in: protected function handleCallbackQuery(): void
{
$this->callbackQuery->data()->updateId
}there is no |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hello,
I have been struggling with your Telegraph package for the second day now.
In your documentation (https://docs.defstudio.it/telegraph/v1/features/dto
), there is information about data received from the request wrapped into DTOs. How can I access these DTOs?
I have tried different approaches and went through the entire codebase of your project, but I still couldn’t understand where the public methods that return these DTOs are located.
At the moment, I am forced to work directly with the request.
I am really looking forward to your response. Thank you!
All reactions