Visual studio code extension snippets is based on the documentation of LINE Bot SDK Python
Usage
To use the snippets, open a Python file, and start typing with linebot..
Development Environment
All snippets is based on the documentation of LINE Bot SDK Python. Before using the extension, make sure to install line-bot-sdk in the development environment, by running:
pip install line-bot-sdk
Documentation
Initial
Trigger
Description
linebot.LineBotAPI
Create an instance of LINE Bot API
LINE Bot API
Trigger
Description
linebot.reply_message
LINE Bot reply message API
linebot.push_message
LINE Bot push message API
linebot.multicast
LINE Bot multicast API
linebot.get_profile
LINE Bot get profile by user ID API
linebot.get_group_member_profile
LINE Bot get group member profile API
linebot.get_room_member_profile
LINE Bot get room member profile API
linebot.get_group_member_ids
LINE Bot get group member ids API
linebot.get_room_member_ids
LINE Bot get room member ids API
linebot.get_message_content
LINE Bot get message content API
inebot.leave_group
LINE Bot leave group API
linebot.leave_room
LINE Bot leave room API
linebot.get_rich_menu
LINE Bot get rich menu API
Message objects
Trigger
Description
linebot.RichMenu
Rich Menu Object
linebot.TextSendMessage
Message object for sending text
linebot.ImageSendMessage
Message object for sending image
linebot.VideoSendMessage
Message object for sending video
linebot.AudioSendMessage
Message object for sending audio
linebot.LocationSendMessage
Message object for sending location information card