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

Add a setup method for the "is_persistent" field of the ReplyKeyboardMarkup object #1063

Merged

Conversation

pavel-mironchik
Copy link
Contributor

This PR just "adds" a convenient method for setting the is_persistent field which was introduced in the Bot API 6.4:

Added the field is_persistent to the class ReplyKeyboardMarkup, allowing to control when the keyboard is shown.

P.S. One could already use the setIsPersistent() method, but with this change, it will be shown by the autocomplete system of an IDE.

@codecov
Copy link

codecov bot commented Apr 15, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (45a15ca) 43.56% compared to head (8d4dc5e) 43.56%.

Additional details and impacted files
@@            Coverage Diff            @@
##                3.x    #1063   +/-   ##
=========================================
  Coverage     43.56%   43.56%           
  Complexity      603      603           
=========================================
  Files           129      129           
  Lines          1795     1795           
=========================================
  Hits            782      782           
  Misses         1013     1013           
Impacted Files Coverage Δ
src/Keyboard/Keyboard.php 0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@irazasyed irazasyed merged commit e0e399e into irazasyed:3.x Apr 15, 2023
@irazasyed
Copy link
Owner

Thanks

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.

2 participants