Skip to content

Commit c446c8a

Browse files
committed
Fix textParseMode method in SendGift
1 parent de01317 commit c446c8a

File tree

1 file changed

+1
-1
lines changed
  • library/src/main/java/com/pengrad/telegrambot/request

1 file changed

+1
-1
lines changed

library/src/main/java/com/pengrad/telegrambot/request/SendGift.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class SendGift private constructor(
7878

7979
fun text(text: String) = apply { this.text = text }
8080

81-
fun textParseMode(parseMode: ParseMode) = apply { this.textParseMode = textParseMode }
81+
fun textParseMode(parseMode: ParseMode) = apply { this.textParseMode = parseMode }
8282

8383
fun textEntities(textEntities: Array<MessageEntity>) = apply { this.textEntities = textEntities }
8484

0 commit comments

Comments
 (0)