Skip to content

Commit

Permalink
Merge pull request #96 from yvasyliev/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
yvasyliev authored Mar 12, 2022
2 parents e8e6f99 + 8ee46d9 commit ace7ea2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This library uses the next third-party dependencies:
<dependency>
<groupId>com.github.yvasyliev</groupId>
<artifactId>java-vk-bots-longpoll-api</artifactId>
<version>3.2.8</version>
<version>3.2.9</version>
</dependency>
```
4. Extend `LongPollBot` class and override necessary methods:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.github.yvasyliev</groupId>
<artifactId>java-vk-bots-longpoll-api</artifactId>
<packaging>jar</packaging>
<version>3.2.8</version>
<version>3.2.9</version>
<name>Java VK Bots Long Poll API</name>
<description>A Java library to create VK bots using Bots Long Poll API</description>
<url>https://github.com/yvasyliev/java-vk-bots-long-poll-api</url>
Expand Down Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.17.0</version>
<version>2.17.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ protected Class<Response> getResponseType() {
return Response.class;
}

public GetById setGroupIds(Integer... groupIds) {
public GetById setGroupIds(String... groupIds) {
return setGroupIds(Arrays.asList(groupIds));
}

public GetById setGroupIds(List<Integer> groupIds) {
public GetById setGroupIds(List<String> groupIds) {
return addParam("group_ids", toCommaSeparatedValues(groupIds));
}

public GetById setGroupId(int groupId) {
public GetById setGroupId(String groupId) {
return addParam("group_id", groupId);
}

Expand Down

0 comments on commit ace7ea2

Please sign in to comment.