Class TdApi.GetLoginUrlInfo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.LoginUrlInfo>
dev.voroby.springframework.telegram.client.TdApi.GetLoginUrlInfo
- Enclosing class:
- TdApi
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.
Returns LoginUrlInfo
-
Field Summary
Modifier and TypeFieldDescriptionlong
Button identifier.long
Chat identifier of the message with the button.static final int
Identifier uniquely determining type of the object.long
Message identifier of the message with the button. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns information about a button of type inlineKeyboardButtonTypeLoginUrl.GetLoginUrlInfo
(long chatId, long messageId, long buttonId) Creates a function, which returns information about a button of type inlineKeyboardButtonTypeLoginUrl. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier of the message with the button. -
messageId
public long messageIdMessage identifier of the message with the button. The message must not be scheduled. -
buttonId
public long buttonIdButton identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetLoginUrlInfo
public GetLoginUrlInfo()Default constructor for a function, which 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) Creates a function, which returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.Returns
LoginUrlInfo
- Parameters:
chatId
- Chat identifier of the message with the button.messageId
- Message identifier of the message with the button. The message must not be scheduled.buttonId
- Button identifier.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-