java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageUserShared
- Enclosing class:
- TdApi
The current user shared a user, which
was requested by the bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintIdentifier of the keyboard button with the request.static final intlongIdentifier of the shared user. -
Constructor Summary
ConstructorsConstructorDescriptionThe current user shared a user, which was requested by the bot.MessageUserShared(long userId, int buttonId) The current user shared a user, which was requested by the bot.MessageUserShared(DataInput input) The current user shared a user, which was requested by the bot. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
userId
public long userIdIdentifier of the shared user. -
buttonId
public int buttonIdIdentifier of the keyboard button with the request. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageUserShared
public MessageUserShared()The current user shared a user, which was requested by the bot. -
MessageUserShared
public MessageUserShared(long userId, int buttonId) The current user shared a user, which was requested by the bot.- Parameters:
userId- long Identifier of the shared user.buttonId- int Identifier of the keyboard button with the request.
-
MessageUserShared
The current user shared a user, which was requested by the bot.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-