diff --git a/allclasses-index.html b/allclasses-index.html index c0c06620c04..09e84cf1be1 100644 --- a/allclasses-index.html +++ b/allclasses-index.html @@ -2,7 +2,7 @@ -All Classes and Interfaces (TDLight API 4.0.457 API) +All Classes and Interfaces (TDLight API 4.0.458 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.BotWriteAccessAllowReason

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.BotWriteAccessAllowReason
+
+
+
+
+
Direct Known Subclasses:
+
TdApi.BotWriteAccessAllowReasonAcceptedRequest, TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu, TdApi.BotWriteAccessAllowReasonConnectedWebsite, TdApi.BotWriteAccessAllowReasonLaunchedWebApp
+
+
+
Enclosing class:
+
TdApi
+
+
+ +
This class is an abstract base class. + Describes a reason why a bot was allowed to write messages to the + current user.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      BotWriteAccessAllowReason

      +
      public BotWriteAccessAllowReason()
      +
      Default class constructor.
      +
      +
    • +
    +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonAcceptedRequest.html b/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonAcceptedRequest.html new file mode 100644 index 00000000000..7840e10e99b --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonAcceptedRequest.html @@ -0,0 +1,302 @@ + + + + +TdApi.BotWriteAccessAllowReasonAcceptedRequest (TDLight API 4.0.458 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.BotWriteAccessAllowReasonAcceptedRequest

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.BotWriteAccessAllowReason +
it.tdlight.jni.TdApi.BotWriteAccessAllowReasonAcceptedRequest
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.BotWriteAccessAllowReasonAcceptedRequest +extends TdApi.BotWriteAccessAllowReason
+
The user accepted bot's request to send messages with + allowBotToSendMessages.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      BotWriteAccessAllowReasonAcceptedRequest

      +
      public BotWriteAccessAllowReasonAcceptedRequest()
      +
      The user accepted bot's request to send messages with allowBotToSendMessages.
      +
      +
    • +
    • +
      +

      BotWriteAccessAllowReasonAcceptedRequest

      +
      public BotWriteAccessAllowReasonAcceptedRequest(DataInput input) + throws IOException
      +
      The user accepted bot's request to send messages with allowBotToSendMessages.
      +
      +
      Parameters:
      +
      input - Serialized input
      +
      Throws:
      +
      IOException - the deserialization failed
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    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
      +
      +
      +
    • +
    • +
      +

      serialize

      +
      public void serialize(DataOutput output) + throws IOException
      +
      Serialize the TDLib class
      +
      +
      Specified by:
      +
      serialize in class TdApi.Object
      +
      Parameters:
      +
      output - output data stream
      +
      Throws:
      +
      IOException - the serialization failed
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public boolean equals(Object o)
      +
      +
      Overrides:
      +
      equals in class Object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public int hashCode()
      +
      +
      Overrides:
      +
      hashCode in class Object
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu.html b/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu.html new file mode 100644 index 00000000000..f73e61dc0af --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu.html @@ -0,0 +1,302 @@ + + + + +TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu (TDLight API 4.0.458 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.BotWriteAccessAllowReason +
it.tdlight.jni.TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu +extends TdApi.BotWriteAccessAllowReason
+
The user added the bot to attachment or side menu using + toggleBotIsAddedToAttachmentMenu.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      BotWriteAccessAllowReasonAddedToAttachmentMenu

      +
      public BotWriteAccessAllowReasonAddedToAttachmentMenu()
      +
      The user added the bot to attachment or side menu using toggleBotIsAddedToAttachmentMenu.
      +
      +
    • +
    • +
      +

      BotWriteAccessAllowReasonAddedToAttachmentMenu

      +
      public BotWriteAccessAllowReasonAddedToAttachmentMenu(DataInput input) + throws IOException
      +
      The user added the bot to attachment or side menu using toggleBotIsAddedToAttachmentMenu.
      +
      +
      Parameters:
      +
      input - Serialized input
      +
      Throws:
      +
      IOException - the deserialization failed
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    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
      +
      +
      +
    • +
    • +
      +

      serialize

      +
      public void serialize(DataOutput output) + throws IOException
      +
      Serialize the TDLib class
      +
      +
      Specified by:
      +
      serialize in class TdApi.Object
      +
      Parameters:
      +
      output - output data stream
      +
      Throws:
      +
      IOException - the serialization failed
      +
      +
      +
    • +
    • +
      +

      equals

      +
      public boolean equals(Object o)
      +
      +
      Overrides:
      +
      equals in class Object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public int hashCode()
      +
      +
      Overrides:
      +
      hashCode in class Object
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.MessageWebsiteConnected.html b/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonConnectedWebsite.html similarity index 84% rename from tdlight.api/it/tdlight/jni/TdApi.MessageWebsiteConnected.html rename to tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonConnectedWebsite.html index f4dee6ad28e..9a225fcb098 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.MessageWebsiteConnected.html +++ b/tdlight.api/it/tdlight/jni/TdApi.BotWriteAccessAllowReasonConnectedWebsite.html @@ -2,7 +2,7 @@ -TdApi.MessageWebsiteConnected (TDLight API 4.0.457 API) +TdApi.BotWriteAccessAllowReasonConnectedWebsite (TDLight API 4.0.458 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.MessageWebsiteConnected

    +

    Class TdApi.BotWriteAccessAllowReasonConnectedWebsite

    java.lang.Object
    it.tdlight.jni.TdApi.Object -
    it.tdlight.jni.TdApi.MessageContent -
    it.tdlight.jni.TdApi.MessageWebsiteConnected
    +
    it.tdlight.jni.TdApi.BotWriteAccessAllowReason +
    it.tdlight.jni.TdApi.BotWriteAccessAllowReasonConnectedWebsite
    @@ -93,10 +93,10 @@ loadScripts(document, 'script');
    TdApi

    -
    public static final class TdApi.MessageWebsiteConnected -extends TdApi.MessageContent
    -
    The current user has connected a website by logging in using Telegram - Login Widget on it.
    +
    public static final class TdApi.BotWriteAccessAllowReasonConnectedWebsite +extends TdApi.BotWriteAccessAllowReason
    +
    The user connected a website by logging in using Telegram Login + Widget on it.
    @@ -208,7 +208,7 @@ loadScripts(document, 'script');
    See Also:
    @@ -224,16 +224,16 @@ loadScripts(document, 'script');
    @@ -129,17 +132,18 @@ loadScripts(document, 'script');
    Constructor
    Description
    -
    MessageForwardOriginMessageImport()
    +
    MessageImportInfo()
    -
    The message was imported from an exported message history.
    +
    Contains information about a message created with importMessages.
    -
    MessageForwardOriginMessageImport(DataInput input)
    +
    MessageImportInfo(DataInput input)
    -
    The message was imported from an exported message history.
    +
    Contains information about a message created with importMessages.
    -
    MessageForwardOriginMessageImport(String senderName)
    +
    MessageImportInfo(String senderName, + int date)
    -
    The message was imported from an exported message history.
    +
    Contains information about a message created with importMessages.
    @@ -195,7 +199,14 @@ loadScripts(document, 'script');

    senderName

    public String senderName
    -
    Name of the sender.
    +
    Name of the original sender.
    +
    + +
  • +
    +

    date

    +
    public int date
    +
    Point in time (Unix timestamp) when the message was originally sent.
  • @@ -207,7 +218,7 @@ loadScripts(document, 'script');
    See Also:
    @@ -223,28 +234,30 @@ loadScripts(document, 'script');