We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 304adf1 + 6bc80d9 commit 23ae3e2Copy full SHA for 23ae3e2
README.md
@@ -73,6 +73,21 @@ service.getDialogs().enqueue(new ServiceCallback<List<Dialog>>() {
73
74
For more information, take a look at the [CHANGELOG](CHANGELOG.md).
75
76
+## Migration
77
+
78
+To migrate to 3.0 from a previous version, simply add `.execute()` to the old methods.
79
+For example if you previously had
80
+```java
81
+List<Dialog> dialogs = dialogService.getDialogs();
82
+System.out.println(dialogs);
83
+```
84
+Just add `execute()` on the end and your code will work exactly the same as before.
85
86
87
+List<Dialog> dialogs = dialogService.getDialogs().execute();
88
89
90
91
## Installation
92
93
##### Maven
out/artifacts/java_sdk/java-sdk.jar
-1.28 MB
0 commit comments