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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ the [documentation](https://line.github.io/line-bot-sdk-nodejs/).
24
24
Here are links to official references for LINE Messaging API. It is recommended
25
25
reading them beforehand.
26
26
27
-
* LINE API Reference [EN](https://devdocs.line.me/en/)[JA](https://devdocs.line.me/ja/)
27
+
* LINE API Reference [EN](https://developers.line.me/en/docs/messaging-api/reference/)[JA](https://developers.line.me/ja/docs/messaging-api/reference/)
Copy file name to clipboardExpand all lines: docs/pages/api-reference/client.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# `new Client(config)`
2
2
3
3
`Client` is a class representing an API client. It provides methods
4
-
corresponding to [messaging APIs](https://devdocs.line.me/en/#messaging-api).
4
+
corresponding to [messaging APIs](https://developers.line.me/en/docs/messaging-api/reference/).
5
5
6
6
#### Type signature
7
7
@@ -26,7 +26,7 @@ class Client {
26
26
```
27
27
28
28
`Message` is a valid message object. About message object structure, please
29
-
refer to [Send message object](https://devdocs.line.me/en/#send-message-object)
29
+
refer to [Send message object](https://developers.line.me/en/docs/messaging-api/reference/#message-objects)
30
30
of the official documentation.
31
31
32
32
`ClientConfig` type is like below, except that it also allows fields
@@ -43,7 +43,7 @@ type ClientConfig = {
43
43
For a parameter `messages:messages:Message|Message[]`, you can provide a
44
44
message object or an array of message objects. Both will work, but please beware
45
45
that there can be a limit on the number of the messages to be sent
46
-
simultaneously. About the API detail, please refer to [the official documentation](https://devdocs.line.me/en/#messaging-api).
46
+
simultaneously. About the API detail, please refer to [the official documentation](https://developers.line.me/en/docs/messaging-api/reference/#message-objects).
47
47
48
48
For functions returning `Promise`, there will be errors thrown if something
49
49
goes wrong, such as HTTP errors or parsing errors. You can catch them with the
@@ -52,7 +52,7 @@ in [the Client guide](../guide/client.md).
It corresponds to the [Reply message](https://devdocs.line.me/en/#reply-message) API.
68
+
It corresponds to the [Reply message](https://developers.line.me/en/docs/messaging-api/reference/#send-reply-message) API.
69
69
70
70
The first argument is a reply token, which is retrieved from a webhook event
71
-
object. For the list of replyable events, please refer to [Webhook event object](https://devdocs.line.me/en/#webhook-event-object)
71
+
object. For the list of replyable events, please refer to [Webhook event object](https://developers.line.me/en/docs/messaging-api/reference/#webhook-event-objects)
72
72
of the official documentation. The second argument is the same with one in `pushMessage()`.
0 commit comments