Skip to content

Commit 80f42d0

Browse files
committed
Fix hideUrl
1 parent ae31162 commit 80f42d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/pengrad/telegrambot/model/request/InlineQueryResultArticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public InlineQueryResultArticle url(String url) {
3939
*/
4040
@Deprecated
4141
public InlineQueryResultArticle hideUrl(Boolean hideUrl) {
42-
this.url = null;
42+
this.url = "";
4343
return this;
4444
}
4545

0 commit comments

Comments
 (0)