diff --git a/allclasses-index.html b/allclasses-index.html index 0fe8073077c..4b0d41fa527 100644 --- a/allclasses-index.html +++ b/allclasses-index.html @@ -2,7 +2,7 @@ -All Classes and Interfaces (tdlight API 4.0.269 API) +All Classes and Interfaces (tdlight API 4.0.270 API) - + @@ -42,7 +42,7 @@ loadScripts(document, 'script');
  • Module
  • Package
  • -
  • Use
  • +
  • Use
  • Tree
  • Index
  • Help
  • @@ -78,12 +78,12 @@ loadScripts(document, 'script');
    Module tdlight.api
    Package it.tdlight.jni
    -

    Class TdApi.SetMessageReaction

    +

    Class TdApi.AddMessageReaction

    java.lang.Object
    it.tdlight.jni.TdApi.Object
    it.tdlight.jni.TdApi.Function<TdApi.Ok> -
    it.tdlight.jni.TdApi.SetMessageReaction
    +
    it.tdlight.jni.TdApi.AddMessageReaction
    @@ -93,9 +93,11 @@ loadScripts(document, 'script');
    TdApi

    -
    public static final class TdApi.SetMessageReaction +
    public static final class TdApi.AddMessageReaction extends TdApi.Function<TdApi.Ok>
    -
    Changes chosen reaction for a message. +
    Adds a reaction to a message. Use + getMessageAvailableReactions to receive + the list of available reactions for the message. Returns Ok
    @@ -128,11 +130,16 @@ loadScripts(document, 'script');
    Identifier of the message.
    - - + +
    -
    Text representation of the new chosen - reaction.
    +
    Type of the reaction to add.
    +
    +
    boolean
    + +
    +
    Pass true if the reaction needs to be + added to recent reactions.
    @@ -145,20 +152,21 @@ loadScripts(document, 'script');
    Constructor
    Description
    - +
    -
    Changes chosen reaction for a message.
    +
    Adds a reaction to a message.
    -
    SetMessageReaction(long chatId, +
    AddMessageReaction(long chatId, long messageId, - String reaction, - boolean isBig)
    + TdApi.ReactionType reactionType, + boolean isBig, + boolean updateRecentReactions)
    -
    Changes chosen reaction for a message.
    +
    Adds a reaction to a message.
    - +
    -
    Changes chosen reaction for a message.
    +
    Adds a reaction to a message.
    @@ -224,13 +232,10 @@ loadScripts(document, 'script');
  • -
    -

    reaction

    -
    public String reaction
    -
    Text representation of the new chosen - reaction. Can be an empty string or - the currently chosen non-big reaction - to remove the reaction.
    +
    +

    reactionType

    +
    public TdApi.ReactionType reactionType
    +
    Type of the reaction to add.
  • @@ -242,6 +247,14 @@ loadScripts(document, 'script');
  • +
    +

    updateRecentReactions

    +
    public boolean updateRecentReactions
    +
    Pass true if the reaction needs to be + added to recent reactions.
    +
    +
  • +
  • CONSTRUCTOR

    public static final int CONSTRUCTOR
    @@ -249,7 +262,7 @@ loadScripts(document, 'script');
    See Also:
    @@ -265,40 +278,46 @@ loadScripts(document, 'script');
    • -

      SetMessageReaction

      -
      public SetMessageReaction()
      -
      Changes chosen reaction for a message. +

      AddMessageReaction

      +
      public AddMessageReaction()
      +
      Adds a reaction to a message. Use + getMessageAvailableReactions to receive + the list of available reactions for the message. Returns Ok
    • -
      -

      SetMessageReaction

      -
      public SetMessageReaction(long chatId, +
      +

      AddMessageReaction

      +
      public AddMessageReaction(long chatId, long messageId, - String reaction, - boolean isBig)
      -
      Changes chosen reaction for a message. + TdApi.ReactionType reactionType, + boolean isBig, + boolean updateRecentReactions)
      +
      Adds a reaction to a message. Use + getMessageAvailableReactions to receive + the list of available reactions for the message. Returns Ok
      Parameters:
      chatId - long Identifier of the chat to which the message belongs.
      messageId - long Identifier of the message.
      -
      reaction - String Text representation of the new chosen - reaction. Can be an empty string or - the currently chosen non-big reaction - to remove the reaction.
      +
      reactionType - ReactionType Type of the reaction to add.
      isBig - boolean Pass true if the reaction is added with a big animation.
      +
      updateRecentReactions - boolean Pass true if the reaction needs to be + added to recent reactions.
    • -

      SetMessageReaction

      -
      public SetMessageReaction(DataInput input) +

      AddMessageReaction

      +
      public AddMessageReaction(DataInput input) throws IOException
      -
      Changes chosen reaction for a message. +
      Adds a reaction to a message. Use + getMessageAvailableReactions to receive + the list of available reactions for the message. Returns Ok
      Throws:
      diff --git a/tdlight.api/it/tdlight/jni/TdApi.AddNetworkStatistics.html b/tdlight.api/it/tdlight/jni/TdApi.AddNetworkStatistics.html index e183c73c311..f8a35f60691 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.AddNetworkStatistics.html +++ b/tdlight.api/it/tdlight/jni/TdApi.AddNetworkStatistics.html @@ -2,7 +2,7 @@ -TdApi.AddNetworkStatistics (tdlight API 4.0.269 API) +TdApi.AddNetworkStatistics (tdlight API 4.0.270 API) + + + + + + + + + + + + + + +
      + +
      +
      + +
      +
      Module tdlight.api
      + +

      Class TdApi.AuthorizationStateWaitEmailAddress

      +
      +
      java.lang.Object +
      it.tdlight.jni.TdApi.Object +
      it.tdlight.jni.TdApi.AuthorizationState +
      it.tdlight.jni.TdApi.AuthorizationStateWaitEmailAddress
      +
      +
      +
      +
      +
      +
      Enclosing class:
      +
      TdApi
      +
      +
      +
      public static final class TdApi.AuthorizationStateWaitEmailAddress +extends TdApi.AuthorizationState
      +
      TDLib needs the user's email + address to authorize. Call + `setAuthenticationEmailAddress` to + provide the email address, or directly + call `checkAuthenticationEmailCode` + with Apple ID/Google ID token if allowed.
      +
      +
      + +
      +
      +
        + +
      • +
        +

        Field Details

        +
          +
        • +
          +

          allowAppleId

          +
          public boolean allowAppleId
          +
          True, if authorization through Apple + ID is allowed.
          +
          +
        • +
        • +
          +

          allowGoogleId

          +
          public boolean allowGoogleId
          +
          True, if authorization through Google + ID is allowed.
          +
          +
        • +
        • +
          +

          CONSTRUCTOR

          +
          public static final int CONSTRUCTOR
          +
          +
          See Also:
          +
          + +
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          AuthorizationStateWaitEmailAddress

          +
          public AuthorizationStateWaitEmailAddress()
          +
          TDLib needs the user's email + address to authorize. Call + `setAuthenticationEmailAddress` to + provide the email address, or directly + call `checkAuthenticationEmailCode` + with Apple ID/Google ID token if allowed.
          +
          +
        • +
        • +
          +

          AuthorizationStateWaitEmailAddress

          +
          public AuthorizationStateWaitEmailAddress(boolean allowAppleId, + boolean allowGoogleId)
          +
          TDLib needs the user's email + address to authorize. Call + `setAuthenticationEmailAddress` to + provide the email address, or directly + call `checkAuthenticationEmailCode` + with Apple ID/Google ID token if allowed.
          +
          +
          Parameters:
          +
          allowAppleId - boolean True, if authorization through Apple + ID is allowed.
          +
          allowGoogleId - boolean True, if authorization through Google + ID is allowed.
          +
          +
          +
        • +
        • +
          +

          AuthorizationStateWaitEmailAddress

          +
          public AuthorizationStateWaitEmailAddress(DataInput input) + throws IOException
          +
          TDLib needs the user's email + address to authorize. Call + `setAuthenticationEmailAddress` to + provide the email address, or directly + call `checkAuthenticationEmailCode` + with Apple ID/Google ID token if allowed.
          +
          +
          Throws:
          +
          IOException
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Method Details

        + +
        +
      • +
      +
      + +
      +
      +
      + +
      +
      +
      + + diff --git a/tdlight.api/it/tdlight/jni/TdApi.AuthorizationStateWaitEmailCode.html b/tdlight.api/it/tdlight/jni/TdApi.AuthorizationStateWaitEmailCode.html new file mode 100644 index 00000000000..3b8627ea4c2 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.AuthorizationStateWaitEmailCode.html @@ -0,0 +1,390 @@ + + + + +TdApi.AuthorizationStateWaitEmailCode (tdlight API 4.0.270 API) + + + + + + + + + + + + + + + +
      + +
      +
      + +
      +
      Module tdlight.api
      + +

      Class TdApi.AuthorizationStateWaitEmailCode

      +
      +
      java.lang.Object +
      it.tdlight.jni.TdApi.Object +
      it.tdlight.jni.TdApi.AuthorizationState +
      it.tdlight.jni.TdApi.AuthorizationStateWaitEmailCode
      +
      +
      +
      +
      +
      +
      Enclosing class:
      +
      TdApi
      +
      +
      +
      public static final class TdApi.AuthorizationStateWaitEmailCode +extends TdApi.AuthorizationState
      +
      TDLib needs the user's authentication + code sent to an email address to + authorize. Call `checkAuthenticationEmailCode` + to provide the code.
      +
      +
      + +
      +
      +
        + +
      • +
        +

        Field Details

        +
          +
        • +
          +

          allowAppleId

          +
          public boolean allowAppleId
          +
          True, if authorization through Apple + ID is allowed.
          +
          +
        • +
        • +
          +

          allowGoogleId

          +
          public boolean allowGoogleId
          +
          True, if authorization through Google + ID is allowed.
          +
          +
        • +
        • +
          +

          codeInfo

          + +
          Information about the sent authentication code.
          +
          +
        • +
        • +
          +

          nextPhoneNumberAuthorizationDate

          +
          public int nextPhoneNumberAuthorizationDate
          +
          Point in time (Unix timestamp) when + the user will be able to authorize + with a code sent to the user's + phone number; 0 if unknown.
          +
          +
        • +
        • +
          +

          CONSTRUCTOR

          +
          public static final int CONSTRUCTOR
          +
          +
          See Also:
          +
          + +
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          AuthorizationStateWaitEmailCode

          +
          public AuthorizationStateWaitEmailCode()
          +
          TDLib needs the user's authentication + code sent to an email address to + authorize. Call `checkAuthenticationEmailCode` + to provide the code.
          +
          +
        • +
        • +
          +

          AuthorizationStateWaitEmailCode

          +
          public AuthorizationStateWaitEmailCode(boolean allowAppleId, + boolean allowGoogleId, + TdApi.EmailAddressAuthenticationCodeInfo codeInfo, + int nextPhoneNumberAuthorizationDate)
          +
          TDLib needs the user's authentication + code sent to an email address to + authorize. Call `checkAuthenticationEmailCode` + to provide the code.
          +
          +
          Parameters:
          +
          allowAppleId - boolean True, if authorization through Apple + ID is allowed.
          +
          allowGoogleId - boolean True, if authorization through Google + ID is allowed.
          +
          codeInfo - EmailAddressAuthenticationCodeInfo Information about the sent authentication code.
          +
          nextPhoneNumberAuthorizationDate - int Point in time (Unix timestamp) when + the user will be able to authorize + with a code sent to the user's + phone number; 0 if unknown.
          +
          +
          +
        • +
        • +
          +

          AuthorizationStateWaitEmailCode

          +
          public AuthorizationStateWaitEmailCode(DataInput input) + throws IOException
          +
          TDLib needs the user's authentication + code sent to an email address to + authorize. Call `checkAuthenticationEmailCode` + to provide the code.
          +
          +
          Throws:
          +
          IOException
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Method Details

        + +
        +
      • +
      +
      + +
      +
      +
      + +
      +
      +
      + + diff --git a/tdlight.api/it/tdlight/jni/TdApi.AuthorizationStateWaitOtherDeviceConfirmation.html b/tdlight.api/it/tdlight/jni/TdApi.AuthorizationStateWaitOtherDeviceConfirmation.html index 6a6b793d4d2..03b7f588e19 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.AuthorizationStateWaitOtherDeviceConfirmation.html +++ b/tdlight.api/it/tdlight/jni/TdApi.AuthorizationStateWaitOtherDeviceConfirmation.html @@ -2,7 +2,7 @@ -TdApi.AuthorizationStateWaitOtherDeviceConfirmation (tdlight API 4.0.269 API) +TdApi.AuthorizationStateWaitOtherDeviceConfirmation (tdlight API 4.0.270 API) + + + + + + + + + + + + + + +
      + +
      +
      + +
      +
      Module tdlight.api
      + +

      Class TdApi.ChatAvailableReactions

      +
      +
      java.lang.Object +
      it.tdlight.jni.TdApi.Object +
      it.tdlight.jni.TdApi.ChatAvailableReactions
      +
      +
      +
      +
      +
      Direct Known Subclasses:
      +
      TdApi.ChatAvailableReactionsAll, TdApi.ChatAvailableReactionsSome
      +
      +
      +
      Enclosing class:
      +
      TdApi
      +
      +
      +
      public abstract static sealed class TdApi.ChatAvailableReactions +extends TdApi.Object +permits TdApi.ChatAvailableReactionsAll, TdApi.ChatAvailableReactionsSome
      +
      This class is an abstract base class.
      +
      +
      + +
      +
      +
        + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          ChatAvailableReactions

          +
          public ChatAvailableReactions()
          +
          +
        • +
        +
        +
      • +
      +
      + +
      +
      +
      + +
      +
      +
      + + diff --git a/tdlight.api/it/tdlight/jni/TdApi.ChatAvailableReactionsAll.html b/tdlight.api/it/tdlight/jni/TdApi.ChatAvailableReactionsAll.html new file mode 100644 index 00000000000..9f6a497c17e --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.ChatAvailableReactionsAll.html @@ -0,0 +1,285 @@ + + + + +TdApi.ChatAvailableReactionsAll (tdlight API 4.0.270 API) + + + + + + + + + + + + + + + +
      + +
      +
      + +
      +
      Module tdlight.api
      + +

      Class TdApi.ChatAvailableReactionsAll

      +
      +
      java.lang.Object +
      it.tdlight.jni.TdApi.Object +
      it.tdlight.jni.TdApi.ChatAvailableReactions +
      it.tdlight.jni.TdApi.ChatAvailableReactionsAll
      +
      +
      +
      +
      +
      +
      Enclosing class:
      +
      TdApi
      +
      +
      +
      public static final class TdApi.ChatAvailableReactionsAll +extends TdApi.ChatAvailableReactions
      +
      All reactions are available in the chat.
      +
      +
      + +
      +
      +
        + +
      • +
        +

        Field Details

        +
          +
        • +
          +

          CONSTRUCTOR

          +
          public static final int CONSTRUCTOR
          +
          +
          See Also:
          +
          + +
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          ChatAvailableReactionsAll

          +
          public ChatAvailableReactionsAll()
          +
          All reactions are available in the chat.
          +
          +
        • +
        • +
          +

          ChatAvailableReactionsAll

          +
          public ChatAvailableReactionsAll(DataInput input) + throws IOException
          +
          All reactions are available in the chat.
          +
          +
          Throws:
          +
          IOException
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Method Details

        + +
        +
      • +
      +
      + +
      +
      +
      + +
      +
      +
      + + diff --git a/tdlight.api/it/tdlight/jni/TdApi.ChatAvailableReactionsSome.html b/tdlight.api/it/tdlight/jni/TdApi.ChatAvailableReactionsSome.html new file mode 100644 index 00000000000..8ea8605fddc --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.ChatAvailableReactionsSome.html @@ -0,0 +1,319 @@ + + + + +TdApi.ChatAvailableReactionsSome (tdlight API 4.0.270 API) + + + + + + + + + + + + + + + +
      + +
      +
      + +
      +
      Module tdlight.api
      + +

      Class TdApi.ChatAvailableReactionsSome

      +
      +
      java.lang.Object +
      it.tdlight.jni.TdApi.Object +
      it.tdlight.jni.TdApi.ChatAvailableReactions +
      it.tdlight.jni.TdApi.ChatAvailableReactionsSome
      +
      +
      +
      +
      +
      +
      Enclosing class:
      +
      TdApi
      +
      +
      +
      public static final class TdApi.ChatAvailableReactionsSome +extends TdApi.ChatAvailableReactions
      +
      Only specific reactions are available + in the chat.
      +
      +
      + +
      +
      +
        + +
      • +
        +

        Field Details

        + +
        +
      • + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          ChatAvailableReactionsSome

          +
          public ChatAvailableReactionsSome()
          +
          Only specific reactions are available + in the chat.
          +
          +
        • +
        • +
          +

          ChatAvailableReactionsSome

          +
          public ChatAvailableReactionsSome(TdApi.ReactionType[] reactions)
          +
          Only specific reactions are available + in the chat.
          +
          +
          Parameters:
          +
          reactions - ReactionType[] The list of reactions.
          +
          +
          +
        • +
        • +
          +

          ChatAvailableReactionsSome

          +
          public ChatAvailableReactionsSome(DataInput input) + throws IOException
          +
          Only specific reactions are available + in the chat.
          +
          +
          Throws:
          +
          IOException
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Method Details

        + +
        +
      • +
      +
      + +
      +
      +
      + +
      +
      +
      + + diff --git a/tdlight.api/it/tdlight/jni/TdApi.ChatEvent.html b/tdlight.api/it/tdlight/jni/TdApi.ChatEvent.html index 8f8b8f44583..452ee92a11a 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.ChatEvent.html +++ b/tdlight.api/it/tdlight/jni/TdApi.ChatEvent.html @@ -2,7 +2,7 @@ -TdApi.ChatEvent (tdlight API 4.0.269 API) +TdApi.ChatEvent (tdlight API 4.0.270 API) + + + + + + + + + + + + + + +
      + +
      +
      + +
      +
      Module tdlight.api
      + +

      Class TdApi.CheckAuthenticationEmailCode

      +
      +
      java.lang.Object +
      it.tdlight.jni.TdApi.Object +
      it.tdlight.jni.TdApi.Function<TdApi.Ok> +
      it.tdlight.jni.TdApi.CheckAuthenticationEmailCode
      +
      +
      +
      +
      +
      +
      Enclosing class:
      +
      TdApi
      +
      +
      +
      public static final class TdApi.CheckAuthenticationEmailCode +extends TdApi.Function<TdApi.Ok>
      +
      Checks the authentication of a email + address. Works only when the current + authorization state is authorizationStateWaitEmailCode. + Returns Ok
      +
      +
      + +
      +
      +
        + +
      • +
        +

        Field Details

        + +
        +
      • + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          CheckAuthenticationEmailCode

          +
          public CheckAuthenticationEmailCode()
          +
          Checks the authentication of a email + address. Works only when the current + authorization state is authorizationStateWaitEmailCode. + Returns Ok
          +
          +
        • +
        • +
          +

          CheckAuthenticationEmailCode

          +
          public CheckAuthenticationEmailCode(TdApi.EmailAddressAuthentication code)
          +
          Checks the authentication of a email + address. Works only when the current + authorization state is authorizationStateWaitEmailCode. + Returns Ok
          +
          +
          Parameters:
          +
          code - EmailAddressAuthentication Email address authentication to check.
          +
          +
          +
        • +
        • +
          +

          CheckAuthenticationEmailCode

          +
          public CheckAuthenticationEmailCode(DataInput input) + throws IOException
          +
          Checks the authentication of a email + address. Works only when the current + authorization state is authorizationStateWaitEmailCode. + Returns Ok
          +
          +
          Throws:
          +
          IOException
          +
          +
          +
        • +
        +
        +
      • + +
      • +
        +

        Method Details

        + +
        +
      • +
      +
      + +
      +
      +
      + +
      +
      +
      + + diff --git a/tdlight.api/it/tdlight/jni/TdApi.CheckAuthenticationPassword.html b/tdlight.api/it/tdlight/jni/TdApi.CheckAuthenticationPassword.html index dd637b8157f..4fbb16d9e0d 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.CheckAuthenticationPassword.html +++ b/tdlight.api/it/tdlight/jni/TdApi.CheckAuthenticationPassword.html @@ -2,7 +2,7 @@ -TdApi.CheckAuthenticationPassword (tdlight API 4.0.269 API) +TdApi.CheckAuthenticationPassword (tdlight API 4.0.270 API) - + @@ -42,7 +42,7 @@ loadScripts(document, 'script');
    • Module
    • Package
    • -
    • Use
    • +
    • Use
    • Tree
    • Index
    • Help
    • @@ -78,12 +78,12 @@ loadScripts(document, 'script');
      Module tdlight.api
      -

      Class TdApi.CheckDatabaseEncryptionKey

      +

      Class TdApi.CheckLoginEmailAddressCode

      java.lang.Object
      it.tdlight.jni.TdApi.Object
      it.tdlight.jni.TdApi.Function<TdApi.Ok> -
      it.tdlight.jni.TdApi.CheckDatabaseEncryptionKey
      +
      it.tdlight.jni.TdApi.CheckLoginEmailAddressCode
      @@ -93,11 +93,9 @@ loadScripts(document, 'script');
      TdApi

      -
      public static final class TdApi.CheckDatabaseEncryptionKey +
      public static final class TdApi.CheckLoginEmailAddressCode extends TdApi.Function<TdApi.Ok>
      -
      Checks the database encryption key - for correctness. Works only when the - current authorization state is authorizationStateWaitEncryptionKey. +
      Checks the login email address authentication. Returns Ok
      @@ -111,14 +109,14 @@ loadScripts(document, 'script');
      Modifier and Type
      Field
      Description
      -
      static final int
      - -
       
      -
      byte[]
      - -
      -
      Encryption key to check or set up.
      + + +
      +
      Email address authentication to check.
      +
      static final int
      + +
       
    • @@ -130,20 +128,17 @@ loadScripts(document, 'script');
      Constructor
      Description
      - +
      -
      Checks the database encryption key - for correctness.
      +
      Checks the login email address authentication.
      -
      CheckDatabaseEncryptionKey(byte[] encryptionKey)
      +
      -
      Checks the database encryption key - for correctness.
      +
      Checks the login email address authentication.
      - +
      -
      Checks the database encryption key - for correctness.
      +
      Checks the login email address authentication.
    @@ -195,10 +190,10 @@ loadScripts(document, 'script');

    Field Details

  • @@ -128,20 +127,17 @@ loadScripts(document, 'script');
    Constructor
    Description
    - +
    -
    TDLib needs an encryption key to - decrypt the local database.
    +
    A reaction with a custom emoji.
    - +
    ReactionTypeCustomEmoji(long customEmojiId)
    -
    TDLib needs an encryption key to - decrypt the local database.
    +
    A reaction with a custom emoji.
    - +
    -
    TDLib needs an encryption key to - decrypt the local database.
    +
    A reaction with a custom emoji.
    @@ -190,10 +186,10 @@ loadScripts(document, 'script');

    Field Details