mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	update: fix telegram message format
This commit is contained in:
		| @@ -66,7 +66,7 @@ class TelegramController extends Controller | ||||
|         $obj->message_type = !isset($data['message']['reply_to_message']['text']) ? 'message' : 'reply_message'; | ||||
|         $obj->text = $data['message']['text']; | ||||
|         $obj->is_private = $data['message']['chat']['type'] === 'private'; | ||||
|         if ($obj->message_type === 'reply') { | ||||
|         if ($obj->message_type === 'reply_message') { | ||||
|             $obj->reply_text = $data['message']['reply_to_message']['text']; | ||||
|         } | ||||
|         return $obj; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user