Skip to content

Commit 79c5e66

Browse files
committed
Update to Telegram Bot API 6.2
1 parent ee7c1ea commit 79c5e66

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TelegramBotPHP
2-
[![API](https://img.shields.io/badge/Telegram%20Bot%20API-June%2020%2C%202022-36ade1.svg)](https://core.telegram.org/bots/api)
2+
[![API](https://img.shields.io/badge/Telegram%20Bot%20API-August%2012,%202022-36ade1.svg)](https://core.telegram.org/bots/api)
33
![PHP](https://img.shields.io/badge/php-%3E%3D7.4-8892bf.svg)
44
![CURL](https://img.shields.io/badge/cURL-required-green.svg)
55

@@ -8,7 +8,7 @@
88
[![StyleCI](https://styleci.io/repos/635079074/shield?branch=master)](https://styleci.io/repos/635079074)
99

1010
A very simple PHP [Telegram Bot API](https://core.telegram.org/bots).
11-
Compliant with the June 20, 2022 Telegram Bot API update.
11+
Compliant with the August 12, 2022 Telegram Bot API update.
1212

1313
Requirements
1414
---------

Telegram.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,18 @@ public function getStickerSet(array $content): array
16061606
return $this->endpoint('getStickerSet', $content);
16071607
}
16081608

1609+
/**
1610+
* See <a href="https://core.telegram.org/bots/api#getstickerset">getCustomEmojiStickers</a> for the input values.
1611+
*
1612+
* @param $content array the request parameters as array
1613+
*
1614+
* @return array the JSON Telegram's reply.
1615+
*/
1616+
public function getCustomEmojiStickers(array $content): array
1617+
{
1618+
return $this->endpoint('getCustomEmojiStickers', $content);
1619+
}
1620+
16091621
/**
16101622
* See <a href="https://core.telegram.org/bots/api#uploadstickerfile">uploadStickerFile</a> for the input values.
16111623
*

0 commit comments

Comments
 (0)