Closed teflontoni closed 11 months ago
So I want to do stuff with a users ID if I answer with a command to a message from a user in my group...
Alas I have no clue
$id = $data['message']['reply_to_message']['id'];
Doesn't do the trick, as ['id'] isn't set.
I tried to figure this out by myself, but with no luck. Any help/pointers are appreciated.
For posterity:
$id = $data['message']['reply_to_message']['from']['id'];
did the trick.
So I want to do stuff with a users ID if I answer with a command to a message from a user in my group...
Alas I have no clue
$id = $data['message']['reply_to_message']['id'];
Doesn't do the trick, as ['id'] isn't set.
I tried to figure this out by myself, but with no luck. Any help/pointers are appreciated.