-
-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to access messages data sent by bot ? #25
Comments
$message = $telegram->sendmessage($content);
$msg_id = $message["message_id"]; |
ok i tested your code but it return nothing when i var_dump($msg_id) it is NULL,
|
do works ? |
@Eleirbag89 yes it works like a charm ! thank you very much . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi i want to access message_ids of my bot messages and store it in a variable, i know i can access all the data by using
var_dump($telegram->sendmessage($content);
but how can i filter through them and only get message_id ?The text was updated successfully, but these errors were encountered: