Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature new corusel template #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

YaroslavKozhemiaka
Copy link

Now you can add rich media message / carousel content message in another way
Example

$carousel = Carousel::create(6,3)->addElement(
            CarouselElement::create('<font color="#FFFFFF">Text1</font>',6,1),
            CarouselElement::create('<font color="#FFFFFF">Text2</font>',6,1),
            CarouselElement::create('<font color="#FFFFFF">Text3</font>',6,1)
        );

$this->say("Default text",$carousel->toArray());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant