Commit c884132
authored
Fix EchoBot DI error to receive messages (#676)
Resolve #675
I referred to KitchenSink.
https://github.com/line/line-bot-sdk-php/blob/2135b059c6e99c4e551ad3de1097e21ea1ec6f2e/examples/KitchenSink/src/LINEBot/KitchenSink/Dependency.php#L42
https://github.com/line/line-bot-sdk-php/blob/2135b059c6e99c4e551ad3de1097e21ea1ec6f2e/examples/KitchenSink/composer.json#L20-L40
I have fixed the correction of DI name (botMessagingApi ->
MessagingApiApi::class) was missed in the past revisions.
In addition, classes in line-bot-sdk-php was used directly so I have
fixed to be used via composer and we can use some classes like
Configuration class.1 parent cef9479 commit c884132
File tree
2 files changed
+13
-2
lines changed- examples/EchoBot
- src/LINEBot/EchoBot
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
| |||
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
28 | | - | |
| 37 | + | |
| 38 | + | |
29 | 39 | | |
| 40 | + | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments