Skip to content

Add static method Entity::parseMarkdownV2 to handle MarkdownV2. #1094

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

Merged

Conversation

noplanman
Copy link
Member

? !
Type improvement
BC Break yes
Fixed issues #1093

Summary

  • Add new static method Entity::parseMarkdownV2 to handle MarkdownV2.
  • Change Entity::parseMarkdown method to be static, thus not requiring an explicit object.

@noplanman noplanman requested a review from a team May 3, 2020 12:47
@noplanman noplanman self-assigned this May 3, 2020
@noplanman noplanman force-pushed the 1093-add_markdownv2_escaping branch from 1ffac76 to e7af7bd Compare May 3, 2020 12:49
@asafov
Copy link

asafov commented May 3, 2020

I not sure, that my function is full. Need to check it.

@noplanman
Copy link
Member Author

I have taken all characters from the official docs for this PR, so should be complete.

@noplanman noplanman force-pushed the 1093-add_markdownv2_escaping branch from e7af7bd to 2c5259f Compare May 3, 2020 12:53
@noplanman noplanman force-pushed the 1093-add_markdownv2_escaping branch from 2c5259f to 2130938 Compare May 3, 2020 13:29
@noplanman noplanman merged commit 6220183 into php-telegram-bot:develop May 4, 2020
@noplanman noplanman deleted the 1093-add_markdownv2_escaping branch May 4, 2020 08:50
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.

2 participants