MadelineProtoDocs/docs/PHP/danog/MadelineProto/PTSException.md

63 lines
957 B
Markdown
Raw Normal View History

2020-10-15 18:42:54 +02:00
---
title: danog\MadelineProto\PTSException: Internal error indicating a problem with Telegram's servers.
description:
---
# `danog\MadelineProto\PTSException`
[Back to index](../../index.md)
> Author: Daniil Gentili <daniil@daniil.it>
Internal error indicating a problem with Telegram's servers.
## Method list:
* `updateTLTrace(array $trace): void`
* `getTLTrace(): string`
* `setTLTrace(string $tlTrace): void`
* `prettifyTL(string $init, array $trace): void`
## Methods:
### `updateTLTrace(array $trace): void`
Update TL trace.
Parameters:
* `$trace`: `array`
### `getTLTrace(): string`
Get TL trace.
### `setTLTrace(string $tlTrace): void`
Set TL trace.
Parameters:
* `$tlTrace`: `string` TL trace
### `prettifyTL(string $init, array $trace): void`
Generate async trace.
Parameters:
* `$init`: `string` Method name
* `$trace`: `array` Async trace
2020-10-15 19:11:10 +02:00
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)