public static class TdApi.GetMessageLink extends TdApi.Function
Returns HttpUrl
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Identifier of the chat to which the message belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the message.
|
Constructor and Description |
---|
GetMessageLink()
Default constructor for a function, which returns a private HTTPS link to a message in a chat.
|
GetMessageLink(long chatId,
long messageId)
Creates a function, which returns a private HTTPS link to a message in a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long messageId
public static final int CONSTRUCTOR
public GetMessageLink()
Returns HttpUrl
public GetMessageLink(long chatId, long messageId)
Returns HttpUrl
chatId
- Identifier of the chat to which the message belongs.messageId
- Identifier of the message.public int getConstructor()
getConstructor
in class TdApi.Function