You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: migration_from_v1_to_v2_guide.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ However, it's not recommended to always use it as it could lead to migration err
47
47
## Clients
48
48
49
49
### Unified Client (recommended)
50
-
`Line::Bot::V2::Client` wraps all API clients into a single object. You only need one client for MessagingApi, Insight, Liff, ManageAudience, Module, and Shop.
50
+
`Line::Bot::V2::Client` wraps supported API clients into a single object. ChannelAccessToken and ModuleAttach are not included; use their individual clients directly.
51
51
52
52
```rb
53
53
client =Line::Bot::V2::Client.new(
@@ -71,6 +71,7 @@ You can also use individual clients directly. There are several types depending
71
71
and so on.
72
72
73
73
For channel access token operations, use `Line::Bot::V2::ChannelAccessToken::ApiClient` directly (not included in the unified client).
74
+
For module attach operations, use `Line::Bot::V2::ModuleAttach::ApiClient` directly (not included in the unified client).
0 commit comments