Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromkrasilnikovs:add-telegram-options
Aug 9, 2020

Conversation

@krasilnikovs
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?yes
Deprecations?no
LicenseMIT

I have addedTelegramOptions model for sending a telegram message with options like the example I have usedSlackOptions.

Testing notes:

  1. Create telegram bothttps://core.telegram.org/bots#creating-a-new-bot
  2. Open telegram and join to the created chat
  3. Send a message to telegram
    for testing, I used the scripts
    scripts.zip

@krasilnikovskrasilnikovsforce-pushed theadd-telegram-options branch 2 times, most recently from2629d9a to8b80798CompareApril 24, 2020 17:02
*
* @see https://core.telegram.org/bots/api#inlinekeyboardbutton
*/
class InlineKeyboardButton extends AbstractKeyboardButton
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
class InlineKeyboardButtonextends AbstractKeyboardButton
finalclass InlineKeyboardButtonextends AbstractKeyboardButton

Copy link
ContributorAuthor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
class KeyboardButtonextends AbstractKeyboardButton
finalclass KeyboardButtonextends AbstractKeyboardButton

Copy link
ContributorAuthor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
class ForceReplyextends AbstractTelegramReplyMarkup
finalclass ForceReplyextends AbstractTelegramReplyMarkup

Copy link
ContributorAuthor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
class InlineKeyboardMarkupextends AbstractTelegramReplyMarkup
finalclass InlineKeyboardMarkupextends AbstractTelegramReplyMarkup

Copy link
ContributorAuthor

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#replykeyboardremove
*/
class ReplyKeyboardRemove extends AbstractTelegramReplyMarkup
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
class ReplyKeyboardRemoveextends AbstractTelegramReplyMarkup
finalclass ReplyKeyboardRemoveextends AbstractTelegramReplyMarkup

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Added

Copy link
Member

@fabpotfabpot left a 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?

@fabpot
Copy link
Member

Thank you @krasilnikovm.

@fabpotfabpot merged commitf4668b5 intosymfony:masterAug 9, 2020
@nicolas-grekasnicolas-grekas modified the milestones:next,5.2Oct 5, 2020
@fabpotfabpot mentioned this pull requestOct 5, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+2 more reviewers

@KocKocKoc left review comments

@flugflugflug left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

6 participants

@krasilnikovs@fabpot@Koc@flug@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp