Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add getText method to Update class for extracting text
- Implemented `getText` method to retrieve text from various update types: - Returns message text for 'message', 'edited_message', 'channel_post', and 'edited_channel_post' types. - Returns formatted callback query data for 'callback_query' type. - Returns empty string for other types. - Updated docblocks to reflect the new method. - Maintained backward compatibility with deprecated methods.
- Loading branch information