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

videoDuration returns void instead of InlineQueryResultVideo #74

Closed
MipH opened this issue Mar 9, 2017 · 1 comment
Closed

videoDuration returns void instead of InlineQueryResultVideo #74

MipH opened this issue Mar 9, 2017 · 1 comment

Comments

@MipH
Copy link

MipH commented Mar 9, 2017

public void videoDuration(Integer videoDuration) {
   this.video_duration = videoDuration;
}

should be:

public InlineQueryResultVideo videoDuration(Integer videoDuration) {
   this.video_duration = videoDuration;
   return this;
}

com.pengrad.telegrambot.model.request.InlineQueryResultVideo

@pengrad
Copy link
Owner

pengrad commented Mar 9, 2017

Thanks!
But pull request would be better :)

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

No branches or pull requests

2 participants