问题描述
我使用 GupShup V1 API 发送 WhatsApp 消息。它是一个模板消息。所以我们已经提交了我们的模板并且 WhatsApp 已经批准了它。
模板
Your payment for "Your payment for product has been received ?\nPaid: amount\ndate: transactiondate\nID: transactionID\n\nThank you for trusting NAME.\n"
has been received ?
Paid: {{2}}
date: circle showing where I expected some of the points to plot
ID: {{4}}
Thank you for trusting {{5}}.
下面是我在 API 中发送的文本
{:error=>"Message does not match WhatsApp HSM template."}
也尝试在末尾不加 '\n'。
但我收到以下错误
lon = np.random.rand(1,10)
lat = np.randon.rand(1,10)
top_right_lat = 10
top_right_lon = 1
bot_left_lat = 1
bot_left_lon = 10
m = Basemap(resolution='h',\
llcrnrlon=bot_left_lon,llcrnrlat=bot_left_lat,\
urcrnrlon=top_right_lon,urcrnrlat=top_right_lat,epsg = 5939)
img = plt.imread("image.jpg")
x,y = m(lon,lat)
for i in range(len(lat)):
plt.scatter(x,y,marker = 'o',c= df.Over_Pressure_MPa,cmap = "inferno_r",s = 100,edgecolor = 'black')
m.imshow(img,origin='upper')
任何线索都会非常有帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)