Code Monkey home page Code Monkey logo

Comments (11)

BTCafe avatar BTCafe commented on September 18, 2024 5

@zelief To send multiple messages you can add new array inside of messages array content.
Using the tiny version, it will looks like this ;

image

You can do this up to 5 array, just be sure to add , at the end of each array except for the last one.

from line-bot-sdk-php.

moznion avatar moznion commented on September 18, 2024 1

Yes, you can use LINE\LINEBot\MessageBuilder\MultiMessageBuilder to build multiple messages. This builder constructs a message payload (it means array of send message objects) that contains multiple messages.

from line-bot-sdk-php.

tokuhirom avatar tokuhirom commented on September 18, 2024

If you want 6+ messages, you need to use push message.

from line-bot-sdk-php.

YuK1Game avatar YuK1Game commented on September 18, 2024

thanks!
but i find a 'LINE\LINEBot\MessageBuilderMultiMessageBuilder'

from line-bot-sdk-php.

moznion avatar moznion commented on September 18, 2024

Sorry, that is undocumented function so it is not friendly for developers.
I will write the sample code about sending multiple messages.

from line-bot-sdk-php.

zelief avatar zelief commented on September 18, 2024

so @moznion where is the sample code ? iam using line-bot-sdk-tiny

from line-bot-sdk-php.

zelief avatar zelief commented on September 18, 2024

thanks @Naufal-FR i will try it

from line-bot-sdk-php.

sandmanzz avatar sandmanzz commented on September 18, 2024

image

and i got

image

could you help me @Naufal-FR

from line-bot-sdk-php.

BTCafe avatar BTCafe commented on September 18, 2024

@sandmanzz Are you using the full blown API or only the Tiny Version of it ?

from line-bot-sdk-php.

sandmanzz avatar sandmanzz commented on September 18, 2024

use Tiny Version @Naufal-FR

from line-bot-sdk-php.

moznion avatar moznion commented on September 18, 2024

Please don't discuss on unrelated issue thread. This issue has been closed.

from line-bot-sdk-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.