Deprecate forgotten setter

This commit is contained in:
rubenlagus 2020-11-06 01:16:06 +00:00 committed by Ruben Bermudez
parent b7ffc57704
commit b2fcbaa3c2

View File

@ -86,6 +86,10 @@ public class EditMessageText extends BotApiMethod<Serializable> {
@JsonProperty(ENTITIES_FIELD)
private List<MessageEntity> entities; ///< Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
/**
* @deprecated Use {#setChatId(String)}
*/
@Deprecated
public void setChatId(Long chatId) {
this.chatId = chatId.toString();
}