@@ -80,6 +80,8 @@ TelegramBot
80
80
* [ .removeTextListener(regexp)] ( #TelegramBot+removeTextListener ) ⇒ <code >Object</code >
81
81
* [ .onReplyToMessage(chatId, messageId, callback)] ( #TelegramBot+onReplyToMessage ) ⇒ <code >Number</code >
82
82
* [ .removeReplyListener(replyListenerId)] ( #TelegramBot+removeReplyListener ) ⇒ <code >Object</code >
83
+ * [ .clearTextListeners()] ( #TelegramBot+clearTextListeners )
84
+ * [ .clearReplyListeners()] ( #TelegramBot+clearReplyListeners )
83
85
* [ .getChat(chatId, [ options] )] ( #TelegramBot+getChat ) ⇒ <code >Promise</code >
84
86
* [ .getChatAdministrators(chatId, [ options] )] ( #TelegramBot+getChatAdministrators ) ⇒ <code >Promise</code >
85
87
* [ .getChatMembersCount(chatId, [ options] )] ( #TelegramBot+getChatMembersCount ) ⇒ <code >Promise</code >
@@ -1185,6 +1187,20 @@ Removes a reply that has been prev. registered for a message response.
1185
1187
| --- | --- | --- |
1186
1188
| replyListenerId | <code >Number</code > | The ID of the reply listener. |
1187
1189
1190
+ <a name =" TelegramBot+clearTextListeners " ></a >
1191
+
1192
+ ### telegramBot.clearTextListeners()
1193
+ Remove all listeners registered with ` onText() ` .
1194
+
1195
+ ** Kind** : instance method of [ <code >TelegramBot</code >] ( #TelegramBot )
1196
+
1197
+ <a name =" TelegramBot+clearReplyListeners " ></a >
1198
+
1199
+ ### telegramBot.clearReplyListeners()
1200
+ Removes all replies that have been previously registered for a message response.
1201
+
1202
+ ** Kind** : instance method of [ <code >TelegramBot</code >] ( #TelegramBot )
1203
+
1188
1204
<a name =" TelegramBot+getChat " ></a >
1189
1205
1190
1206
### telegramBot.getChat(chatId, [ options] ) ⇒ <code >Promise</code >
0 commit comments