Class TdApi.FailedToAddMember

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.FailedToAddMember
Enclosing class:
TdApi

public static class TdApi.FailedToAddMember extends TdApi.Object
Contains information about a user that has failed to be added to a chat.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    boolean
    True, if subscription to Telegram Premium is required to send the user chat invite link.
    boolean
    True, if subscription to Telegram Premium would have allowed to add the user to the chat.
    long
    User identifier.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Contains information about a user that has failed to be added to a chat.
    FailedToAddMember(long userId, boolean premiumWouldAllowInvite, boolean premiumRequiredToSendMessages)
    Contains information about a user that has failed to be added to a chat.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • userId

      public long userId
      User identifier.
    • premiumWouldAllowInvite

      public boolean premiumWouldAllowInvite
      True, if subscription to Telegram Premium would have allowed to add the user to the chat.
    • premiumRequiredToSendMessages

      public boolean premiumRequiredToSendMessages
      True, if subscription to Telegram Premium is required to send the user chat invite link.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • FailedToAddMember

      public FailedToAddMember()
      Contains information about a user that has failed to be added to a chat.
    • FailedToAddMember

      public FailedToAddMember(long userId, boolean premiumWouldAllowInvite, boolean premiumRequiredToSendMessages)
      Contains information about a user that has failed to be added to a chat.
      Parameters:
      userId - User identifier.
      premiumWouldAllowInvite - True, if subscription to Telegram Premium would have allowed to add the user to the chat.
      premiumRequiredToSendMessages - True, if subscription to Telegram Premium is required to send the user chat invite link.
  • 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR