Skip to content

Commit

Permalink
BusinessConnection: use Long for the "user_chat_id" fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mircoianese committed Jul 4, 2024
1 parent c3a5449 commit 8a5c6c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class BusinessConnection {

private String id;
private User user;
private Integer user_chat_id;
private Long user_chat_id;
private Integer date;
private Boolean can_reply;
private Boolean is_enabled;
Expand All @@ -21,7 +21,7 @@ public User user() {
return user;
}

public Integer userChatId() {
public Long userChatId() {
return user_chat_id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public class GetUserChatBoosts extends BaseRequest<GetUserChatBoosts, UserChatBoostsResponse> {

public GetUserChatBoosts(Object chatId, Integer userId) {
public GetUserChatBoosts(Object chatId, Long userId) {
super(UserChatBoostsResponse.class);
add("chat_id", chatId).add("user_id", userId);
}
Expand Down

0 comments on commit 8a5c6c0

Please sign in to comment.