GramIO API Reference / @gramio/contexts/dist / Link
Class: Link
Defined in: contexts/index.d.ts:869
Represents an HTTP link.
Constructors
Constructor
new Link(
payload):Link
Defined in: contexts/index.d.ts:871
Parameters
| Parameter | Type |
|---|---|
payload | TelegramLink |
Returns
Link
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramLink | contexts/index.d.ts:870 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:872
Returns
string
url
Get Signature
get url():
string
Defined in: contexts/index.d.ts:874
URL of the link
Returns
string