Skip to content

Commit 4527070

Browse files
committed
update readme
1 parent 4ae0646 commit 4527070

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
한국에서는 지원하지 않거나 유료 기반의 기능들은 테스트를 완료하지 못했습니다. 참고하시기 바라며 LINE Messenger 기반 메시지 발송 또는 챗봇을 개발하시는 분들께 도움이 되길 바랍니다.
66

77
# 1. 사용 가이드 문서
8-
1. Install from [![Nuget](https://img.shields.io/nuget/v/LineDevelopers.svg)](https://www.nuget.org/packages/LineDevelopers)
9-
```powershell
10-
Install-Package LineDevelopers
11-
```
8+
1. Nuget을 통한 설치
9+
* [![Nuget](https://img.shields.io/nuget/v/LineDevelopers.svg)](https://www.nuget.org/packages/LineDevelopers)
10+
```powershell
11+
Install-Package LineDevelopers
12+
```
1213
2. [메시지 생성 및 발송 가이드](https://github.com/charles96/LineDevelopers.Net/blob/master/MESSAGE_kor.md)
1314
3. [webhook quick start](https://github.com/charles96/LineDevelopers.Net/blob/master/WEBHOOK_kor.md)
1415
@@ -46,7 +47,6 @@ using (var client = new LineChannelAccessTokenClient())
4647
|[Verify the validity of short-lived and long-lived channel access tokens](https://developers.line.biz/en/reference/messaging-api/#verfiy-channel-access-token)|VerifyShortLonglivedChannelAccessTokenAsync||
4748
|[Revoke short-lived or long-lived channel access token](https://developers.line.biz/en/reference/messaging-api/#revoke-longlived-or-shortlived-channel-access-token)|RevokeShortLongLivedChannelAccessTokenAsync||
4849

49-
5050
## 2-2. LineMessagingClient class
5151
각 기능 별로 개별 class들이 아래와 같이 존재합니다. 하지만 LineMessagingClient를 통해
5252
아래의 모든 기능들을 사용 할 수 있으며 LineMessagingClient를 통해 구현하는 것을 권장합니다.

WEBHOOK_kor.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ LINE Develpers.NET library를 이용하여 간단한 webhook을 테스트 하는
44
# quick start
55
## 1. open api project
66
1. [line webhook sample](https://github.com/charles96/LineDevelopers.Net/tree/master/Src/LineDevelopers.Webhook.Sample) project 다운로드
7-
2. Visual Studio → project open
8-
2. LineController.cs 수정
9-
* channel access token 입력
7+
2. Visual Studio → open project
8+
2. LineController.cs
9+
* channel access token 수정
1010
```csharp
1111
public LineController()
1212
{
1313
_client = new LineMessagingClient("your channel access token"); //수정
1414
}
1515
```
1616
3. Visual StudioF5를 통해 project 실행
17-
4. localhost 확인
18-
아래와 같이 주소 및 endpoint 경로를 확인한다.
19-
* ex) https://localhost:7250
17+
4. 아래와 같이 hostcallback 경로를 기억한다.
18+
* ex) host : https://localhost:7250, callback url: /line/callback
2019
![image](https://github.com/charles96/LineDevelopers.Net/blob/master/Assets/swagger.png?raw=true)
2120
2221
## 2. ngrok 설치 및 세팅
@@ -39,10 +38,10 @@ LINE Develpers.NET library를 이용하여 간단한 webhook을 테스트 하는
3938
3. Webhook URLEditngrok 생성 host + callback url 입력 → UpdateVerifiySuccess
4039

4140
## 4. LINE Messanger
42-
해당 채널에서 메시지를 보내면 아래와 같이 응답이 올 것 입니다.
41+
해당 채널에서 메시지를 보내면 응답이 올 것 입니다.
4342

4443
# sample source 설명
45-
|Webhook Event Objects|Method|
44+
|LINE Developers|Methods|
4645
|---|---|
4746
|[Message event](https://developers.line.biz/en/reference/messaging-api/#message-event)|OnMessageEventAsync|
4847
|[Unsend event](https://developers.line.biz/en/reference/messaging-api/#unsend-event)|OnUnSendEventAsync|
@@ -62,7 +61,7 @@ LINE Develpers.NET library를 이용하여 간단한 webhook을 테스트 하는
6261
6362
# example
6463
## ping pong message
65-
[Message event](https://developers.line.biz/en/reference/messaging-api/#message-event)의 message property 핸들링 예제이며, 유저가 입력한 text메시지 또는 sticker메시지를 따라합니다.
64+
[Message event](https://developers.line.biz/en/reference/messaging-api/#message-event)의 message property 핸들링 예제이며, 유저가 입력한 text메시지 또는 sticker메시지를 따라 응답합니다.
6665
6766
```csharp
6867
protected override async Task OnMessageEventAsync(MessageEventObject messageEventObject)

0 commit comments

Comments
 (0)