@@ -113,6 +113,7 @@ public function handleWebhook(Request $request): JsonResponse|Response
113113 * It will run indefinitely until stopped.
114114 *
115115 * @throws BindingResolutionException
116+ * @codeCoverageIgnore
116117 */
117118 public function startLongPolling (int $ timeout = 90 , ?int $ marker = null ): void
118119 {
@@ -129,6 +130,7 @@ public function startLongPolling(int $timeout = 90, ?int $marker = null): void
129130 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
130131 *
131132 * @throws BindingResolutionException
133+ * @codeCoverageIgnore
132134 */
133135 public function addHandler (UpdateType $ type , callable |string $ handler ): void
134136 {
@@ -142,6 +144,7 @@ public function addHandler(UpdateType $type, callable|string $handler): void
142144 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
143145 *
144146 * @throws BindingResolutionException
147+ * @codeCoverageIgnore
145148 */
146149 public function onCommand (string $ command , callable |string $ handler ): void
147150 {
@@ -154,6 +157,7 @@ public function onCommand(string $command, callable|string $handler): void
154157 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
155158 *
156159 * @throws BindingResolutionException
160+ * @codeCoverageIgnore
157161 */
158162 public function onMessageCreated (callable |string $ handler ): void
159163 {
@@ -166,6 +170,7 @@ public function onMessageCreated(callable|string $handler): void
166170 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
167171 *
168172 * @throws BindingResolutionException
173+ * @codeCoverageIgnore
169174 */
170175 public function onMessageCallback (callable |string $ handler ): void
171176 {
@@ -178,6 +183,7 @@ public function onMessageCallback(callable|string $handler): void
178183 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
179184 *
180185 * @throws BindingResolutionException
186+ * @codeCoverageIgnore
181187 */
182188 public function onMessageEdited (callable |string $ handler ): void
183189 {
@@ -190,6 +196,7 @@ public function onMessageEdited(callable|string $handler): void
190196 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
191197 *
192198 * @throws BindingResolutionException
199+ * @codeCoverageIgnore
193200 */
194201 public function onMessageRemoved (callable |string $ handler ): void
195202 {
@@ -202,6 +209,7 @@ public function onMessageRemoved(callable|string $handler): void
202209 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
203210 *
204211 * @throws BindingResolutionException
212+ * @codeCoverageIgnore
205213 */
206214 public function onBotAdded (callable |string $ handler ): void
207215 {
@@ -214,6 +222,7 @@ public function onBotAdded(callable|string $handler): void
214222 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
215223 *
216224 * @throws BindingResolutionException
225+ * @codeCoverageIgnore
217226 */
218227 public function onBotRemoved (callable |string $ handler ): void
219228 {
@@ -226,6 +235,7 @@ public function onBotRemoved(callable|string $handler): void
226235 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
227236 *
228237 * @throws BindingResolutionException
238+ * @codeCoverageIgnore
229239 */
230240 public function onUserAdded (callable |string $ handler ): void
231241 {
@@ -238,6 +248,7 @@ public function onUserAdded(callable|string $handler): void
238248 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
239249 *
240250 * @throws BindingResolutionException
251+ * @codeCoverageIgnore
241252 */
242253 public function onUserRemoved (callable |string $ handler ): void
243254 {
@@ -250,6 +261,7 @@ public function onUserRemoved(callable|string $handler): void
250261 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
251262 *
252263 * @throws BindingResolutionException
264+ * @codeCoverageIgnore
253265 */
254266 public function onBotStarted (callable |string $ handler ): void
255267 {
@@ -262,6 +274,7 @@ public function onBotStarted(callable|string $handler): void
262274 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
263275 *
264276 * @throws BindingResolutionException
277+ * @codeCoverageIgnore
265278 */
266279 public function onChatTitleChanged (callable |string $ handler ): void
267280 {
@@ -274,6 +287,7 @@ public function onChatTitleChanged(callable|string $handler): void
274287 * @param callable|string $handler Can be a closure, callable, or Laravel container binding.
275288 *
276289 * @throws BindingResolutionException
290+ * @codeCoverageIgnore
277291 */
278292 public function onMessageChatCreated (callable |string $ handler ): void
279293 {
@@ -282,6 +296,7 @@ public function onMessageChatCreated(callable|string $handler): void
282296
283297 /**
284298 * Get the API instance.
299+ * @codeCoverageIgnore
285300 */
286301 public function getApi (): Api
287302 {
@@ -290,6 +305,7 @@ public function getApi(): Api
290305
291306 /**
292307 * Get the update dispatcher.
308+ * @codeCoverageIgnore
293309 */
294310 public function getDispatcher (): UpdateDispatcher
295311 {
0 commit comments