Skip to content

Commit 001c949

Browse files
authored
Merge pull request #276 from mircoianese/master
typo on method canRestrictMembers ChatAdministratorRights
2 parents 1a956f0 + d5cc0b6 commit 001c949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/pengrad/telegrambot/model/ChatAdministratorRights.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public ChatAdministratorRights canManageVideoChats(boolean canManageVideoChats)
8282
return this;
8383
}
8484

85-
public ChatAdministratorRights canRestringMembers(boolean canRestrictMembers) {
85+
public ChatAdministratorRights canRestrictMembers(boolean canRestrictMembers) {
8686
this.can_restrict_members = canRestrictMembers;
8787
return this;
8888
}

0 commit comments

Comments
 (0)