mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update: fix telegram markdown
This commit is contained in:
		| @@ -17,7 +17,7 @@ class TelegramService { | ||||
|     public function sendMessage(int $chatId, string $text, string $parseMode = '') | ||||
|     { | ||||
|         if ($parseMode === 'markdown') { | ||||
|             $text = Markdown::parse($text); | ||||
|             $text = str_replace('_', '\_', $text); | ||||
|         } | ||||
|         $this->request('sendMessage', [ | ||||
|             'chat_id' => $chatId, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user