Closed irakhimov2001 closed 4 years ago
i need help with deleteMessage() , how use ? thanks !
$content = array('chat_id' => $chat_id, 'text' => "Message to Delete");
$response = $telegram->sendMessage($content);
$msg_id=$response['result']['message_id'];
$content = array('chat_id' => $chat_id, 'message_id' => $msg_id);
$response = $telegram->deleteMessage($content);
How to using deleteMessage() ?