Comments (2)
Hello! For example like this:
$bot = new Telegram('your personal token');
$a = new InputMediaPhoto('https://some.url or path/to/local/file.ext');
$b = new InputMediaPhoto('https://some.url or path/to/local/file.ext');
$c = new InputMediaDocument('https://some.url or path/to/local/file.ext');
$d = new InputMediaAudio('https://some.url or path/to/local/file.ext');
$inputMedia = [$a, $b, $c, $d];
$group = new SendMediaGroup('chat_id, $inputMedia);
$bot->sendMediaGroup($group);
from telegram-bot-api.
🔥👍🔥👍👍 Thanks!!!
from telegram-bot-api.
Related Issues (13)
- how can i get the id of a person who enters in a channel? HOT 1
- Force_Reply Method?
- Klev\TelegramBotApi\Methods\UpdatingMessages\EditMessageCaption HOT 1
- Is there any exaples how to do reponse to api tg? HOT 3
- Attempt to read property "message" HOT 2
- Bot connect me
- sarvesh HOT 1
- editMessageReplyMarkup calls the `request` method with an incorrect value HOT 2
- Send message to all groups where bot is member HOT 2
- Stripe bot HOT 1
- request_contact within keyboard not possible HOT 1
- Is this how it should be with a small letter? HOT 1
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 telegram-bot-api.