Skip to content

Commit

Permalink
Remove deprecated methods in AnswerInlineQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
aNNiMON committed Feb 17, 2024
1 parent a1b9635 commit 4a4da5e
Showing 1 changed file with 0 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,40 +59,6 @@ public AnswerInlineQueryMethod setPersonal(Boolean isPersonal) {
return this;
}

/**
* @deprecated Use {@link #getButton()}
*/
@Deprecated
public String getSwitchPmText() {
return method.getSwitchPmText();
}

/**
* @deprecated Use {@link #setButton(InlineQueryResultsButton)}
*/
@Deprecated
public AnswerInlineQueryMethod setSwitchPmText(String switchPmText) {
method.setSwitchPmText(switchPmText);
return this;
}

/**
* @deprecated Use {@link #getButton()}
*/
@Deprecated
public String getSwitchPmParameter() {
return method.getSwitchPmParameter();
}

/**
* @deprecated Use {@link #setButton(InlineQueryResultsButton)}
*/
@Deprecated
public AnswerInlineQueryMethod setSwitchPmParameter(String switchPmParameter) {
method.setSwitchPmParameter(switchPmParameter);
return this;
}

public InlineQueryResultsButton getButton() {
return method.getButton();
}
Expand Down

0 comments on commit 4a4da5e

Please sign in to comment.