分享至
如題請問有先進知道linebot api - broadcast這個功能怎麼使用嗎?
看了這個文件我的code:
if event.message.text == 'broadcast': line_bot_api.broadcast(TextSendMessage(text='broadcast_test'))
部署在heroku收到下面的log'LineBotApi' object has no attribute 'broadcast'請問我需怎麼修正呢?
已邀請的邦友 {{ invite_list.length }}/5
我也遇到一樣的狀況我改用傳api的方式,看你要不要試試https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message
IT邦幫忙