Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods to detect when bot is added (kicked, banned...) to chat #888

Closed
Nik-mmzd opened this issue Aug 23, 2024 · 1 comment · Fixed by #894
Closed

Add methods to detect when bot is added (kicked, banned...) to chat #888

Nik-mmzd opened this issue Aug 23, 2024 · 1 comment · Fixed by #894

Comments

@Nik-mmzd
Copy link
Contributor

Мойсей МакДержавін, [24.08.2024 00:27]
Блин, прямо так и хочется в либу стоковые методы onBotAdd, onBotKick, onBotBan...
Вроде мелочь, а удобно же будет

Мойсей МакДержавін, [24.08.2024 00:29]
Вообще, можно это закостылить как экстеншон к объекту, что отдается в onChatMemberUpdated
Тупо добавить isBotAdded там или isBotKicked... Крч, подумаю на досуге, если сам не забуду

Copy link

Welcome with your first issue

Nik-mmzd added a commit to Nik-mmzd/ktgbotapi that referenced this issue Aug 28, 2024
InsanusMokrassar added a commit that referenced this issue Aug 29, 2024
@InsanusMokrassar InsanusMokrassar linked a pull request Aug 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant