Comments (4)
Thank you for your asking.
Could you show us your code?
from line-bot-sdk-php.
Thanks for your reply
$message = new MultiMessageBuilder();
// get imagemap params here as a $response
$richMessageUrl = $response['base_url'];
$imagemapMessageBuilder = new ImagemapMessageBuilder(
$richMessageUrl,
$response['alt_text'],
new BaseSizeBuilder(1040, 1040),
$response['actions']
);
$message->add( $imagemapMessageBuilder );
$message->add( new TextMessageBuilder( 'Testing Message' ) );
$resp = $bot->replyMessage(
$recipient,
$message
);
// Try to check the $resp value, it's 200, no error message
The Imagemap delivered to the user, but the text message never came.
But if I reverse it, something like :
$message = new MultiMessageBuilder();
$message->add( new TextMessageBuilder( 'Testing Message' ) );
// get imagemap params here as a $response
$richMessageUrl = $response['base_url'];
$imagemapMessageBuilder = new ImagemapMessageBuilder(
$richMessageUrl,
$response['alt_text'],
new BaseSizeBuilder(1040, 1040),
$response['actions']
);
$message->add( $imagemapMessageBuilder );
$resp = $bot->replyMessage(
$recipient,
$message
);
Everything is fine. Both message delivered to the user.
Did I missed something?
from line-bot-sdk-php.
@IronLady
Sorry for late reply.
I could not reproduce this problem. Could you show us more details (e.g. request and response)?
from line-bot-sdk-php.
@IronLady If there is no reply within one week, this issue will be closed.
from line-bot-sdk-php.
Related Issues (20)
- [Bug Report] Undefined index: imageSet HOT 3
- [Bug Report] An Undefined array key "keywords" error occurs when a StickerMessage has no keywords HOT 1
- [Feature Request] Send multiple messages at once. HOT 2
- Flex Message Update 3 released
- Webhook redelivery HOT 1
- Confirm template has location button is not working HOT 2
- Automatic opening and closing of the rich menu when tapping a rich menu HOT 1
- Added "inputoOption" property to action object HOT 2
- Validate rich menu object HOT 1
- [Bug Report] Placing required parameters after optional parameters is deprecated HOT 1
- [Bug Report] ImageSet event without index/total make Undefined index access HOT 3
- Dependency Dashboard
- fix(ci): set-output in Github Actions to be deprecated
- Validating message objects HOT 1
- [Feature Request] Enable to set `trackingId` via `VideoMessageBuilder` HOT 1
- Get content transcoding status and a preview image HOT 1
- @All in the mention property of the webhooks HOT 1
- [Feature Request] Automatically generate code with github actions when renovate updates
- Add doc
- CI should run openapi-generator, and run test after it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from line-bot-sdk-php.