-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[Notifier] added telegram options #36496
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
Conversation
690b712 to
9405781
Compare
src/Symfony/Component/Notifier/Bridge/Telegram/Reply/Markup/ReplyKeyboardMarkup.php
Show resolved
Hide resolved
2629d9a to
8b80798
Compare
src/Symfony/Component/Notifier/Bridge/Telegram/Reply/Markup/AbstractTelegramReplyMarkup.php
Show resolved
Hide resolved
| * | ||
| * @see https://core.telegram.org/bots/api#inlinekeyboardbutton | ||
| */ | ||
| class InlineKeyboardButton extends AbstractKeyboardButton |
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.
| class InlineKeyboardButton extends AbstractKeyboardButton | |
| final class InlineKeyboardButton extends AbstractKeyboardButton |
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.
Added
| * | ||
| * @see https://core.telegram.org/bots/api#keyboardbutton | ||
| */ | ||
| class KeyboardButton extends AbstractKeyboardButton |
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.
| class KeyboardButton extends AbstractKeyboardButton | |
| final class KeyboardButton extends AbstractKeyboardButton |
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.
Added
| * | ||
| * @see https://core.telegram.org/bots/api#forcereply | ||
| */ | ||
| class ForceReply extends AbstractTelegramReplyMarkup |
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.
| class ForceReply extends AbstractTelegramReplyMarkup | |
| final class ForceReply extends AbstractTelegramReplyMarkup |
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.
Added
| * | ||
| * @see https://core.telegram.org/bots/api#inlinekeyboardmarkup | ||
| */ | ||
| class InlineKeyboardMarkup extends AbstractTelegramReplyMarkup |
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.
| class InlineKeyboardMarkup extends AbstractTelegramReplyMarkup | |
| final class InlineKeyboardMarkup extends AbstractTelegramReplyMarkup |
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.
Added
src/Symfony/Component/Notifier/Bridge/Telegram/Reply/Markup/Button/AbstractKeyboardButton.php
Show resolved
Hide resolved
| * | ||
| * @see https://core.telegram.org/bots/api#replykeyboardremove | ||
| */ | ||
| class ReplyKeyboardRemove extends AbstractTelegramReplyMarkup |
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.
| class ReplyKeyboardRemove extends AbstractTelegramReplyMarkup | |
| final class ReplyKeyboardRemove extends AbstractTelegramReplyMarkup |
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.
Added
fabpot
left a comment
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.
LGTM. Anything else needs to be done before merging?
src/Symfony/Component/Notifier/Bridge/Telegram/Reply/Markup/AbstractTelegramReplyMarkup.php
Show resolved
Hide resolved
8b80798 to
b4edd0d
Compare
b4edd0d to
3ba8d8f
Compare
|
Thank you @krasilnikovm. |
I have added
TelegramOptionsmodel for sending a telegram message with options like the example I have usedSlackOptions.Testing notes:
for testing, I used the scripts
scripts.zip