@@ -113,6 +113,7 @@ public function handleWebhook(Request $request): JsonResponse|Response
113
113
* It will run indefinitely until stopped.
114
114
*
115
115
* @throws BindingResolutionException
116
+ * @codeCoverageIgnore
116
117
*/
117
118
public function startLongPolling (int $ timeout = 90 , ?int $ marker = null ): void
118
119
{
@@ -129,6 +130,7 @@ public function startLongPolling(int $timeout = 90, ?int $marker = null): void
129
130
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
130
131
*
131
132
* @throws BindingResolutionException
133
+ * @codeCoverageIgnore
132
134
*/
133
135
public function addHandler (UpdateType $ type , callable |string $ handler ): void
134
136
{
@@ -142,6 +144,7 @@ public function addHandler(UpdateType $type, callable|string $handler): void
142
144
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
143
145
*
144
146
* @throws BindingResolutionException
147
+ * @codeCoverageIgnore
145
148
*/
146
149
public function onCommand (string $ command , callable |string $ handler ): void
147
150
{
@@ -154,6 +157,7 @@ public function onCommand(string $command, callable|string $handler): void
154
157
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
155
158
*
156
159
* @throws BindingResolutionException
160
+ * @codeCoverageIgnore
157
161
*/
158
162
public function onMessageCreated (callable |string $ handler ): void
159
163
{
@@ -166,6 +170,7 @@ public function onMessageCreated(callable|string $handler): void
166
170
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
167
171
*
168
172
* @throws BindingResolutionException
173
+ * @codeCoverageIgnore
169
174
*/
170
175
public function onMessageCallback (callable |string $ handler ): void
171
176
{
@@ -178,6 +183,7 @@ public function onMessageCallback(callable|string $handler): void
178
183
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
179
184
*
180
185
* @throws BindingResolutionException
186
+ * @codeCoverageIgnore
181
187
*/
182
188
public function onMessageEdited (callable |string $ handler ): void
183
189
{
@@ -190,6 +196,7 @@ public function onMessageEdited(callable|string $handler): void
190
196
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
191
197
*
192
198
* @throws BindingResolutionException
199
+ * @codeCoverageIgnore
193
200
*/
194
201
public function onMessageRemoved (callable |string $ handler ): void
195
202
{
@@ -202,6 +209,7 @@ public function onMessageRemoved(callable|string $handler): void
202
209
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
203
210
*
204
211
* @throws BindingResolutionException
212
+ * @codeCoverageIgnore
205
213
*/
206
214
public function onBotAdded (callable |string $ handler ): void
207
215
{
@@ -214,6 +222,7 @@ public function onBotAdded(callable|string $handler): void
214
222
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
215
223
*
216
224
* @throws BindingResolutionException
225
+ * @codeCoverageIgnore
217
226
*/
218
227
public function onBotRemoved (callable |string $ handler ): void
219
228
{
@@ -226,6 +235,7 @@ public function onBotRemoved(callable|string $handler): void
226
235
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
227
236
*
228
237
* @throws BindingResolutionException
238
+ * @codeCoverageIgnore
229
239
*/
230
240
public function onUserAdded (callable |string $ handler ): void
231
241
{
@@ -238,6 +248,7 @@ public function onUserAdded(callable|string $handler): void
238
248
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
239
249
*
240
250
* @throws BindingResolutionException
251
+ * @codeCoverageIgnore
241
252
*/
242
253
public function onUserRemoved (callable |string $ handler ): void
243
254
{
@@ -250,6 +261,7 @@ public function onUserRemoved(callable|string $handler): void
250
261
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
251
262
*
252
263
* @throws BindingResolutionException
264
+ * @codeCoverageIgnore
253
265
*/
254
266
public function onBotStarted (callable |string $ handler ): void
255
267
{
@@ -262,6 +274,7 @@ public function onBotStarted(callable|string $handler): void
262
274
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
263
275
*
264
276
* @throws BindingResolutionException
277
+ * @codeCoverageIgnore
265
278
*/
266
279
public function onChatTitleChanged (callable |string $ handler ): void
267
280
{
@@ -274,6 +287,7 @@ public function onChatTitleChanged(callable|string $handler): void
274
287
* @param callable|string $handler Can be a closure, callable, or Laravel container binding.
275
288
*
276
289
* @throws BindingResolutionException
290
+ * @codeCoverageIgnore
277
291
*/
278
292
public function onMessageChatCreated (callable |string $ handler ): void
279
293
{
@@ -282,6 +296,7 @@ public function onMessageChatCreated(callable|string $handler): void
282
296
283
297
/**
284
298
* Get the API instance.
299
+ * @codeCoverageIgnore
285
300
*/
286
301
public function getApi (): Api
287
302
{
@@ -290,6 +305,7 @@ public function getApi(): Api
290
305
291
306
/**
292
307
* Get the update dispatcher.
308
+ * @codeCoverageIgnore
293
309
*/
294
310
public function getDispatcher (): UpdateDispatcher
295
311
{
0 commit comments