Php Facebook Messenger机器人文本格式
我收到以下消息,我的fb messenger机器人会回复用户:Php Facebook Messenger机器人文本格式,php,json,facebook,bots,messenger,Php,Json,Facebook,Bots,Messenger,我收到以下消息,我的fb messenger机器人会回复用户: $message_to_reply = "To get travel info, reply in the format\nOrigin*Destination*TraveDate\nExample: City 1*City 2*$selected_date"; 我正在尝试使用\n添加换行符,但看起来好像不起作用。我也试过chr(10),'\n',''和,但它们都不适合我。有人面临同样的问题和解决方法吗?可能是重复的
$message_to_reply = "To get travel info, reply in the format\nOrigin*Destination*TraveDate\nExample: City 1*City 2*$selected_date";
我正在尝试使用\n
添加换行符,但看起来好像不起作用。我也试过chr(10)
,'\n'
,'
'
和
,但它们都不适合我。有人面临同样的问题和解决方法吗?可能是重复的