Closed ghost closed 4 years ago
check this link: https://core.telegram.org/bots/api#formatting-options
here is a sample:
$content = ['chat_id' => $chat_id, 'text' => '[TESTNAME](tg://user?id='.$user_id.')', 'parse_mode' => 'Markdown'];
$telegram->sendMessage($content);
attention to parse_mode parameter, this is necessary
check this link: https://core.telegram.org/bots/api#formatting-options
here is a sample:
$content = ['chat_id' => $chat_id, 'text' => '[TESTNAME](tg://user?id='.$user_id.')', 'parse_mode' => 'Markdown']; $telegram->sendMessage($content);
attention to parse_mode parameter, this is necessary
Thanks, im already solve my problem
I wan mark user with username and without username. How i can do it ?
Screenshots: http://prntscr.com/o8r0g4 http://prntscr.com/o8r047