mmm, I could succeed in sending that flex message JSON.
This is my script:
curl -XPOST https://api.line.me/v2/bot/message/push \
-H 'Content-Typ...
- 1
Post : 08/03/2020
Hi, arizal.
Thank you for your report. Could you please share the complete code which reproduces this result?
- 0
Post : 05/03/2020
Could you please show the complete code which reproduces the problem? I'm a line-bot-sdk-python maintainer.
- 0
Post : 03/03/2020
This issue is the same as https://github.com/line/line-bot-sdk-python/issues/211.
- 0
Post : 05/10/2019
flex_message_json_string の中身のJSON文字列の中身が間違っているかと思います.
# type = flex
{
"type": "flex",
"altText": "Flex Message",
"contents": {
"typ...
- 0
Post : 01/08/2019
実は,line-bot-sdk-python は dict(辞書)
をメッセージの中身として送信できます.
なので下のように,送信したいJSON文字列を json.loads
で dict
に変換して,FlexSendMessage.contents
に渡せば,Flex Message...
- 1
Post : 31/07/2019