Skip to content

Commit a2200df

Browse files
committed
Fix javadoc
1 parent 6e4b0bc commit a2200df

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

library/src/main/java/com/pengrad/telegrambot/request/CreateNewStickerSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public CreateNewStickerSet stickerType(Type stickerType) {
100100

101101
/**
102102
*
103-
* @param stickerType Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only.
103+
* @param needsRepainting Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only.
104104
* @return a CreateNewStickerSet object
105105
*/
106106
public CreateNewStickerSet needsRepainting(boolean needsRepainting) {

library/src/main/java/com/pengrad/telegrambot/request/SetMyDescription.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public SetMyDescription description(String description) {
2020

2121
/**
2222
*
23-
* @param description A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description.
23+
* @param languageCode A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description.
2424
* @return
2525
*/
2626
public SetMyDescription languageCode(String languageCode) {

library/src/main/java/com/pengrad/telegrambot/request/SetMyShortDescription.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public SetMyShortDescription() {
1010

1111
/**
1212
*
13-
* @param description New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.
13+
* @param shortDescription New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.
1414
* @return
1515
*/
1616
public SetMyShortDescription description(String shortDescription) {
@@ -20,7 +20,7 @@ public SetMyShortDescription description(String shortDescription) {
2020

2121
/**
2222
*
23-
* @param description A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description.
23+
* @param languageCode A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description.
2424
* @return
2525
*/
2626
public SetMyShortDescription languageCode(String languageCode) {

0 commit comments

Comments
 (0)