Skip to content

Commit c67b312

Browse files
authored
Add escapedLine method docs
1 parent 8694126 commit c67b312

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ For more information on supported parameters, check out these [docs](https://tel
378378

379379
- `content(string $content, int $limit = null)`: Notification message, supports markdown. For more information on supported markdown styles, check out these [docs](https://telegram-bot-sdk.readme.io/reference#section-formatting-options).
380380
- `line(string $content)`: Adds a message in a new line.
381+
- `escapedLine(string $content)`: Adds a message in a new line while escaping special characters (For Markdown).
381382
- `view(string $view, array $data = [], array $mergeData = [])`: (optional) Blade template name with Telegram supported HTML or Markdown syntax content if you wish to use a view file instead of the `content()` method.
382383
- `chunk(int $limit = 4096)`: (optional) Message chars chunk size to send in parts (For long messages). Note: Chunked messages will be rate limited to one message per second to comply with rate limitation requirements from Telegram.
383384

0 commit comments

Comments
 (0)