-
Notifications
You must be signed in to change notification settings - Fork 223
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 options request_{username, name, photo } for KeyboardButtonReques… #312
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not you update the type_attributes.yml
?
@@ -5,7 +5,8 @@ module Bot | |||
module Types | |||
class UsersShared < Base | |||
attribute :request_id, Types::Integer | |||
attribute :user_ids, Types::Array.of(Types::Integer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have you done this as an optional attribute?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This attribute is filled in in the current version. Left for compatibility
module Types | ||
class SharedUser < Base | ||
attribute :user_id, Types::Integer | ||
attribute :first_name, Types::String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an optional too, according to spec
…tUsers