Appearance
@line/bot-sdk • Docs
@line/bot-sdk / QuickReplyItem
Type Alias: QuickReplyItem
QuickReplyItem:
object
This is a quick reply option that is displayed as a button.
For more information, see quick reply buttons.
Type declaration
action
action:
Action
Action performed when this button is tapped.
Specify an action object.
The following is a list of the available actions:
- Postback action
- Message action
- Datetime picker action
- Camera action
- Camera roll action
- Location action
- URI action
imageUrl?
optional
imageUrl:string
URL of the icon that is displayed at the beginning of the button (Max: 1000 characters)
- URL scheme: https
- Image format: PNG
- Aspect ratio: 1:1
- Data size: Up to 1 MB
There is no limit on the image size. If the action
property has the following actions with empty imageUrl
:
the default icon is displayed.
type
type:
"action"