- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.3k
          [Notifier] Updated chatter documentation with Telegram::answerCallbackQuery
          #17514
        
          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
  
    [Notifier] Updated chatter documentation with Telegram::answerCallbackQuery
  
  #17514
              Conversation
Telegram::answerCallbackQuery
      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.
Some comments, afterwards good to merge 👍
        
          
                notifier/chatters.rst
              
                Outdated
          
        
      | Answering Callback Queries in Telegram | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ | 
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.
| Answering Callback Queries in Telegram | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| Answering Callback Queries in Telegram | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 
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.
I don't quite understand why amount of ~ characters here should be more than in Updating Telegram Messages title case above
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.
For RST it just needs a minimum of three characters (IIRC), but in the Symfony docs we make as long as the title itself
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.
Oh, ok. Somehow I did not get it. Thank you, updated the file
        
          
                notifier/chatters.rst
              
                Outdated
          
        
      | $callbackQueryId = '12345', // extracted from callback | ||
| $showAlert = true, | ||
| $cacheTime = 1, | 
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.
| $callbackQueryId = '12345', // extracted from callback | |
| $showAlert = true, | |
| $cacheTime = 1, | |
| callbackQueryId: '12345', // extracted from callback | |
| showAlert: true, | |
| cacheTime: 1, | 
WDYT of using named arguments here?
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.
Yes, I like it, thank you
4139340    to
    c22c47b      
    Compare
  
    | Thanks Alex for working on this feature, this is much appreciated. | 
| Thank you very much, Oskar, for reviewing and helping with PRs. | 
Adding documentation for the new feature of Telegram notifier: answer callback query.
Fixes #17501