Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message = ImagemapSendMessage(
- base_url='https://example.com/base',
- alt_text='this is an imagemap',
- base_size=BaseSize(height=1040, width=1040),
- actions=[
- URIImagemapAction(
- link_uri='https://example.com/',
- area=ImagemapArea(
- x=0, y=0, width=520, height=1040
- )
- ),
- MessageImagemapAction(
- text='hello',
- area=ImagemapArea(
- x=520, y=0, width=520, height=1040
- )
- )
- ]
- )
- line_bot_api.reply_message(event.reply_token, message)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement