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

Improved support for getting updates api and fix InputInvoiceMessageContent is not available #237

Closed
wants to merge 4 commits into from

Conversation

ShiinaSekiu
Copy link

@ShiinaSekiu ShiinaSekiu commented Dec 7, 2021

Add ChosenInlineResult, MyChatMember, ChatMember and ChatJoinRequest getting updates api support.

Add InputMessageContent subclass Invoice.

Closes #240

Copy link
Member

@vjgarciag96 vjgarciag96 left a comment

Choose a reason for hiding this comment

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

Looks good! I have a comment about the type of some of the fields representing dates in 2 of the models - once that's fixed this is ready to merge. Thanks for your contribution!

class ChatMemberUpdated(
val chat: Chat,
val from: User,
val date: Int,
Copy link
Member

Choose a reason for hiding this comment

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

This one should be Long for Unix time in milliseconds.

@SerializedName("is_primary") val isPrimary: Boolean,
@SerializedName("is_revoked") val isRevoked: Boolean,
@SerializedName("name") val name: String? = null,
@SerializedName("expire_date") val expireDate: Int? = null,
Copy link
Member

Choose a reason for hiding this comment

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

This should be Long too because it's Unix time in milliseconds.

@ghost ghost closed this by deleting the head repository Aug 13, 2023
This pull request was closed.
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.

Didn't find method for ChosenInlineResult
2 participants