Type that can be used as an input peer to most of the high-level methods. Can be:
number
string
@
"me"
"self"
inputPeer: tl.TypeInputPeer
Telegram has moved to int64 IDs. Though, Levin has confirmed that new IDs will still fit into int53, meaning JS integers are fine.
Type that can be used as an input peer to most of the high-level methods. Can be:
number
, representing peer's marked ID*string
, representing peer's username (without preceding@
)string
, representing user's phone number"me"
and"self"
which will be replaced with the current user/botinputPeer: tl.TypeInputPeer
property