9

Is it possible to send multiple images in 1 message using telegram bot api, php? I know about method sendPhoto().

curveball
  • 4,320
  • 15
  • 39
  • 49
Bipa
  • 271
  • 1
  • 3
  • 10

1 Answers1

10

there is an API called sendMediaGroup and one of the php libraries which has implemented it is this.

tashakori
  • 2,331
  • 1
  • 22
  • 29
  • 1
    Should be noted, that `reply_markup` and, in my case, specifically `parse_mode` are unavailable with this approach – Mike K Feb 01 '23 at 09:35
  • Hi @MikeK you can use parse_mode easily, you just need to use it in the correct place, note that it must be next to the caption, which consequently must generate the dictionary here: https://core.telegram.org/bots/api#inputmediaphoto (https://stackoverflow.com/a/58895281/11462274) – Digital Farmer Apr 17 '23 at 13:49