-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
piloking
committed
Oct 7, 2024
1 parent
b8c320f
commit feff38d
Showing
4 changed files
with
157 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Client } from "@evex/linejs"; | ||
|
||
const client = new Client(); | ||
|
||
await client.login({ | ||
email: "YOUR_EMAIL", | ||
password: "YOUR_PASSWORD", | ||
polling: [], // no polling | ||
}); | ||
|
||
await client.sendMessage({ | ||
to: "MID", // mid (group c~ ,user u~) | ||
text: "Hello, world!" | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Client } from "@evex/linejs"; | ||
|
||
const client = new Client(); | ||
|
||
await client.login({ | ||
email: "YOUR_EMAIL", | ||
password: "YOUR_PASSWORD", | ||
polling: [], // no polling | ||
}); | ||
|
||
await client.sendSquareMessage({ | ||
to: "MID", // mid (squareChat m~) | ||
text: "Hello, world!" | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.