UNPKG
telegram-updated
Version:
browser (2.26.47)
latest (2.26.48)
2.26.48
2.26.47
2.26.46
2.26.45
2.26.43
2.26.39
2.26.38
2.26.37
2.26.36
2.26.34
2.26.32
2.26.31
2.26.29
2.26.27
2.26.25
2.26.23
NodeJS/Browser MTProto API Telegram client library,
github.com/red1ng/gramjs
red1ng/gramjs
telegram-updated
/
extensions
/
html.d.ts
6 lines
(5 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
Api
}
from
"../tl"
;
export
declare
class
HTMLParser
{
static
parse
(
html
:
string
): [
string
,
Api
.
TypeMessageEntity
[]];
static
unparse
(
text
:
string
,
entities
:
Api
.
TypeMessageEntity
[] |
undefined
,
_offset
?:
number
,
_length
?:
number
):
string
; }