grammy 1.11.2 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -95
- package/out/context.d.ts +52 -0
- package/out/context.js +74 -0
- package/out/convenience/frameworks.node.d.ts +7 -0
- package/out/convenience/frameworks.node.js +11 -2
- package/out/convenience/webhook.d.ts +7 -0
- package/out/core/api.d.ts +71 -0
- package/out/core/api.js +90 -0
- package/out/filter.d.ts +16 -0
- package/out/filter.js +4 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -140,101 +140,105 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
140
140
|
<!-- prettier-ignore-start -->
|
|
141
141
|
<!-- markdownlint-disable -->
|
|
142
142
|
<table>
|
|
143
|
-
<
|
|
144
|
-
<
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
<
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
<
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
<
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
<
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
<
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
<
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
<
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
<
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
<
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
143
|
+
<tbody>
|
|
144
|
+
<tr>
|
|
145
|
+
<td align="center"><a href="https://github.com/KnorpelSenf"><img src="https://avatars.githubusercontent.com/u/12952387?v=4?s=100" width="100px;" alt="KnorpelSenf"/><br /><sub><b>KnorpelSenf</b></sub></a><br /><a href="#ideas-KnorpelSenf" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/grammyjs/grammY/commits?author=KnorpelSenf" title="Code">💻</a> <a href="https://github.com/grammyjs/grammY/commits?author=KnorpelSenf" title="Documentation">📖</a> <a href="#design-KnorpelSenf" title="Design">🎨</a> <a href="#example-KnorpelSenf" title="Examples">💡</a> <a href="https://github.com/grammyjs/grammY/commits?author=KnorpelSenf" title="Tests">⚠️</a> <a href="#plugin-KnorpelSenf" title="Plugin/utility libraries">🔌</a> <a href="#platform-KnorpelSenf" title="Packaging/porting to new platform">📦</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AKnorpelSenf" title="Reviewed Pull Requests">👀</a> <a href="#mentoring-KnorpelSenf" title="Mentoring">🧑🏫</a> <a href="#projectManagement-KnorpelSenf" title="Project Management">📆</a> <a href="#infra-KnorpelSenf" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
146
|
+
<td align="center"><a href="https://github.com/HeeroML"><img src="https://avatars.githubusercontent.com/u/42873000?v=4?s=100" width="100px;" alt="Heero"/><br /><sub><b>Heero</b></sub></a><br /><a href="#plugin-HeeroML" title="Plugin/utility libraries">🔌</a> <a href="#userTesting-HeeroML" title="User Testing">📓</a> <a href="#example-HeeroML" title="Examples">💡</a> <a href="https://github.com/grammyjs/grammY/commits?author=HeeroML" title="Documentation">📖</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AHeeroML" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/grammyjs/grammY/commits?author=HeeroML" title="Code">💻</a> <a href="#ideas-HeeroML" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
147
|
+
<td align="center"><a href="https://github.com/wojpawlik"><img src="https://avatars.githubusercontent.com/u/23058303?v=4?s=100" width="100px;" alt="Wojciech Pawlik"/><br /><sub><b>Wojciech Pawlik</b></sub></a><br /><a href="#ideas-wojpawlik" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Awojpawlik" title="Reviewed Pull Requests">👀</a> <a href="#infra-wojpawlik" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#platform-wojpawlik" title="Packaging/porting to new platform">📦</a> <a href="#tool-wojpawlik" title="Tools">🔧</a></td>
|
|
148
|
+
<td align="center"><a href="https://github.com/MegaITA"><img src="https://avatars.githubusercontent.com/u/32493080?v=4?s=100" width="100px;" alt="Alessandro Bertozzi"/><br /><sub><b>Alessandro Bertozzi</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=MegaITA" title="Documentation">📖</a></td>
|
|
149
|
+
<td align="center"><a href="https://trgwii.no/"><img src="https://avatars.githubusercontent.com/u/11262022?v=4?s=100" width="100px;" alt="trgwii"/><br /><sub><b>trgwii</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=trgwii" title="Code">💻</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Atrgwii" title="Reviewed Pull Requests">👀</a></td>
|
|
150
|
+
<td align="center"><a href="https://github.com/KnightNiwrem"><img src="https://avatars.githubusercontent.com/u/9781814?v=4?s=100" width="100px;" alt="KnightNiwrem"/><br /><sub><b>KnightNiwrem</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=KnightNiwrem" title="Code">💻</a> <a href="https://github.com/grammyjs/grammY/issues?q=author%3AKnightNiwrem" title="Bug reports">🐛</a> <a href="#plugin-KnightNiwrem" title="Plugin/utility libraries">🔌</a> <a href="https://github.com/grammyjs/grammY/commits?author=KnightNiwrem" title="Documentation">📖</a> <a href="#example-KnightNiwrem" title="Examples">💡</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AKnightNiwrem" title="Reviewed Pull Requests">👀</a> <a href="#mentoring-KnightNiwrem" title="Mentoring">🧑🏫</a></td>
|
|
151
|
+
<td align="center"><a href="https://mkr.pw"><img src="https://avatars.githubusercontent.com/u/19621208?v=4?s=100" width="100px;" alt="Muthu Kumar"/><br /><sub><b>Muthu Kumar</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AMKRhere" title="Reviewed Pull Requests">👀</a></td>
|
|
152
|
+
</tr>
|
|
153
|
+
<tr>
|
|
154
|
+
<td align="center"><a href="https://edjopato.de/"><img src="https://avatars.githubusercontent.com/u/7953011?v=4?s=100" width="100px;" alt="EdJoPaTo"/><br /><sub><b>EdJoPaTo</b></sub></a><br /><a href="#plugin-EdJoPaTo" title="Plugin/utility libraries">🔌</a> <a href="https://github.com/grammyjs/grammY/commits?author=EdJoPaTo" title="Documentation">📖</a> <a href="#ideas-EdJoPaTo" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AEdJoPaTo" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/grammyjs/grammY/issues?q=author%3AEdJoPaTo" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=EdJoPaTo" title="Code">💻</a></td>
|
|
155
|
+
<td align="center"><a href="https://github.com/Amir-Zouerami"><img src="https://avatars.githubusercontent.com/u/53701884?v=4?s=100" width="100px;" alt="Amir Zouerami"/><br /><sub><b>Amir Zouerami</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=Amir-Zouerami" title="Documentation">📖</a> <a href="#plugin-Amir-Zouerami" title="Plugin/utility libraries">🔌</a> <a href="#example-Amir-Zouerami" title="Examples">💡</a></td>
|
|
156
|
+
<td align="center"><a href="https://github.com/roj1512"><img src="https://avatars.githubusercontent.com/u/49933115?v=4?s=100" width="100px;" alt="Roj"/><br /><sub><b>Roj</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=roj1512" title="Documentation">📖</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Aroj1512" title="Reviewed Pull Requests">👀</a> <a href="#infra-roj1512" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#translation-roj1512" title="Translation">🌍</a> <a href="https://github.com/grammyjs/grammY/commits?author=roj1512" title="Code">💻</a> <a href="#ideas-roj1512" title="Ideas, Planning, & Feedback">🤔</a> <a href="#mentoring-roj1512" title="Mentoring">🧑🏫</a> <a href="#example-roj1512" title="Examples">💡</a></td>
|
|
157
|
+
<td align="center"><a href="https://github.com/jokasimr"><img src="https://avatars.githubusercontent.com/u/20954731?v=4?s=100" width="100px;" alt="jokasimr"/><br /><sub><b>jokasimr</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Ajokasimr" title="Bug reports">🐛</a></td>
|
|
158
|
+
<td align="center"><a href="https://github.com/CikiMomogi"><img src="https://avatars.githubusercontent.com/u/74030149?v=4?s=100" width="100px;" alt="Ciki Momogi"/><br /><sub><b>Ciki Momogi</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=CikiMomogi" title="Documentation">📖</a></td>
|
|
159
|
+
<td align="center"><a href="https://github.com/AndreoliBR"><img src="https://avatars.githubusercontent.com/u/15970011?v=4?s=100" width="100px;" alt="AndreoliBR"/><br /><sub><b>AndreoliBR</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AAndreoliBR" title="Reviewed Pull Requests">👀</a></td>
|
|
160
|
+
<td align="center"><a href="https://github.com/Loskir"><img src="https://avatars.githubusercontent.com/u/21295738?v=4?s=100" width="100px;" alt="Kirill Loskutov"/><br /><sub><b>Kirill Loskutov</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=Loskir" title="Documentation">📖</a> <a href="https://github.com/grammyjs/grammY/issues?q=author%3ALoskir" title="Bug reports">🐛</a> <a href="#ideas-Loskir" title="Ideas, Planning, & Feedback">🤔</a> <a href="#design-Loskir" title="Design">🎨</a> <a href="#question-Loskir" title="Answering Questions">💬</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3ALoskir" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/grammyjs/grammY/commits?author=Loskir" title="Code">💻</a> <a href="#plugin-Loskir" title="Plugin/utility libraries">🔌</a></td>
|
|
161
|
+
</tr>
|
|
162
|
+
<tr>
|
|
163
|
+
<td align="center"><a href="https://lungers.com/"><img src="https://avatars.githubusercontent.com/u/32808683?v=4?s=100" width="100px;" alt="Andrew Lane"/><br /><sub><b>Andrew Lane</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3AAndrewLaneX" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AAndrewLaneX" title="Reviewed Pull Requests">👀</a></td>
|
|
164
|
+
<td align="center"><a href="https://github.com/code-withAshish"><img src="https://avatars.githubusercontent.com/u/73625149?v=4?s=100" width="100px;" alt="code-withAshish"/><br /><sub><b>code-withAshish</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=code-withAshish" title="Documentation">📖</a> <a href="#question-code-withAshish" title="Answering Questions">💬</a></td>
|
|
165
|
+
<td align="center"><a href="https://beta.ku-di.com/waptik"><img src="https://avatars.githubusercontent.com/u/1687551?v=4?s=100" width="100px;" alt="Stephane Mensah"/><br /><sub><b>Stephane Mensah</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Awaptik" title="Bug reports">🐛</a> <a href="#plugin-waptik" title="Plugin/utility libraries">🔌</a></td>
|
|
166
|
+
<td align="center"><a href="https://github.com/Asaku01"><img src="https://avatars.githubusercontent.com/u/29716396?v=4?s=100" width="100px;" alt="Asaku01"/><br /><sub><b>Asaku01</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=Asaku01" title="Documentation">📖</a></td>
|
|
167
|
+
<td align="center"><a href="https://github.com/ppsimn"><img src="https://avatars.githubusercontent.com/u/88509883?v=4?s=100" width="100px;" alt="ppsimn"/><br /><sub><b>ppsimn</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Appsimn" title="Bug reports">🐛</a></td>
|
|
168
|
+
<td align="center"><a href="https://satont.js.org/"><img src="https://avatars.githubusercontent.com/u/42675886?v=4?s=100" width="100px;" alt="Satont"/><br /><sub><b>Satont</b></sub></a><br /><a href="#plugin-Satont" title="Plugin/utility libraries">🔌</a> <a href="https://github.com/grammyjs/grammY/commits?author=Satont" title="Documentation">📖</a></td>
|
|
169
|
+
<td align="center"><a href="https://github.com/deptyped"><img src="https://avatars.githubusercontent.com/u/26162440?v=4?s=100" width="100px;" alt="deptyped"/><br /><sub><b>deptyped</b></sub></a><br /><a href="#example-deptyped" title="Examples">💡</a> <a href="https://github.com/grammyjs/grammY/commits?author=deptyped" title="Documentation">📖</a> <a href="#tutorial-deptyped" title="Tutorials">✅</a></td>
|
|
170
|
+
</tr>
|
|
171
|
+
<tr>
|
|
172
|
+
<td align="center"><a href="https://github.com/dzek69"><img src="https://avatars.githubusercontent.com/u/4936805?v=4?s=100" width="100px;" alt="Jacek Nowacki"/><br /><sub><b>Jacek Nowacki</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=dzek69" title="Documentation">📖</a> <a href="https://github.com/grammyjs/grammY/commits?author=dzek69" title="Code">💻</a> <a href="https://github.com/grammyjs/grammY/issues?q=author%3Adzek69" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Adzek69" title="Reviewed Pull Requests">👀</a> <a href="#ideas-dzek69" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
173
|
+
<td align="center"><a href="https://blog.outv.im"><img src="https://avatars.githubusercontent.com/u/19144373?v=4?s=100" width="100px;" alt="Outvi V"/><br /><sub><b>Outvi V</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=outloudvi" title="Code">💻</a></td>
|
|
174
|
+
<td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt="Ikko Ashimine"/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=eltociear" title="Documentation">📖</a></td>
|
|
175
|
+
<td align="center"><a href="https://github.com/amberlionk"><img src="https://avatars.githubusercontent.com/u/29119723?v=4?s=100" width="100px;" alt="Yevhen Denesiuk"/><br /><sub><b>Yevhen Denesiuk</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Aamberlionk" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/grammyjs/grammY/issues?q=author%3Aamberlionk" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=amberlionk" title="Code">💻</a></td>
|
|
176
|
+
<td align="center"><a href="https://github.com/prazedotid"><img src="https://avatars.githubusercontent.com/u/19567624?v=4?s=100" width="100px;" alt="prastian"/><br /><sub><b>prastian</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Aprazedotid" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=prazedotid" title="Code">💻</a></td>
|
|
177
|
+
<td align="center"><a href="https://sayem.eu.org/"><img src="https://avatars.githubusercontent.com/u/14138401?v=4?s=100" width="100px;" alt="Sayem Chowdhury"/><br /><sub><b>Sayem Chowdhury</b></sub></a><br /><a href="#ideas-sayem314" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
178
|
+
<td align="center"><a href="https://github.com/kospra"><img src="https://avatars.githubusercontent.com/u/42740406?v=4?s=100" width="100px;" alt="kospra"/><br /><sub><b>kospra</b></sub></a><br /><a href="#ideas-kospra" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/grammyjs/grammY/commits?author=kospra" title="Code">💻</a></td>
|
|
179
|
+
</tr>
|
|
180
|
+
<tr>
|
|
181
|
+
<td align="center"><a href="https://github.com/chimit"><img src="https://avatars.githubusercontent.com/u/839349?v=4?s=100" width="100px;" alt="Chimit"/><br /><sub><b>Chimit</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=chimit" title="Documentation">📖</a></td>
|
|
182
|
+
<td align="center"><a href="https://github.com/CalsiBotDev"><img src="https://avatars.githubusercontent.com/u/55633371?v=4?s=100" width="100px;" alt="Calsi"/><br /><sub><b>Calsi</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=CalsiBotDev" title="Documentation">📖</a></td>
|
|
183
|
+
<td align="center"><a href="https://zohren.xyz"><img src="https://avatars.githubusercontent.com/u/15788906?v=4?s=100" width="100px;" alt="Jonas Zohren"/><br /><sub><b>Jonas Zohren</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Ajfowl" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=jfowl" title="Code">💻</a></td>
|
|
184
|
+
<td align="center"><a href="https://zhemu.buzz/"><img src="https://avatars.githubusercontent.com/u/56839018?v=4?s=100" width="100px;" alt="linbuxiao"/><br /><sub><b>linbuxiao</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=linbuxiao" title="Documentation">📖</a> <a href="#translation-linbuxiao" title="Translation">🌍</a></td>
|
|
185
|
+
<td align="center"><a href="https://github.com/JiquanWang99"><img src="https://avatars.githubusercontent.com/u/63894579?v=4?s=100" width="100px;" alt="JiquanWang99"/><br /><sub><b>JiquanWang99</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=JiquanWang99" title="Documentation">📖</a> <a href="#translation-JiquanWang99" title="Translation">🌍</a></td>
|
|
186
|
+
<td align="center"><a href="http://bor691.ir/"><img src="https://avatars.githubusercontent.com/u/4184939?v=4?s=100" width="100px;" alt="Borhan Hafez"/><br /><sub><b>Borhan Hafez</b></sub></a><br /><a href="#plugin-zumoshi" title="Plugin/utility libraries">🔌</a></td>
|
|
187
|
+
<td align="center"><a href="https://blog.limx.dev/"><img src="https://avatars.githubusercontent.com/u/6434137?v=4?s=100" width="100px;" alt="WingLim"/><br /><sub><b>WingLim</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=WingLim" title="Documentation">📖</a> <a href="#translation-WingLim" title="Translation">🌍</a> <a href="https://github.com/grammyjs/grammY/commits?author=WingLim" title="Code">💻</a> <a href="#plugin-WingLim" title="Plugin/utility libraries">🔌</a> <a href="#ideas-WingLim" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
188
|
+
</tr>
|
|
189
|
+
<tr>
|
|
190
|
+
<td align="center"><a href="https://github.com/taotie111"><img src="https://avatars.githubusercontent.com/u/44166322?v=4?s=100" width="100px;" alt="taotie111"/><br /><sub><b>taotie111</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=taotie111" title="Documentation">📖</a> <a href="#translation-taotie111" title="Translation">🌍</a></td>
|
|
191
|
+
<td align="center"><a href="https://www.linkedin.com/in/merlin-brandes-42328717a/"><img src="https://avatars.githubusercontent.com/u/14237330?v=4?s=100" width="100px;" alt="Merlin"/><br /><sub><b>Merlin</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=FatalMerlin" title="Documentation">📖</a></td>
|
|
192
|
+
<td align="center"><a href="https://darve.sh"><img src="https://avatars.githubusercontent.com/u/22394081?v=4?s=100" width="100px;" alt="Darvesh"/><br /><sub><b>Darvesh</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Adarvesh" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=darvesh" title="Code">💻</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Adarvesh" title="Reviewed Pull Requests">👀</a></td>
|
|
193
|
+
<td align="center"><a href="http://telegram.me/dcdunkan"><img src="https://avatars.githubusercontent.com/u/70066170?v=4?s=100" width="100px;" alt="dcdunkan"/><br /><sub><b>dcdunkan</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Adcdunkan" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=dcdunkan" title="Code">💻</a> <a href="#plugin-dcdunkan" title="Plugin/utility libraries">🔌</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Adcdunkan" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/grammyjs/grammY/commits?author=dcdunkan" title="Documentation">📖</a> <a href="#ideas-dcdunkan" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-dcdunkan" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#tool-dcdunkan" title="Tools">🔧</a></td>
|
|
194
|
+
<td align="center"><a href="https://xuann.wang/"><img src="https://avatars.githubusercontent.com/u/44045911?v=4?s=100" width="100px;" alt="Kid"/><br /><sub><b>Kid</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=kidonng" title="Documentation">📖</a> <a href="#translation-kidonng" title="Translation">🌍</a></td>
|
|
195
|
+
<td align="center"><a href="http://slava.fomin.io/"><img src="https://avatars.githubusercontent.com/u/1702725?v=4?s=100" width="100px;" alt="Slava Fomin II"/><br /><sub><b>Slava Fomin II</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Aslavafomin" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=slavafomin" title="Documentation">📖</a></td>
|
|
196
|
+
<td align="center"><a href="https://kikobeats.com/"><img src="https://avatars.githubusercontent.com/u/2096101?v=4?s=100" width="100px;" alt="Kiko Beats"/><br /><sub><b>Kiko Beats</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=Kikobeats" title="Documentation">📖</a></td>
|
|
197
|
+
</tr>
|
|
198
|
+
<tr>
|
|
199
|
+
<td align="center"><a href="http://///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////kraftwerk28.pp.ua"><img src="https://avatars.githubusercontent.com/u/31807671?v=4?s=100" width="100px;" alt="Vsevolod"/><br /><sub><b>Vsevolod</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=kraftwerk28" title="Code">💻</a> <a href="#ideas-kraftwerk28" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Akraftwerk28" title="Reviewed Pull Requests">👀</a></td>
|
|
200
|
+
<td align="center"><a href="https://github.com/habemuscode"><img src="https://avatars.githubusercontent.com/u/34692207?v=4?s=100" width="100px;" alt="Habemuscode"/><br /><sub><b>Habemuscode</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Ahabemuscode" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/grammyjs/grammY/commits?author=habemuscode" title="Documentation">📖</a> <a href="#translation-habemuscode" title="Translation">🌍</a></td>
|
|
201
|
+
<td align="center"><a href="https://borodutch.com/"><img src="https://avatars.githubusercontent.com/u/3192028?v=4?s=100" width="100px;" alt="Nikita Kolmogorov"/><br /><sub><b>Nikita Kolmogorov</b></sub></a><br /><a href="#plugin-backmeupplz" title="Plugin/utility libraries">🔌</a></td>
|
|
202
|
+
<td align="center"><a href="http://glukki.ru"><img src="https://avatars.githubusercontent.com/u/140462?v=4?s=100" width="100px;" alt="Vitaliy Meshchaninov"/><br /><sub><b>Vitaliy Meshchaninov</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Aglukki" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=glukki" title="Code">💻</a></td>
|
|
203
|
+
<td align="center"><a href="https://github.com/dilyanpalauzov"><img src="https://avatars.githubusercontent.com/u/4992947?v=4?s=100" width="100px;" alt="Дилян Палаузов"/><br /><sub><b>Дилян Палаузов</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Adilyanpalauzov" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=dilyanpalauzov" title="Code">💻</a></td>
|
|
204
|
+
<td align="center"><a href="https://github.com/lmx-Hexagram"><img src="https://avatars.githubusercontent.com/u/52130356?v=4?s=100" width="100px;" alt="lmx-Hexagram"/><br /><sub><b>lmx-Hexagram</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=lmx-Hexagram" title="Documentation">📖</a></td>
|
|
205
|
+
<td align="center"><a href="https://github.com/IlyaSemenov"><img src="https://avatars.githubusercontent.com/u/128121?v=4?s=100" width="100px;" alt="Ilya Semenov"/><br /><sub><b>Ilya Semenov</b></sub></a><br /><a href="#ideas-IlyaSemenov" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AIlyaSemenov" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/grammyjs/grammY/commits?author=IlyaSemenov" title="Code">💻</a></td>
|
|
206
|
+
</tr>
|
|
207
|
+
<tr>
|
|
208
|
+
<td align="center"><a href="https://github.com/abdollahzadehAli"><img src="https://avatars.githubusercontent.com/u/96317431?v=4?s=100" width="100px;" alt="abdollahzadehAli"/><br /><sub><b>abdollahzadehAli</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=abdollahzadehAli" title="Documentation">📖</a> <a href="#example-abdollahzadehAli" title="Examples">💡</a></td>
|
|
209
|
+
<td align="center"><a href="https://github.com/MrSaeedNasiri"><img src="https://avatars.githubusercontent.com/u/17780289?v=4?s=100" width="100px;" alt="Saeed Nasiri"/><br /><sub><b>Saeed Nasiri</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=MrSaeedNasiri" title="Documentation">📖</a></td>
|
|
210
|
+
<td align="center"><a href="https://github.com/Scrip7"><img src="https://avatars.githubusercontent.com/u/37535505?v=4?s=100" width="100px;" alt="Hesoyam"/><br /><sub><b>Hesoyam</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=Scrip7" title="Documentation">📖</a></td>
|
|
211
|
+
<td align="center"><a href="http://yrz.am"><img src="https://avatars.githubusercontent.com/u/96742416?v=4?s=100" width="100px;" alt="yrzam"/><br /><sub><b>yrzam</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Ayrzam" title="Bug reports">🐛</a></td>
|
|
212
|
+
<td align="center"><a href="https://github.com/drmikecrowe"><img src="https://avatars.githubusercontent.com/u/90312?v=4?s=100" width="100px;" alt="drmikecrowe"/><br /><sub><b>drmikecrowe</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Adrmikecrowe" title="Reviewed Pull Requests">👀</a></td>
|
|
213
|
+
<td align="center"><a href="https://rys.pw"><img src="https://avatars.githubusercontent.com/u/1641362?v=4?s=100" width="100px;" alt="Martin"/><br /><sub><b>Martin</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=C0rn3j" title="Documentation">📖</a> <a href="https://github.com/grammyjs/grammY/issues?q=author%3AC0rn3j" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AC0rn3j" title="Reviewed Pull Requests">👀</a></td>
|
|
214
|
+
<td align="center"><a href="http://pavelpolyakov.com/"><img src="https://avatars.githubusercontent.com/u/839290?v=4?s=100" width="100px;" alt="Pavel"/><br /><sub><b>Pavel</b></sub></a><br /><a href="#example-PavelPolyakov" title="Examples">💡</a></td>
|
|
215
|
+
</tr>
|
|
216
|
+
<tr>
|
|
217
|
+
<td align="center"><a href="https://youtube.com/thorwebdev"><img src="https://avatars.githubusercontent.com/u/5748289?v=4?s=100" width="100px;" alt="Thor 雷神 Schaeff"/><br /><sub><b>Thor 雷神 Schaeff</b></sub></a><br /><a href="#example-thorwebdev" title="Examples">💡</a></td>
|
|
218
|
+
<td align="center"><a href="https://github.com/x066it"><img src="https://avatars.githubusercontent.com/u/75589380?v=4?s=100" width="100px;" alt="x066it"/><br /><sub><b>x066it</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Ax066it" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Ax066it" title="Reviewed Pull Requests">👀</a></td>
|
|
219
|
+
<td align="center"><a href="https://github.com/kolay-v"><img src="https://avatars.githubusercontent.com/u/49853802?v=4?s=100" width="100px;" alt="kolay"/><br /><sub><b>kolay</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Akolay-v" title="Reviewed Pull Requests">👀</a></td>
|
|
220
|
+
<td align="center"><a href="https://enepom.com/"><img src="https://avatars.githubusercontent.com/u/2511553?v=4?s=100" width="100px;" alt="Evgeny Nepomnyashchiy"/><br /><sub><b>Evgeny Nepomnyashchiy</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Apizzaeater" title="Reviewed Pull Requests">👀</a></td>
|
|
221
|
+
<td align="center"><a href="https://github.com/anantakrishna"><img src="https://avatars.githubusercontent.com/u/6065071?v=4?s=100" width="100px;" alt="Ananta Krsna dasa"/><br /><sub><b>Ananta Krsna dasa</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=anantakrishna" title="Documentation">📖</a></td>
|
|
222
|
+
<td align="center"><a href="https://github.com/Mi3liX9"><img src="https://avatars.githubusercontent.com/u/26169870?v=4?s=100" width="100px;" alt="Mighty Ali"/><br /><sub><b>Mighty Ali</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=Mi3liX9" title="Code">💻</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3AMi3liX9" title="Reviewed Pull Requests">👀</a> <a href="#ideas-Mi3liX9" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
223
|
+
<td align="center"><a href="https://oott123.com"><img src="https://avatars.githubusercontent.com/u/905663?v=4?s=100" width="100px;" alt="三三"/><br /><sub><b>三三</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Aoott123" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=oott123" title="Code">💻</a></td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td align="center"><a href="http://roz.ninja"><img src="https://avatars.githubusercontent.com/u/3948961?v=4?s=100" width="100px;" alt="Roz"/><br /><sub><b>Roz</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Aroziscoding" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=roziscoding" title="Code">💻</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Aroziscoding" title="Reviewed Pull Requests">👀</a> <a href="#infra-roziscoding" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#ideas-roziscoding" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
227
|
+
<td align="center"><a href="https://github.com/daniharo"><img src="https://avatars.githubusercontent.com/u/47931084?v=4?s=100" width="100px;" alt="Dani Haro"/><br /><sub><b>Dani Haro</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=daniharo" title="Code">💻</a> <a href="#plugin-daniharo" title="Plugin/utility libraries">🔌</a> <a href="https://github.com/grammyjs/grammY/commits?author=daniharo" title="Documentation">📖</a></td>
|
|
228
|
+
<td align="center"><a href="https://github.com/Ryukaizen"><img src="https://avatars.githubusercontent.com/u/55140313?v=4?s=100" width="100px;" alt="Ryukaizen"/><br /><sub><b>Ryukaizen</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=Ryukaizen" title="Documentation">📖</a></td>
|
|
229
|
+
<td align="center"><a href="https://github.com/mcpeblocker"><img src="https://avatars.githubusercontent.com/u/59408255?v=4?s=100" width="100px;" alt="Alisher Ortiqov"/><br /><sub><b>Alisher Ortiqov</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=mcpeblocker" title="Documentation">📖</a></td>
|
|
230
|
+
<td align="center"><a href="https://github.com/tonytkachenko"><img src="https://avatars.githubusercontent.com/u/103267335?v=4?s=100" width="100px;" alt="Tony Tkachenko"/><br /><sub><b>Tony Tkachenko</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=tonytkachenko" title="Documentation">📖</a></td>
|
|
231
|
+
<td align="center"><a href="https://github.com/rainrisa"><img src="https://avatars.githubusercontent.com/u/108156134?v=4?s=100" width="100px;" alt="Ra"/><br /><sub><b>Ra</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=rainrisa" title="Code">💻</a></td>
|
|
232
|
+
<td align="center"><a href="https://github.com/sartoshi-foot-dao"><img src="https://avatars.githubusercontent.com/u/99770068?v=4?s=100" width="100px;" alt="sartoshi-foot-dao"/><br /><sub><b>sartoshi-foot-dao</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=sartoshi-foot-dao" title="Documentation">📖</a></td>
|
|
233
|
+
</tr>
|
|
234
|
+
<tr>
|
|
235
|
+
<td align="center"><a href="https://github.com/yn4v4s"><img src="https://avatars.githubusercontent.com/u/35275827?v=4?s=100" width="100px;" alt="Yoel Navas E."/><br /><sub><b>Yoel Navas E.</b></sub></a><br /><a href="#ideas-yn4v4s" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
236
|
+
<td align="center"><a href="https://github.com/vitorleo"><img src="https://avatars.githubusercontent.com/u/5118352?v=4?s=100" width="100px;" alt="Vitor Gomes"/><br /><sub><b>Vitor Gomes</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Avitorleo" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=vitorleo" title="Code">💻</a></td>
|
|
237
|
+
<td align="center"><a href="http://xditya.me/"><img src="https://avatars.githubusercontent.com/u/58950863?v=4?s=100" width="100px;" alt="Aditya"/><br /><sub><b>Aditya</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Axditya" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Axditya" title="Reviewed Pull Requests">👀</a></td>
|
|
238
|
+
<td align="center"><a href="http://uditkaro.de"><img src="https://avatars.githubusercontent.com/u/30829387?v=4?s=100" width="100px;" alt="Udit Karode"/><br /><sub><b>Udit Karode</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Auditkarode" title="Reviewed Pull Requests">👀</a></td>
|
|
239
|
+
<td align="center"><a href="https://rockett.pw"><img src="https://avatars.githubusercontent.com/u/4586280?v=4?s=100" width="100px;" alt="Mike Rockétt"/><br /><sub><b>Mike Rockétt</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/pulls?q=is%3Apr+reviewed-by%3Amikerockett" title="Reviewed Pull Requests">👀</a></td>
|
|
240
|
+
</tr>
|
|
241
|
+
</tbody>
|
|
238
242
|
</table>
|
|
239
243
|
|
|
240
244
|
<!-- markdownlint-restore -->
|
package/out/context.d.ts
CHANGED
|
@@ -795,6 +795,58 @@ export declare class Context implements RenamedUpdate {
|
|
|
795
795
|
* **Official reference:** https://core.telegram.org/bots/api#deletechatstickerset
|
|
796
796
|
*/
|
|
797
797
|
deleteChatStickerSet(signal?: AbortSignal): Promise<true>;
|
|
798
|
+
/**
|
|
799
|
+
* Context-aware alias for `api.createForumTopic`. Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object.
|
|
800
|
+
*
|
|
801
|
+
* @param name Topic name, 1-128 characters
|
|
802
|
+
* @param other Optional remaining parameters, confer the official reference below
|
|
803
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
804
|
+
*
|
|
805
|
+
* **Official reference:** https://core.telegram.org/bots/api#createforumtopic
|
|
806
|
+
*/
|
|
807
|
+
createForumTopic(name: string, other?: Other<"createForumTopic", "chat_id" | "name">, signal?: AbortSignal): Promise<import("@grammyjs/types/manage.js").ForumTopic[]>;
|
|
808
|
+
/**
|
|
809
|
+
* Context-aware alias for `api.editForumTopic`. Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
810
|
+
*
|
|
811
|
+
* @param name New topic name, 1-128 characters
|
|
812
|
+
* @param icon_custom_emoji_id New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers
|
|
813
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
814
|
+
*
|
|
815
|
+
* **Official reference:** https://core.telegram.org/bots/api#editforumtopic
|
|
816
|
+
*/
|
|
817
|
+
editForumTopic(name: string, icon_custom_emoji_id: string, signal?: AbortSignal): Promise<true>;
|
|
818
|
+
/**
|
|
819
|
+
* Context-aware alias for `api.closeForumTopic`. Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
820
|
+
*
|
|
821
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
822
|
+
*
|
|
823
|
+
* **Official reference:** https://core.telegram.org/bots/api#closeforumtopic
|
|
824
|
+
*/
|
|
825
|
+
closeForumTopic(signal?: AbortSignal): Promise<true>;
|
|
826
|
+
/**
|
|
827
|
+
* Context-aware alias for `api.reopenForumTopic`. Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
828
|
+
*
|
|
829
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
830
|
+
*
|
|
831
|
+
* **Official reference:** https://core.telegram.org/bots/api#reopenforumtopic
|
|
832
|
+
*/
|
|
833
|
+
reopenForumTopic(signal?: AbortSignal): Promise<true>;
|
|
834
|
+
/**
|
|
835
|
+
* Context-aware alias for `api.deleteForumTopic`. Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
|
|
836
|
+
*
|
|
837
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
838
|
+
*
|
|
839
|
+
* **Official reference:** https://core.telegram.org/bots/api#deleteforumtopic
|
|
840
|
+
*/
|
|
841
|
+
deleteForumTopic(signal?: AbortSignal): Promise<true>;
|
|
842
|
+
/**
|
|
843
|
+
* Context-aware alias for `api.unpinAllForumTopicMessages`. Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
|
|
844
|
+
*
|
|
845
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
846
|
+
*
|
|
847
|
+
* **Official reference:** https://core.telegram.org/bots/api#unpinallforumtopicmessages
|
|
848
|
+
*/
|
|
849
|
+
unpinAllForumTopicMessages(signal?: AbortSignal): Promise<true>;
|
|
798
850
|
/**
|
|
799
851
|
* Context-aware alias for `api.answerCallbackQuery`. Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.
|
|
800
852
|
*
|
package/out/context.js
CHANGED
|
@@ -964,6 +964,80 @@ class Context {
|
|
|
964
964
|
deleteChatStickerSet(signal) {
|
|
965
965
|
return this.api.deleteChatStickerSet(orThrow(this.chat, "deleteChatStickerSet").id, signal);
|
|
966
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* Context-aware alias for `api.createForumTopic`. Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object.
|
|
969
|
+
*
|
|
970
|
+
* @param name Topic name, 1-128 characters
|
|
971
|
+
* @param other Optional remaining parameters, confer the official reference below
|
|
972
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
973
|
+
*
|
|
974
|
+
* **Official reference:** https://core.telegram.org/bots/api#createforumtopic
|
|
975
|
+
*/
|
|
976
|
+
createForumTopic(name, other, signal) {
|
|
977
|
+
return this.api.createForumTopic(orThrow(this.chat, "createForumTopic").id, name, other, signal);
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* Context-aware alias for `api.editForumTopic`. Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
981
|
+
*
|
|
982
|
+
* @param name New topic name, 1-128 characters
|
|
983
|
+
* @param icon_custom_emoji_id New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers
|
|
984
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
985
|
+
*
|
|
986
|
+
* **Official reference:** https://core.telegram.org/bots/api#editforumtopic
|
|
987
|
+
*/
|
|
988
|
+
editForumTopic(name, icon_custom_emoji_id, signal) {
|
|
989
|
+
const message = orThrow(this.msg, "editForumTopic");
|
|
990
|
+
const thread = orThrow(message.message_thread_id, "editForumTopic");
|
|
991
|
+
return this.api.editForumTopic(message.chat.id, thread, name, icon_custom_emoji_id, signal);
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* Context-aware alias for `api.closeForumTopic`. Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
995
|
+
*
|
|
996
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
997
|
+
*
|
|
998
|
+
* **Official reference:** https://core.telegram.org/bots/api#closeforumtopic
|
|
999
|
+
*/
|
|
1000
|
+
closeForumTopic(signal) {
|
|
1001
|
+
const message = orThrow(this.msg, "closeForumTopic");
|
|
1002
|
+
const thread = orThrow(message.message_thread_id, "closeForumTopic");
|
|
1003
|
+
return this.api.closeForumTopic(message.chat.id, thread, signal);
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* Context-aware alias for `api.reopenForumTopic`. Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
1007
|
+
*
|
|
1008
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
1009
|
+
*
|
|
1010
|
+
* **Official reference:** https://core.telegram.org/bots/api#reopenforumtopic
|
|
1011
|
+
*/
|
|
1012
|
+
reopenForumTopic(signal) {
|
|
1013
|
+
const message = orThrow(this.msg, "reopenForumTopic");
|
|
1014
|
+
const thread = orThrow(message.message_thread_id, "reopenForumTopic");
|
|
1015
|
+
return this.api.reopenForumTopic(message.chat.id, thread, signal);
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Context-aware alias for `api.deleteForumTopic`. Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
|
|
1019
|
+
*
|
|
1020
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
1021
|
+
*
|
|
1022
|
+
* **Official reference:** https://core.telegram.org/bots/api#deleteforumtopic
|
|
1023
|
+
*/
|
|
1024
|
+
deleteForumTopic(signal) {
|
|
1025
|
+
const message = orThrow(this.msg, "deleteForumTopic");
|
|
1026
|
+
const thread = orThrow(message.message_thread_id, "deleteForumTopic");
|
|
1027
|
+
return this.api.deleteForumTopic(message.chat.id, thread, signal);
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Context-aware alias for `api.unpinAllForumTopicMessages`. Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
|
|
1031
|
+
*
|
|
1032
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
1033
|
+
*
|
|
1034
|
+
* **Official reference:** https://core.telegram.org/bots/api#unpinallforumtopicmessages
|
|
1035
|
+
*/
|
|
1036
|
+
unpinAllForumTopicMessages(signal) {
|
|
1037
|
+
const message = orThrow(this.msg, "unpinAllForumTopicMessages");
|
|
1038
|
+
const thread = orThrow(message.message_thread_id, "unpinAllForumTopicMessages");
|
|
1039
|
+
return this.api.unpinAllForumTopicMessages(message.chat.id, thread, signal);
|
|
1040
|
+
}
|
|
967
1041
|
/**
|
|
968
1042
|
* Context-aware alias for `api.answerCallbackQuery`. Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.
|
|
969
1043
|
*
|
|
@@ -60,5 +60,12 @@ export declare const adapters: {
|
|
|
60
60
|
respond: (json: string) => void;
|
|
61
61
|
unauthorized: () => void;
|
|
62
62
|
};
|
|
63
|
+
"next-js": (req: any, res: any) => {
|
|
64
|
+
update: Promise<any>;
|
|
65
|
+
header: any;
|
|
66
|
+
end: () => any;
|
|
67
|
+
respond: (json: string) => any;
|
|
68
|
+
unauthorized: () => any;
|
|
69
|
+
};
|
|
63
70
|
};
|
|
64
71
|
export declare const defaultAdapter = "express";
|
|
@@ -45,10 +45,10 @@ const awsLambda = (event, _context, callback) => ({
|
|
|
45
45
|
const azure = (context, req) => ({
|
|
46
46
|
update: Promise.resolve(req.body),
|
|
47
47
|
header: context.res.headers[frameworks_shared_js_1.SECRET_HEADER],
|
|
48
|
-
end: () => context.res = {
|
|
48
|
+
end: () => (context.res = {
|
|
49
49
|
status: 200,
|
|
50
50
|
body: "",
|
|
51
|
-
},
|
|
51
|
+
}),
|
|
52
52
|
respond: (json) => {
|
|
53
53
|
context.res.set("Content-Type", "application/json");
|
|
54
54
|
context.res.send(json);
|
|
@@ -57,6 +57,14 @@ const azure = (context, req) => ({
|
|
|
57
57
|
context.res.send(401, "secret token is wrong");
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
|
+
/** Next.js Serverless Functions */
|
|
61
|
+
const nextJs = (req, res) => ({
|
|
62
|
+
update: Promise.resolve(req.body),
|
|
63
|
+
header: req.headers[frameworks_shared_js_1.SECRET_HEADER],
|
|
64
|
+
end: () => res.end(),
|
|
65
|
+
respond: (json) => res.status(200).json(json),
|
|
66
|
+
unauthorized: () => res.status(401).send("secret token is wrong"),
|
|
67
|
+
});
|
|
60
68
|
// please open a PR if you want to add another
|
|
61
69
|
exports.adapters = {
|
|
62
70
|
http,
|
|
@@ -64,6 +72,7 @@ exports.adapters = {
|
|
|
64
72
|
worktop,
|
|
65
73
|
"aws-lambda": awsLambda,
|
|
66
74
|
azure,
|
|
75
|
+
"next-js": nextJs,
|
|
67
76
|
...frameworks_shared_js_1.adapters,
|
|
68
77
|
};
|
|
69
78
|
exports.defaultAdapter = "express";
|
|
@@ -63,6 +63,13 @@ declare const adapters: {
|
|
|
63
63
|
respond: (json: string) => void;
|
|
64
64
|
unauthorized: () => void;
|
|
65
65
|
};
|
|
66
|
+
"next-js": (req: any, res: any) => {
|
|
67
|
+
update: Promise<any>;
|
|
68
|
+
header: any;
|
|
69
|
+
end: () => any;
|
|
70
|
+
respond: (json: string) => any;
|
|
71
|
+
unauthorized: () => any;
|
|
72
|
+
};
|
|
66
73
|
};
|
|
67
74
|
/**
|
|
68
75
|
* HTTP Web frameworks for which grammY provides compatible callback out of the
|
package/out/core/api.d.ts
CHANGED
|
@@ -687,6 +687,77 @@ export declare class Api<R extends RawApi = RawApi> {
|
|
|
687
687
|
* **Official reference:** https://core.telegram.org/bots/api#deletechatstickerset
|
|
688
688
|
*/
|
|
689
689
|
deleteChatStickerSet(chat_id: number | string, signal?: AbortSignal): Promise<true>;
|
|
690
|
+
/**
|
|
691
|
+
* Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects.
|
|
692
|
+
*
|
|
693
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
694
|
+
*
|
|
695
|
+
* **Official reference:** https://core.telegram.org/bots/api#getforumtopiciconstickers
|
|
696
|
+
*/
|
|
697
|
+
getForumTopicIconStickers(signal?: AbortSignal): Promise<import("@grammyjs/types/message.js").Sticker[]>;
|
|
698
|
+
/**
|
|
699
|
+
* Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object.
|
|
700
|
+
*
|
|
701
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
702
|
+
* @param name Topic name, 1-128 characters
|
|
703
|
+
* @param other Optional remaining parameters, confer the official reference below
|
|
704
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
705
|
+
*
|
|
706
|
+
* **Official reference:** https://core.telegram.org/bots/api#createforumtopic
|
|
707
|
+
*/
|
|
708
|
+
createForumTopic(chat_id: number | string, name: string, other?: Other<R, "createForumTopic", "chat_id" | "name">, signal?: AbortSignal): Promise<import("@grammyjs/types/manage.js").ForumTopic[]>;
|
|
709
|
+
/**
|
|
710
|
+
* Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
711
|
+
*
|
|
712
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
713
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
714
|
+
* @param name New topic name, 1-128 characters
|
|
715
|
+
* @param icon_custom_emoji_id New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers
|
|
716
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
717
|
+
*
|
|
718
|
+
* **Official reference:** https://core.telegram.org/bots/api#editforumtopic
|
|
719
|
+
*/
|
|
720
|
+
editForumTopic(chat_id: number | string, message_thread_id: number, name: string, icon_custom_emoji_id: string, signal?: AbortSignal): Promise<true>;
|
|
721
|
+
/**
|
|
722
|
+
* Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
723
|
+
*
|
|
724
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
725
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
726
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
727
|
+
*
|
|
728
|
+
* **Official reference:** https://core.telegram.org/bots/api#closeforumtopic
|
|
729
|
+
*/
|
|
730
|
+
closeForumTopic(chat_id: number | string, message_thread_id: number, signal?: AbortSignal): Promise<true>;
|
|
731
|
+
/**
|
|
732
|
+
* Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
733
|
+
*
|
|
734
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
735
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
736
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
737
|
+
*
|
|
738
|
+
* **Official reference:** https://core.telegram.org/bots/api#reopenforumtopic
|
|
739
|
+
*/
|
|
740
|
+
reopenForumTopic(chat_id: number | string, message_thread_id: number, signal?: AbortSignal): Promise<true>;
|
|
741
|
+
/**
|
|
742
|
+
* Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
|
|
743
|
+
*
|
|
744
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
745
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
746
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
747
|
+
*
|
|
748
|
+
* **Official reference:** https://core.telegram.org/bots/api#deleteforumtopic
|
|
749
|
+
*/
|
|
750
|
+
deleteForumTopic(chat_id: number | string, message_thread_id: number, signal?: AbortSignal): Promise<true>;
|
|
751
|
+
/**
|
|
752
|
+
* Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
|
|
753
|
+
*
|
|
754
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
755
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
756
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
757
|
+
*
|
|
758
|
+
* **Official reference:** https://core.telegram.org/bots/api#unpinallforumtopicmessages
|
|
759
|
+
*/
|
|
760
|
+
unpinAllForumTopicMessages(chat_id: number | string, message_thread_id: number, signal?: AbortSignal): Promise<true>;
|
|
690
761
|
/**
|
|
691
762
|
* Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.
|
|
692
763
|
*
|
package/out/core/api.js
CHANGED
|
@@ -776,6 +776,96 @@ class Api {
|
|
|
776
776
|
deleteChatStickerSet(chat_id, signal) {
|
|
777
777
|
return this.raw.deleteChatStickerSet({ chat_id }, signal);
|
|
778
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
* Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects.
|
|
781
|
+
*
|
|
782
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
783
|
+
*
|
|
784
|
+
* **Official reference:** https://core.telegram.org/bots/api#getforumtopiciconstickers
|
|
785
|
+
*/
|
|
786
|
+
getForumTopicIconStickers(signal) {
|
|
787
|
+
return this.raw.getForumTopicIconStickers(signal);
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object.
|
|
791
|
+
*
|
|
792
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
793
|
+
* @param name Topic name, 1-128 characters
|
|
794
|
+
* @param other Optional remaining parameters, confer the official reference below
|
|
795
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
796
|
+
*
|
|
797
|
+
* **Official reference:** https://core.telegram.org/bots/api#createforumtopic
|
|
798
|
+
*/
|
|
799
|
+
createForumTopic(chat_id, name, other, signal) {
|
|
800
|
+
return this.raw.createForumTopic({ chat_id, name, ...other }, signal);
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
804
|
+
*
|
|
805
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
806
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
807
|
+
* @param name New topic name, 1-128 characters
|
|
808
|
+
* @param icon_custom_emoji_id New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers
|
|
809
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
810
|
+
*
|
|
811
|
+
* **Official reference:** https://core.telegram.org/bots/api#editforumtopic
|
|
812
|
+
*/
|
|
813
|
+
editForumTopic(chat_id, message_thread_id, name, icon_custom_emoji_id, signal) {
|
|
814
|
+
return this.raw.editForumTopic({
|
|
815
|
+
chat_id,
|
|
816
|
+
message_thread_id,
|
|
817
|
+
name,
|
|
818
|
+
icon_custom_emoji_id,
|
|
819
|
+
}, signal);
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
823
|
+
*
|
|
824
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
825
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
826
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
827
|
+
*
|
|
828
|
+
* **Official reference:** https://core.telegram.org/bots/api#closeforumtopic
|
|
829
|
+
*/
|
|
830
|
+
closeForumTopic(chat_id, message_thread_id, signal) {
|
|
831
|
+
return this.raw.closeForumTopic({ chat_id, message_thread_id }, signal);
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
|
|
835
|
+
*
|
|
836
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
837
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
838
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
839
|
+
*
|
|
840
|
+
* **Official reference:** https://core.telegram.org/bots/api#reopenforumtopic
|
|
841
|
+
*/
|
|
842
|
+
reopenForumTopic(chat_id, message_thread_id, signal) {
|
|
843
|
+
return this.raw.reopenForumTopic({ chat_id, message_thread_id }, signal);
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
|
|
847
|
+
*
|
|
848
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
849
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
850
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
851
|
+
*
|
|
852
|
+
* **Official reference:** https://core.telegram.org/bots/api#deleteforumtopic
|
|
853
|
+
*/
|
|
854
|
+
deleteForumTopic(chat_id, message_thread_id, signal) {
|
|
855
|
+
return this.raw.deleteForumTopic({ chat_id, message_thread_id }, signal);
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
|
|
859
|
+
*
|
|
860
|
+
* @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
|
|
861
|
+
* @param message_thread_id Unique identifier for the target message thread of the forum topic
|
|
862
|
+
* @param signal Optional `AbortSignal` to cancel the request
|
|
863
|
+
*
|
|
864
|
+
* **Official reference:** https://core.telegram.org/bots/api#unpinallforumtopicmessages
|
|
865
|
+
*/
|
|
866
|
+
unpinAllForumTopicMessages(chat_id, message_thread_id, signal) {
|
|
867
|
+
return this.raw.unpinAllForumTopicMessages({ chat_id, message_thread_id }, signal);
|
|
868
|
+
}
|
|
779
869
|
/**
|
|
780
870
|
* Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.
|
|
781
871
|
*
|
package/out/filter.d.ts
CHANGED
|
@@ -60,12 +60,16 @@ declare const UPDATE_KEYS: {
|
|
|
60
60
|
readonly pinned_message: {};
|
|
61
61
|
readonly invoice: {};
|
|
62
62
|
readonly proximity_alert_triggered: {};
|
|
63
|
+
readonly forum_topic_created: {};
|
|
64
|
+
readonly forum_topic_closed: {};
|
|
65
|
+
readonly forum_topic_reopened: {};
|
|
63
66
|
readonly video_chat_scheduled: {};
|
|
64
67
|
readonly video_chat_started: {};
|
|
65
68
|
readonly video_chat_ended: {};
|
|
66
69
|
readonly video_chat_participants_invited: {};
|
|
67
70
|
readonly web_app_data: {};
|
|
68
71
|
readonly forward_date: {};
|
|
72
|
+
readonly is_topic_message: {};
|
|
69
73
|
readonly is_automatic_forward: {};
|
|
70
74
|
readonly text: {};
|
|
71
75
|
readonly animation: {};
|
|
@@ -149,12 +153,16 @@ declare const UPDATE_KEYS: {
|
|
|
149
153
|
readonly pinned_message: {};
|
|
150
154
|
readonly invoice: {};
|
|
151
155
|
readonly proximity_alert_triggered: {};
|
|
156
|
+
readonly forum_topic_created: {};
|
|
157
|
+
readonly forum_topic_closed: {};
|
|
158
|
+
readonly forum_topic_reopened: {};
|
|
152
159
|
readonly video_chat_scheduled: {};
|
|
153
160
|
readonly video_chat_started: {};
|
|
154
161
|
readonly video_chat_ended: {};
|
|
155
162
|
readonly video_chat_participants_invited: {};
|
|
156
163
|
readonly web_app_data: {};
|
|
157
164
|
readonly forward_date: {};
|
|
165
|
+
readonly is_topic_message: {};
|
|
158
166
|
readonly is_automatic_forward: {};
|
|
159
167
|
readonly text: {};
|
|
160
168
|
readonly animation: {};
|
|
@@ -220,12 +228,16 @@ declare const UPDATE_KEYS: {
|
|
|
220
228
|
readonly pinned_message: {};
|
|
221
229
|
readonly invoice: {};
|
|
222
230
|
readonly proximity_alert_triggered: {};
|
|
231
|
+
readonly forum_topic_created: {};
|
|
232
|
+
readonly forum_topic_closed: {};
|
|
233
|
+
readonly forum_topic_reopened: {};
|
|
223
234
|
readonly video_chat_scheduled: {};
|
|
224
235
|
readonly video_chat_started: {};
|
|
225
236
|
readonly video_chat_ended: {};
|
|
226
237
|
readonly video_chat_participants_invited: {};
|
|
227
238
|
readonly web_app_data: {};
|
|
228
239
|
readonly forward_date: {};
|
|
240
|
+
readonly is_topic_message: {};
|
|
229
241
|
readonly is_automatic_forward: {};
|
|
230
242
|
readonly text: {};
|
|
231
243
|
readonly animation: {};
|
|
@@ -291,12 +303,16 @@ declare const UPDATE_KEYS: {
|
|
|
291
303
|
readonly pinned_message: {};
|
|
292
304
|
readonly invoice: {};
|
|
293
305
|
readonly proximity_alert_triggered: {};
|
|
306
|
+
readonly forum_topic_created: {};
|
|
307
|
+
readonly forum_topic_closed: {};
|
|
308
|
+
readonly forum_topic_reopened: {};
|
|
294
309
|
readonly video_chat_scheduled: {};
|
|
295
310
|
readonly video_chat_started: {};
|
|
296
311
|
readonly video_chat_ended: {};
|
|
297
312
|
readonly video_chat_participants_invited: {};
|
|
298
313
|
readonly web_app_data: {};
|
|
299
314
|
readonly forward_date: {};
|
|
315
|
+
readonly is_topic_message: {};
|
|
300
316
|
readonly is_automatic_forward: {};
|
|
301
317
|
readonly text: {};
|
|
302
318
|
readonly animation: {};
|
package/out/filter.js
CHANGED
|
@@ -246,12 +246,16 @@ const COMMON_MESSAGE_KEYS = {
|
|
|
246
246
|
pinned_message: {},
|
|
247
247
|
invoice: {},
|
|
248
248
|
proximity_alert_triggered: {},
|
|
249
|
+
forum_topic_created: {},
|
|
250
|
+
forum_topic_closed: {},
|
|
251
|
+
forum_topic_reopened: {},
|
|
249
252
|
video_chat_scheduled: {},
|
|
250
253
|
video_chat_started: {},
|
|
251
254
|
video_chat_ended: {},
|
|
252
255
|
video_chat_participants_invited: {},
|
|
253
256
|
web_app_data: {},
|
|
254
257
|
forward_date: {},
|
|
258
|
+
is_topic_message: {},
|
|
255
259
|
is_automatic_forward: {},
|
|
256
260
|
};
|
|
257
261
|
const MESSAGE_KEYS = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grammy",
|
|
3
3
|
"description": "The Telegram Bot Framework.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.12.0",
|
|
5
5
|
"author": "KnorpelSenf",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"contribs": "all-contributors"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@grammyjs/types": "^2.
|
|
21
|
+
"@grammyjs/types": "^2.10.0",
|
|
22
22
|
"abort-controller": "^3.0.0",
|
|
23
23
|
"debug": "^4.3.4",
|
|
24
24
|
"node-fetch": "^2.6.7"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/debug": "^4.1.7",
|
|
28
28
|
"@types/node": "^12.20.55",
|
|
29
29
|
"@types/node-fetch": "^2.6.2",
|
|
30
|
-
"all-contributors-cli": "^6.
|
|
30
|
+
"all-contributors-cli": "^6.24.0",
|
|
31
31
|
"deno2node": "^1.4.0"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|