Module tdlight.api

Class TdApi.MessageUserShared

Enclosing class:
TdApi

public static final class TdApi.MessageUserShared extends TdApi.MessageContent
The current user shared a user, which was requested by the bot.
  • Field Details

    • userId

      public long userId
      Identifier of the shared user.
    • buttonId

      public int buttonId
      Identifier 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

      public MessageUserShared(DataInput input) throws IOException
      The current user shared a user, which was requested by the bot.
      Throws:
      IOException
  • Method Details