Closed dalnel closed 6 months ago
I can't use this action either
Hi @YrChen1001, thank you for using line-bot-sdk-python.
Please import definition from linebot.v3.messaging.models
instead of linebot.models
. linebot.models
are too old. I'll deprecate them.
https://github.com/line/line-bot-sdk-python/blob/12360f822d966c7790a7f109b04db579107c443e/examples/flask-kitchensink/app.py#L303-L322 shows how to use ButtonsTemplate
in linebot.v3.messaging.models
, that might help you!
I want add ClipboardAction in Buttons Template ,but it is not work,my code:
I used breakpoints in VS Code to inspect what was happening, and I found out that this action was not even added. So, I checked the linebot.models, and I realized that ClipboardAction is not included there. Did I use the wrong method or did I forget to add it?