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

fix: message_id is optional in ExternalReplyInfo #166

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

ayrat555
Copy link
Owner

@ayrat555 ayrat555 changed the title fix ExternalReplyInfo decoding message_id messag_id optional in ExternalReplyInfo Apr 26, 2024
@EdJoPaTo EdJoPaTo changed the title message_id messag_id optional in ExternalReplyInfo message_id optional in ExternalReplyInfo Apr 26, 2024
@ayrat555 ayrat555 changed the title message_id optional in ExternalReplyInfo make messag_id optional in ExternalReplyInfo Apr 26, 2024
@ayrat555 ayrat555 requested a review from EdJoPaTo April 26, 2024 08:06
Copy link
Collaborator

@EdJoPaTo EdJoPaTo left a comment

Choose a reason for hiding this comment

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

src/objects.rs Outdated
@@ -1014,7 +1014,9 @@ pub struct ExternalReplyInfo {
#[builder(setter(into, strip_option), default)]
pub chain: Option<Chat>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this chat instead of chain?

Copy link
Owner Author

Choose a reason for hiding this comment

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

fixed. thanks

@EdJoPaTo EdJoPaTo changed the title make messag_id optional in ExternalReplyInfo fix: message_id is optional in ExternalReplyInfo Apr 26, 2024
@EdJoPaTo EdJoPaTo changed the title fix: message_id is optional in ExternalReplyInfo fix: message_id is optional in ExternalReplyInfo Apr 26, 2024
@ayrat555 ayrat555 merged commit e60f4f3 into master Apr 26, 2024
28 checks passed
@ayrat555 ayrat555 deleted the ayrat555/fix-ExternalReplyInfo branch April 26, 2024 09:02
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.

Fails to decode ChatMemberRestricted
2 participants