Package it.tdlight.jni
Class TdApi.GetLoginUrlInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetLoginUrlInfo
- Enclosing class:
- TdApi
public static class TdApi.GetLoginUrlInfo extends TdApi.Function
Returns information about a button of
type inlineKeyboardButtonTypeLoginUrl.
The method needs to be called when
the user presses the button.
Returns LoginUrlInfo
-
Field Summary
Fields Modifier and Type Field Description long
buttonId
Button identifier.long
chatId
Chat identifier of the message with the button.static int
CONSTRUCTOR
long
messageId
Message identifier of the message with the button. -
Constructor Summary
Constructors Constructor Description GetLoginUrlInfo()
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl.GetLoginUrlInfo(long chatId, long messageId, long buttonId)
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl.GetLoginUrlInfo(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier of the message with the button. -
messageId
public long messageIdMessage identifier of the message with the button. -
buttonId
public long buttonIdButton identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetLoginUrlInfo
public GetLoginUrlInfo()Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.Returns
LoginUrlInfo
-
GetLoginUrlInfo
public GetLoginUrlInfo(long chatId, long messageId, long buttonId)Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.Returns
LoginUrlInfo
- Parameters:
chatId
- long Chat identifier of the message with the button.messageId
- long Message identifier of the message with the button.buttonId
- long Button identifier.
-
GetLoginUrlInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-