Skip to content

Commit

Permalink
Missing @deprecated keyword on disableWebPagePreview methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mircoianese committed Jul 19, 2024
1 parent 38f7831 commit 92d2061
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public InputTextMessageContent linkPreviewOptions(LinkPreviewOptions linkPreview
/*
@deprecated Use linkPreviewOptions instead
*/
@Deprecated
public InputTextMessageContent disableWebPagePreview(Boolean disableWebPagePreview) {
this.disable_web_page_preview = disableWebPagePreview;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public KeyboardButton requestPoll(KeyboardButtonPollType poll) {
}

/**
* @deprecated Use reqyestUsers instead
* @deprecated Use requestUsers instead
*/
@Deprecated
public KeyboardButton requestUser(KeyboardButtonRequestUser user) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public EditMessageText linkPreviewOptions(LinkPreviewOptions linkPreviewOptions)
/*
@deprecated Use linkPreviewOptions instead
*/
@Deprecated
public EditMessageText disableWebPagePreview(boolean disableWebPagePreview) {
return add("disable_web_page_preview", disableWebPagePreview);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public SendMessage linkPreviewOptions(LinkPreviewOptions linkPreviewOptions) {
/*
@deprecated Use linkPreviewOptions instead
*/
@Deprecated
public SendMessage disableWebPagePreview(boolean disableWebPagePreview) {
return add("disable_web_page_preview", disableWebPagePreview);
}
Expand Down

0 comments on commit 92d2061

Please sign in to comment.