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 support for some bot commands + Fix TextWithEntities #1587

Merged
merged 22 commits into from
Dec 13, 2024
Merged

Conversation

mtalaeii
Copy link
Contributor

@mtalaeii mtalaeii commented Dec 7, 2024

  • Add support for /command@usernamebot commands structure as single command
  • Fix as entities property is list of message there is no need to convert it again in TextWithEntitiesClass

- As entities are list of MessageEntity there is no need to convert it here
- Add support for bot commands like /start@examplebot as SingleCommand
- cs-fix
- We don't need to do assertion here as this is client side!
- Use modifier instead of capital letters
- change class description
- change class description
- throw error using apply directly
- cs-fix
- cs-fix
@mtalaeii mtalaeii requested a review from danog December 13, 2024 10:48
@mtalaeii mtalaeii requested a review from danog December 13, 2024 11:06
- cs-fix
@danog danog merged commit 49a7393 into danog:v8 Dec 13, 2024
2 checks passed
Copy link

@xximwon xximwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

B

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 this pull request may close these issues.

3 participants