diff --git a/allclasses-index.html b/allclasses-index.html index 9232437aebe..991546b40d8 100644 --- a/allclasses-index.html +++ b/allclasses-index.html @@ -2,7 +2,7 @@ -All Classes and Interfaces (tdlight API 4.0.249 API) +All Classes and Interfaces (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.AddSavedNotificationSound

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.AddSavedNotificationSound +extends TdApi.Function<TdApi.NotificationSound>
+
Adds a new notification sound to the + list of saved notification sounds. + The new notification sound is added + to the top of the list. If it is + already in the list, its position isn't changed. + Returns NotificationSound
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      sound

      +
      public TdApi.InputFile sound
      +
      Notification sound file to add.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      AddSavedNotificationSound

      +
      public AddSavedNotificationSound()
      +
      Adds a new notification sound to the + list of saved notification sounds. + The new notification sound is added + to the top of the list. If it is + already in the list, its position isn't changed. + Returns NotificationSound
      +
      +
    • +
    • +
      +

      AddSavedNotificationSound

      +
      public AddSavedNotificationSound(TdApi.InputFile sound)
      +
      Adds a new notification sound to the + list of saved notification sounds. + The new notification sound is added + to the top of the list. If it is + already in the list, its position isn't changed. + Returns NotificationSound
      +
      +
      Parameters:
      +
      sound - InputFile Notification sound file to add.
      +
      +
      +
    • +
    • +
      +

      AddSavedNotificationSound

      +
      public AddSavedNotificationSound(DataInput input) + throws IOException
      +
      Adds a new notification sound to the + list of saved notification sounds. + The new notification sound is added + to the top of the list. If it is + already in the list, its position isn't changed. + Returns NotificationSound
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.AddStickerToSet.html b/tdlight.api/it/tdlight/jni/TdApi.AddStickerToSet.html index 29b8b4123c4..fd59272624e 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.AddStickerToSet.html +++ b/tdlight.api/it/tdlight/jni/TdApi.AddStickerToSet.html @@ -2,7 +2,7 @@ -TdApi.AddStickerToSet (tdlight API 4.0.249 API) +TdApi.AddStickerToSet (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.AnswerWebAppQuery

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.AnswerWebAppQuery +extends TdApi.Function<TdApi.SentWebAppMessage>
+
Sets the result of interaction with + a web app and sends corresponding + message on behalf of the user to the + chat from which the query originated; + for bots only. + Returns SentWebAppMessage
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      webAppQueryId

      +
      public String webAppQueryId
      +
      Identifier of the web app query.
      +
      +
    • +
    • +
      +

      result

      + +
      The result of the query.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      AnswerWebAppQuery

      +
      public AnswerWebAppQuery()
      +
      Sets the result of interaction with + a web app and sends corresponding + message on behalf of the user to the + chat from which the query originated; + for bots only. + Returns SentWebAppMessage
      +
      +
    • +
    • +
      +

      AnswerWebAppQuery

      +
      public AnswerWebAppQuery(String webAppQueryId, + TdApi.InputInlineQueryResult result)
      +
      Sets the result of interaction with + a web app and sends corresponding + message on behalf of the user to the + chat from which the query originated; + for bots only. + Returns SentWebAppMessage
      +
      +
      Parameters:
      +
      webAppQueryId - String Identifier of the web app query.
      +
      result - InputInlineQueryResult The result of the query.
      +
      +
      +
    • +
    • +
      +

      AnswerWebAppQuery

      +
      public AnswerWebAppQuery(DataInput input) + throws IOException
      +
      Sets the result of interaction with + a web app and sends corresponding + message on behalf of the user to the + chat from which the query originated; + for bots only. + Returns SentWebAppMessage
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.AttachmentMenuBot.html b/tdlight.api/it/tdlight/jni/TdApi.AttachmentMenuBot.html new file mode 100644 index 00000000000..ad5fec9f368 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.AttachmentMenuBot.html @@ -0,0 +1,463 @@ + + + + +TdApi.AttachmentMenuBot (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.AttachmentMenuBot

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.AttachmentMenuBot
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.AttachmentMenuBot +extends TdApi.Object
+
Represents a bot added to attachment menu.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      botUserId

      +
      public long botUserId
      +
      User identifier of the bot added to attachment menu.
      +
      +
    • +
    • +
      +

      name

      +
      public String name
      +
      Name for the bot in attachment menu.
      +
      +
    • +
    • +
      +

      nameColor

      +
      public TdApi.AttachmentMenuBotColor nameColor
      +
      Color to highlight selected name of + the bot if appropriate; may be null.
      +
      +
    • +
    • +
      +

      defaultIcon

      +
      public TdApi.File defaultIcon
      +
      Default attachment menu icon for the + bot in SVG format; may be null.
      +
      +
    • +
    • +
      +

      iosStaticIcon

      +
      public TdApi.File iosStaticIcon
      +
      Attachment menu icon for the bot in + SVG format for the official iOS app; + may be null.
      +
      +
    • +
    • +
      +

      iosAnimatedIcon

      +
      public TdApi.File iosAnimatedIcon
      +
      Attachment menu icon for the bot in + TGS format for the official iOS app; + may be null.
      +
      +
    • +
    • +
      +

      androidIcon

      +
      public TdApi.File androidIcon
      +
      Attachment menu icon for the bot in + TGS format for the official Android + app; may be null.
      +
      +
    • +
    • +
      +

      macosIcon

      +
      public TdApi.File macosIcon
      +
      Attachment menu icon for the bot in + TGS format for the official native + macOS app; may be null.
      +
      +
    • +
    • +
      +

      iconColor

      +
      public TdApi.AttachmentMenuBotColor iconColor
      +
      Color to highlight selected icon of + the bot if appropriate; may be null.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      AttachmentMenuBot

      +
      public AttachmentMenuBot()
      +
      Represents a bot added to attachment menu.
      +
      +
    • +
    • +
      +

      AttachmentMenuBot

      +
      public AttachmentMenuBot(long botUserId, + String name, + TdApi.AttachmentMenuBotColor nameColor, + TdApi.File defaultIcon, + TdApi.File iosStaticIcon, + TdApi.File iosAnimatedIcon, + TdApi.File androidIcon, + TdApi.File macosIcon, + TdApi.AttachmentMenuBotColor iconColor)
      +
      Represents a bot added to attachment menu.
      +
      +
      Parameters:
      +
      botUserId - long User identifier of the bot added to attachment menu.
      +
      name - String Name for the bot in attachment menu.
      +
      nameColor - AttachmentMenuBotColor Color to highlight selected name of + the bot if appropriate; may be null.
      +
      defaultIcon - File Default attachment menu icon for the + bot in SVG format; may be null.
      +
      iosStaticIcon - File Attachment menu icon for the bot in + SVG format for the official iOS app; + may be null.
      +
      iosAnimatedIcon - File Attachment menu icon for the bot in + TGS format for the official iOS app; + may be null.
      +
      androidIcon - File Attachment menu icon for the bot in + TGS format for the official Android + app; may be null.
      +
      macosIcon - File Attachment menu icon for the bot in + TGS format for the official native + macOS app; may be null.
      +
      iconColor - AttachmentMenuBotColor Color to highlight selected icon of + the bot if appropriate; may be null.
      +
      +
      +
    • +
    • +
      +

      AttachmentMenuBot

      +
      public AttachmentMenuBot(DataInput input) + throws IOException
      +
      Represents a bot added to attachment menu.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.AttachmentMenuBotColor.html b/tdlight.api/it/tdlight/jni/TdApi.AttachmentMenuBotColor.html new file mode 100644 index 00000000000..76145506fc7 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.AttachmentMenuBotColor.html @@ -0,0 +1,332 @@ + + + + +TdApi.AttachmentMenuBotColor (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.AttachmentMenuBotColor

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.AttachmentMenuBotColor
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.AttachmentMenuBotColor +extends TdApi.Object
+
Describes a color to highlight a bot + added to attachment menu.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      lightColor

      +
      public int lightColor
      +
      Color in the RGB24 format for light themes.
      +
      +
    • +
    • +
      +

      darkColor

      +
      public int darkColor
      +
      Color in the RGB24 format for dark themes.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      AttachmentMenuBotColor

      +
      public AttachmentMenuBotColor()
      +
      Describes a color to highlight a bot + added to attachment menu.
      +
      +
    • +
    • +
      +

      AttachmentMenuBotColor

      +
      public AttachmentMenuBotColor(int lightColor, + int darkColor)
      +
      Describes a color to highlight a bot + added to attachment menu.
      +
      +
      Parameters:
      +
      lightColor - int Color in the RGB24 format for light themes.
      +
      darkColor - int Color in the RGB24 format for dark themes.
      +
      +
      +
    • +
    • +
      +

      AttachmentMenuBotColor

      +
      public AttachmentMenuBotColor(DataInput input) + throws IOException
      +
      Describes a color to highlight a bot + added to attachment menu.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.Audio.html b/tdlight.api/it/tdlight/jni/TdApi.Audio.html index 02f5cdc92e8..0f75a49c76b 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.Audio.html +++ b/tdlight.api/it/tdlight/jni/TdApi.Audio.html @@ -2,7 +2,7 @@ -TdApi.Audio (tdlight API 4.0.249 API) +TdApi.Audio (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.BotInfo

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.BotInfo
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.BotInfo +extends TdApi.Object
+
Contains information about a bot.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      shareText

      +
      public String shareText
      +
      The text that is shown on the bot's + profile page and is sent together with + the link when users share the bot.
      +
      +
    • +
    • +
      +

      description

      +
      public String description
      +
      The text shown in the chat with the + bot if the chat is empty.
      +
      +
    • +
    • + +
    • +
    • +
      +

      commands

      +
      public TdApi.BotCommand[] commands
      +
      List of the bot commands.
      +
      +
    • +
    • +
      +

      defaultGroupAdministratorRights

      +
      public TdApi.ChatAdministratorRights defaultGroupAdministratorRights
      +
      Default administrator rights for adding + the bot to basic group and supergroup + chats; may be null.
      +
      +
    • +
    • +
      +

      defaultChannelAdministratorRights

      +
      public TdApi.ChatAdministratorRights defaultChannelAdministratorRights
      +
      Default administrator rights for adding + the bot to channels; may be null.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      BotInfo

      +
      public BotInfo()
      +
      Contains information about a bot.
      +
      +
    • +
    • +
      +

      BotInfo

      +
      public BotInfo(String shareText, + String description, + TdApi.BotMenuButton menuButton, + TdApi.BotCommand[] commands, + TdApi.ChatAdministratorRights defaultGroupAdministratorRights, + TdApi.ChatAdministratorRights defaultChannelAdministratorRights)
      +
      Contains information about a bot.
      +
      +
      Parameters:
      +
      shareText - String The text that is shown on the bot's + profile page and is sent together with + the link when users share the bot.
      +
      description - String The text shown in the chat with the + bot if the chat is empty.
      +
      menuButton - BotMenuButton Information about a button to show + instead of the bot commands menu + button; may be null if ordinary bot + commands menu must be shown.
      +
      commands - BotCommand[] List of the bot commands.
      +
      defaultGroupAdministratorRights - ChatAdministratorRights Default administrator rights for adding + the bot to basic group and supergroup + chats; may be null.
      +
      defaultChannelAdministratorRights - ChatAdministratorRights Default administrator rights for adding + the bot to channels; may be null.
      +
      +
      +
    • +
    • +
      +

      BotInfo

      +
      public BotInfo(DataInput input) + throws IOException
      +
      Contains information about a bot.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.BotMenuButton.html b/tdlight.api/it/tdlight/jni/TdApi.BotMenuButton.html new file mode 100644 index 00000000000..2cadf4bef8a --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.BotMenuButton.html @@ -0,0 +1,332 @@ + + + + +TdApi.BotMenuButton (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.BotMenuButton

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.BotMenuButton
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.BotMenuButton +extends TdApi.Object
+
Describes a button to be shown instead + of bot commands menu button.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      text

      +
      public String text
      +
      Text of the button.
      +
      +
    • +
    • +
      +

      url

      +
      public String url
      +
      URL to be passed to openWebApp.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      BotMenuButton

      +
      public BotMenuButton()
      +
      Describes a button to be shown instead + of bot commands menu button.
      +
      +
    • +
    • +
      +

      BotMenuButton

      +
      public BotMenuButton(String text, + String url)
      +
      Describes a button to be shown instead + of bot commands menu button.
      +
      +
      Parameters:
      +
      text - String Text of the button.
      +
      url - String URL to be passed to openWebApp.
      +
      +
      +
    • +
    • +
      +

      BotMenuButton

      +
      public BotMenuButton(DataInput input) + throws IOException
      +
      Describes a button to be shown instead + of bot commands menu button.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.Call.html b/tdlight.api/it/tdlight/jni/TdApi.Call.html index 6d3c7d4cb33..92ef42f0dff 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.Call.html +++ b/tdlight.api/it/tdlight/jni/TdApi.Call.html @@ -2,7 +2,7 @@ -TdApi.Call (tdlight API 4.0.249 API) +TdApi.Call (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.ChatAdministratorRights

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.ChatAdministratorRights
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.ChatAdministratorRights +extends TdApi.Object
+
Describes rights of the administrator.
+
+
+
    + +
  • +
    +

    Field Summary

    +
    Fields
    +
    +
    Modifier and Type
    +
    Field
    +
    Description
    +
    boolean
    + +
    +
    True, if the administrator can change + the chat title, photo, and other settings.
    +
    +
    boolean
    + +
    +
    True, if the administrator can delete + messages of other users.
    +
    +
    boolean
    + +
    +
    True, if the administrator can edit + messages of other users and pin + messages; applicable to channels only.
    +
    +
    boolean
    + +
    +
    True, if the administrator can invite + new users to the chat.
    +
    +
    boolean
    + +
    +
    True, if the administrator can get + chat event log, get chat statistics, + get message statistics in channels, + get channel members, see anonymous + administrators in supergroups and + ignore slow mode.
    +
    +
    boolean
    + +
    +
    True, if the administrator can manage video chats.
    +
    +
    boolean
    + +
    +
    True, if the administrator can pin + messages; applicable to basic groups + and supergroups only.
    +
    +
    boolean
    + +
    +
    True, if the administrator can create + channel posts; applicable to channels only.
    +
    +
    boolean
    + +
    +
    True, if the administrator can add + new administrators with a subset of + their own privileges or demote + administrators that were directly or + indirectly promoted by them.
    +
    +
    boolean
    + +
    +
    True, if the administrator can restrict, + ban, or unban chat members; always + true for channels.
    +
    +
    static final int
    + +
     
    +
    boolean
    + +
    +
    True, if the administrator isn't + shown in the chat member list and + sends messages anonymously; applicable + to supergroups only.
    +
    +
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
    +
    Describes rights of the administrator.
    +
    +
    ChatAdministratorRights(boolean canManageChat, + boolean canChangeInfo, + boolean canPostMessages, + boolean canEditMessages, + boolean canDeleteMessages, + boolean canInviteUsers, + boolean canRestrictMembers, + boolean canPinMessages, + boolean canPromoteMembers, + boolean canManageVideoChats, + boolean isAnonymous)
    +
    +
    Describes rights of the administrator.
    +
    + +
    +
    Describes rights of the administrator.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
     
    +
    int
    + +
     
    +
    int
    + +
     
    +
    void
    + +
     
    +
    +
    +
    +
    +

    Methods inherited from class it.tdlight.jni.TdApi.Object

    +serialize, toString
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      canManageChat

      +
      public boolean canManageChat
      +
      True, if the administrator can get + chat event log, get chat statistics, + get message statistics in channels, + get channel members, see anonymous + administrators in supergroups and + ignore slow mode. Implied by any other + privilege; applicable to supergroups + and channels only.
      +
      +
    • +
    • +
      +

      canChangeInfo

      +
      public boolean canChangeInfo
      +
      True, if the administrator can change + the chat title, photo, and other settings.
      +
      +
    • +
    • +
      +

      canPostMessages

      +
      public boolean canPostMessages
      +
      True, if the administrator can create + channel posts; applicable to channels only.
      +
      +
    • +
    • +
      +

      canEditMessages

      +
      public boolean canEditMessages
      +
      True, if the administrator can edit + messages of other users and pin + messages; applicable to channels only.
      +
      +
    • +
    • +
      +

      canDeleteMessages

      +
      public boolean canDeleteMessages
      +
      True, if the administrator can delete + messages of other users.
      +
      +
    • +
    • +
      +

      canInviteUsers

      +
      public boolean canInviteUsers
      +
      True, if the administrator can invite + new users to the chat.
      +
      +
    • +
    • +
      +

      canRestrictMembers

      +
      public boolean canRestrictMembers
      +
      True, if the administrator can restrict, + ban, or unban chat members; always + true for channels.
      +
      +
    • +
    • +
      +

      canPinMessages

      +
      public boolean canPinMessages
      +
      True, if the administrator can pin + messages; applicable to basic groups + and supergroups only.
      +
      +
    • +
    • +
      +

      canPromoteMembers

      +
      public boolean canPromoteMembers
      +
      True, if the administrator can add + new administrators with a subset of + their own privileges or demote + administrators that were directly or + indirectly promoted by them.
      +
      +
    • +
    • +
      +

      canManageVideoChats

      +
      public boolean canManageVideoChats
      +
      True, if the administrator can manage video chats.
      +
      +
    • +
    • +
      +

      isAnonymous

      +
      public boolean isAnonymous
      +
      True, if the administrator isn't + shown in the chat member list and + sends messages anonymously; applicable + to supergroups only.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      ChatAdministratorRights

      +
      public ChatAdministratorRights()
      +
      Describes rights of the administrator.
      +
      +
    • +
    • +
      +

      ChatAdministratorRights

      +
      public ChatAdministratorRights(boolean canManageChat, + boolean canChangeInfo, + boolean canPostMessages, + boolean canEditMessages, + boolean canDeleteMessages, + boolean canInviteUsers, + boolean canRestrictMembers, + boolean canPinMessages, + boolean canPromoteMembers, + boolean canManageVideoChats, + boolean isAnonymous)
      +
      Describes rights of the administrator.
      +
      +
      Parameters:
      +
      canManageChat - boolean True, if the administrator can get + chat event log, get chat statistics, + get message statistics in channels, + get channel members, see anonymous + administrators in supergroups and + ignore slow mode. Implied by any other + privilege; applicable to supergroups + and channels only.
      +
      canChangeInfo - boolean True, if the administrator can change + the chat title, photo, and other settings.
      +
      canPostMessages - boolean True, if the administrator can create + channel posts; applicable to channels only.
      +
      canEditMessages - boolean True, if the administrator can edit + messages of other users and pin + messages; applicable to channels only.
      +
      canDeleteMessages - boolean True, if the administrator can delete + messages of other users.
      +
      canInviteUsers - boolean True, if the administrator can invite + new users to the chat.
      +
      canRestrictMembers - boolean True, if the administrator can restrict, + ban, or unban chat members; always + true for channels.
      +
      canPinMessages - boolean True, if the administrator can pin + messages; applicable to basic groups + and supergroups only.
      +
      canPromoteMembers - boolean True, if the administrator can add + new administrators with a subset of + their own privileges or demote + administrators that were directly or + indirectly promoted by them.
      +
      canManageVideoChats - boolean True, if the administrator can manage video chats.
      +
      isAnonymous - boolean True, if the administrator isn't + shown in the chat member list and + sends messages anonymously; applicable + to supergroups only.
      +
      +
      +
    • +
    • +
      +

      ChatAdministratorRights

      +
      public ChatAdministratorRights(DataInput input) + throws IOException
      +
      Describes rights of the administrator.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.ChatAdministrators.html b/tdlight.api/it/tdlight/jni/TdApi.ChatAdministrators.html index 23d231b5061..31219d2c37a 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.ChatAdministrators.html +++ b/tdlight.api/it/tdlight/jni/TdApi.ChatAdministrators.html @@ -2,7 +2,7 @@ -TdApi.ChatAdministrators (tdlight API 4.0.249 API) +TdApi.ChatAdministrators (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.CloseWebApp

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.CloseWebApp +extends TdApi.Function<TdApi.Ok>
+
Informs TDLib that a previously opened + web app was closed. + Returns Ok
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      webAppLaunchId

      +
      public long webAppLaunchId
      +
      Identifier of web app launch, received from openWebApp.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      CloseWebApp

      +
      public CloseWebApp()
      +
      Informs TDLib that a previously opened + web app was closed. + Returns Ok
      +
      +
    • +
    • +
      +

      CloseWebApp

      +
      public CloseWebApp(long webAppLaunchId)
      +
      Informs TDLib that a previously opened + web app was closed. + Returns Ok
      +
      +
      Parameters:
      +
      webAppLaunchId - long Identifier of web app launch, received from openWebApp.
      +
      +
      +
    • +
    • +
      +

      CloseWebApp

      +
      public CloseWebApp(DataInput input) + throws IOException
      +
      Informs TDLib that a previously opened + web app was closed. + Returns Ok
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.ClosedVectorPath.html b/tdlight.api/it/tdlight/jni/TdApi.ClosedVectorPath.html index ea0cc1306c7..cb3df0df67d 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.ClosedVectorPath.html +++ b/tdlight.api/it/tdlight/jni/TdApi.ClosedVectorPath.html @@ -2,7 +2,7 @@ -TdApi.ClosedVectorPath (tdlight API 4.0.249 API) +TdApi.ClosedVectorPath (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.FileTypeNotificationSound

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.FileType +
it.tdlight.jni.TdApi.FileTypeNotificationSound
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.FileTypeNotificationSound +extends TdApi.FileType
+
The file is a notification sound.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      FileTypeNotificationSound

      +
      public FileTypeNotificationSound()
      +
      The file is a notification sound.
      +
      +
    • +
    • +
      +

      FileTypeNotificationSound

      +
      public FileTypeNotificationSound(DataInput input) + throws IOException
      +
      The file is a notification sound.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.FileTypePhoto.html b/tdlight.api/it/tdlight/jni/TdApi.FileTypePhoto.html index d3d82b94eb6..e6a14f427c9 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.FileTypePhoto.html +++ b/tdlight.api/it/tdlight/jni/TdApi.FileTypePhoto.html @@ -2,7 +2,7 @@ -TdApi.FileTypePhoto (tdlight API 4.0.249 API) +TdApi.FileTypePhoto (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.GetAttachmentMenuBot

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.GetAttachmentMenuBot +extends TdApi.Function<TdApi.AttachmentMenuBot>
+
Returns information about a bot that + can be added to attachment menu. + Returns AttachmentMenuBot
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      botUserId

      +
      public long botUserId
      +
      Bot's user identifier.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      GetAttachmentMenuBot

      +
      public GetAttachmentMenuBot()
      +
      Returns information about a bot that + can be added to attachment menu. + Returns AttachmentMenuBot
      +
      +
    • +
    • +
      +

      GetAttachmentMenuBot

      +
      public GetAttachmentMenuBot(long botUserId)
      +
      Returns information about a bot that + can be added to attachment menu. + Returns AttachmentMenuBot
      +
      +
      Parameters:
      +
      botUserId - long Bot's user identifier.
      +
      +
      +
    • +
    • +
      +

      GetAttachmentMenuBot

      +
      public GetAttachmentMenuBot(DataInput input) + throws IOException
      +
      Returns information about a bot that + can be added to attachment menu. + Returns AttachmentMenuBot
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.GetAuthorizationState.html b/tdlight.api/it/tdlight/jni/TdApi.GetAuthorizationState.html index 3c5cd8468f6..1e36713f8d8 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.GetAuthorizationState.html +++ b/tdlight.api/it/tdlight/jni/TdApi.GetAuthorizationState.html @@ -2,7 +2,7 @@ -TdApi.GetAuthorizationState (tdlight API 4.0.249 API) +TdApi.GetAuthorizationState (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.GetMenuButton

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.GetMenuButton +extends TdApi.Function<TdApi.BotMenuButton>
+
Returns menu button set by the bot + for the given user; for bots only. + Returns BotMenuButton
+
+
+
    + +
  • +
    +

    Field Summary

    +
    Fields
    +
    +
    Modifier and Type
    +
    Field
    +
    Description
    +
    static final int
    + +
     
    +
    long
    + +
    +
    Identifier of the user or 0 to get + the default menu button.
    +
    +
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
    +
    Returns menu button set by the bot + for the given user; for bots only.
    +
    +
    GetMenuButton(long userId)
    +
    +
    Returns menu button set by the bot + for the given user; for bots only.
    +
    + +
    +
    Returns menu button set by the bot + for the given user; for bots only.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
     
    +
    int
    + +
     
    +
    int
    + +
     
    +
    void
    + +
     
    +
    +
    +
    +
    +

    Methods inherited from class it.tdlight.jni.TdApi.Function

    +toString
    +
    +

    Methods inherited from class it.tdlight.jni.TdApi.Object

    +serialize
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      userId

      +
      public long userId
      +
      Identifier of the user or 0 to get + the default menu button.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      GetMenuButton

      +
      public GetMenuButton()
      +
      Returns menu button set by the bot + for the given user; for bots only. + Returns BotMenuButton
      +
      +
    • +
    • +
      +

      GetMenuButton

      +
      public GetMenuButton(long userId)
      +
      Returns menu button set by the bot + for the given user; for bots only. + Returns BotMenuButton
      +
      +
      Parameters:
      +
      userId - long Identifier of the user or 0 to get + the default menu button.
      +
      +
      +
    • +
    • +
      +

      GetMenuButton

      +
      public GetMenuButton(DataInput input) + throws IOException
      +
      Returns menu button set by the bot + for the given user; for bots only. + Returns BotMenuButton
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.GetMessage.html b/tdlight.api/it/tdlight/jni/TdApi.GetMessage.html index 10624639dec..9ebd72194fc 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.GetMessage.html +++ b/tdlight.api/it/tdlight/jni/TdApi.GetMessage.html @@ -2,7 +2,7 @@ -TdApi.GetMessage (tdlight API 4.0.249 API) +TdApi.GetMessage (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.GetSavedNotificationSound

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.GetSavedNotificationSound +extends TdApi.Function<TdApi.NotificationSounds>
+
Returns saved notification sound by + its identifier. Returns a 404 error + if there is no saved notification + sound with the specified identifier. + Returns NotificationSounds
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      notificationSoundId

      +
      public long notificationSoundId
      +
      Identifier of the notification sound.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      GetSavedNotificationSound

      +
      public GetSavedNotificationSound()
      +
      Returns saved notification sound by + its identifier. Returns a 404 error + if there is no saved notification + sound with the specified identifier. + Returns NotificationSounds
      +
      +
    • +
    • +
      +

      GetSavedNotificationSound

      +
      public GetSavedNotificationSound(long notificationSoundId)
      +
      Returns saved notification sound by + its identifier. Returns a 404 error + if there is no saved notification + sound with the specified identifier. + Returns NotificationSounds
      +
      +
      Parameters:
      +
      notificationSoundId - long Identifier of the notification sound.
      +
      +
      +
    • +
    • +
      +

      GetSavedNotificationSound

      +
      public GetSavedNotificationSound(DataInput input) + throws IOException
      +
      Returns saved notification sound by + its identifier. Returns a 404 error + if there is no saved notification + sound with the specified identifier. + Returns NotificationSounds
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.GetSavedNotificationSounds.html b/tdlight.api/it/tdlight/jni/TdApi.GetSavedNotificationSounds.html new file mode 100644 index 00000000000..1de66271051 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.GetSavedNotificationSounds.html @@ -0,0 +1,299 @@ + + + + +TdApi.GetSavedNotificationSounds (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.GetSavedNotificationSounds

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.GetSavedNotificationSounds +extends TdApi.Function<TdApi.NotificationSounds>
+
Returns list of saved notification + sounds. If a sound isn't in the + list, then default sound needs to be used. + Returns NotificationSounds
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      GetSavedNotificationSounds

      +
      public GetSavedNotificationSounds()
      +
      Returns list of saved notification + sounds. If a sound isn't in the + list, then default sound needs to be used. + Returns NotificationSounds
      +
      +
    • +
    • +
      +

      GetSavedNotificationSounds

      +
      public GetSavedNotificationSounds(DataInput input) + throws IOException
      +
      Returns list of saved notification + sounds. If a sound isn't in the + list, then default sound needs to be used. + Returns NotificationSounds
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.GetSavedOrderInfo.html b/tdlight.api/it/tdlight/jni/TdApi.GetSavedOrderInfo.html index 7cbfa3f190d..bde4dd62f25 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.GetSavedOrderInfo.html +++ b/tdlight.api/it/tdlight/jni/TdApi.GetSavedOrderInfo.html @@ -2,7 +2,7 @@ -TdApi.GetSavedOrderInfo (tdlight API 4.0.249 API) +TdApi.GetSavedOrderInfo (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.GetThemeParametersJsonString

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.Function<TdApi.Text> +
it.tdlight.jni.TdApi.GetThemeParametersJsonString
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.GetThemeParametersJsonString +extends TdApi.Function<TdApi.Text>
+
Converts a themeParameters object to + corresponding JSON-serialized string. + Can be called synchronously. + Returns Text
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    + +
    +
  • + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      GetThemeParametersJsonString

      +
      public GetThemeParametersJsonString()
      +
      Converts a themeParameters object to + corresponding JSON-serialized string. + Can be called synchronously. + Returns Text
      +
      +
    • +
    • +
      +

      GetThemeParametersJsonString

      +
      public GetThemeParametersJsonString(TdApi.ThemeParameters theme)
      +
      Converts a themeParameters object to + corresponding JSON-serialized string. + Can be called synchronously. + Returns Text
      +
      +
      Parameters:
      +
      theme - ThemeParameters Theme parameters to convert to JSON.
      +
      +
      +
    • +
    • +
      +

      GetThemeParametersJsonString

      +
      public GetThemeParametersJsonString(DataInput input) + throws IOException
      +
      Converts a themeParameters object to + corresponding JSON-serialized string. + Can be called synchronously. + Returns Text
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.GetTopChats.html b/tdlight.api/it/tdlight/jni/TdApi.GetTopChats.html index 4643d3fb39c..f31a18d5361 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.GetTopChats.html +++ b/tdlight.api/it/tdlight/jni/TdApi.GetTopChats.html @@ -2,7 +2,7 @@ -TdApi.GetTopChats (tdlight API 4.0.249 API) +TdApi.GetTopChats (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.GetWebAppUrl

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.GetWebAppUrl +extends TdApi.Function<TdApi.HttpUrl>
+
Returns an HTTPS URL of a web app to + open after keyboardButtonTypeWebApp + button is pressed. + Returns HttpUrl
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      botUserId

      +
      public long botUserId
      +
      Identifier of the target bot.
      +
      +
    • +
    • +
      +

      url

      +
      public String url
      +
      The URL from the keyboardButtonTypeWebApp button.
      +
      +
    • +
    • +
      +

      theme

      +
      public TdApi.ThemeParameters theme
      +
      Preferred web app theme; pass null to + use the default theme.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      GetWebAppUrl

      +
      public GetWebAppUrl()
      +
      Returns an HTTPS URL of a web app to + open after keyboardButtonTypeWebApp + button is pressed. + Returns HttpUrl
      +
      +
    • +
    • +
      +

      GetWebAppUrl

      +
      public GetWebAppUrl(long botUserId, + String url, + TdApi.ThemeParameters theme)
      +
      Returns an HTTPS URL of a web app to + open after keyboardButtonTypeWebApp + button is pressed. + Returns HttpUrl
      +
      +
      Parameters:
      +
      botUserId - long Identifier of the target bot.
      +
      url - String The URL from the keyboardButtonTypeWebApp button.
      +
      theme - ThemeParameters Preferred web app theme; pass null to + use the default theme.
      +
      +
      +
    • +
    • +
      +

      GetWebAppUrl

      +
      public GetWebAppUrl(DataInput input) + throws IOException
      +
      Returns an HTTPS URL of a web app to + open after keyboardButtonTypeWebApp + button is pressed. + Returns HttpUrl
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.GetWebPageInstantView.html b/tdlight.api/it/tdlight/jni/TdApi.GetWebPageInstantView.html index 23191d2ecc3..06c1d7795a5 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.GetWebPageInstantView.html +++ b/tdlight.api/it/tdlight/jni/TdApi.GetWebPageInstantView.html @@ -2,7 +2,7 @@ -TdApi.GetWebPageInstantView (tdlight API 4.0.249 API) +TdApi.GetWebPageInstantView (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.InlineKeyboardButtonTypeWebApp

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.InlineKeyboardButtonType +
it.tdlight.jni.TdApi.InlineKeyboardButtonTypeWebApp
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.InlineKeyboardButtonTypeWebApp +extends TdApi.InlineKeyboardButtonType
+
A button that opens a web app by calling openWebApp.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      url

      +
      public String url
      +
      An HTTP URL to pass to openWebApp.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      InlineKeyboardButtonTypeWebApp

      +
      public InlineKeyboardButtonTypeWebApp()
      +
      A button that opens a web app by calling openWebApp.
      +
      +
    • +
    • +
      +

      InlineKeyboardButtonTypeWebApp

      +
      public InlineKeyboardButtonTypeWebApp(String url)
      +
      A button that opens a web app by calling openWebApp.
      +
      +
      Parameters:
      +
      url - String An HTTP URL to pass to openWebApp.
      +
      +
      +
    • +
    • +
      +

      InlineKeyboardButtonTypeWebApp

      +
      public InlineKeyboardButtonTypeWebApp(DataInput input) + throws IOException
      +
      A button that opens a web app by calling openWebApp.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.InlineQueryResult.html b/tdlight.api/it/tdlight/jni/TdApi.InlineQueryResult.html index 00a7b13770c..812c8d72056 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.InlineQueryResult.html +++ b/tdlight.api/it/tdlight/jni/TdApi.InlineQueryResult.html @@ -2,7 +2,7 @@ -TdApi.InlineQueryResult (tdlight API 4.0.249 API) +TdApi.InlineQueryResult (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.InternalLinkTypeAttachmentMenuBot

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.InternalLinkType +
it.tdlight.jni.TdApi.InternalLinkTypeAttachmentMenuBot
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.InternalLinkTypeAttachmentMenuBot +extends TdApi.InternalLinkType
+
The link is a link to an attachment + menu bot to be opened in the specified + chat. Process given chatLink to open + corresponding chat. Then call + searchPublicChat with the given bot + username, check that the user is a + bot and can be added to attachment + menu. Then use getAttachmentMenuBot + to receive information about the bot. + If the bot isn't added to attachment + menu, then user needs to confirm adding + the bot to attachment menu. If user + confirms adding, then use + toggleBotIsAddedToAttachmentMenu to + add it. If attachment menu bots + can't be used in the current + chat, show an error to the user. If + the bot is added to attachment menu, + then use openWebApp with the given URL.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • + +
    • +
    • +
      +

      botUsername

      +
      public String botUsername
      +
      Username of the bot.
      +
      +
    • +
    • +
      +

      url

      +
      public String url
      +
      URL to be passed to openWebApp.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      InternalLinkTypeAttachmentMenuBot

      +
      public InternalLinkTypeAttachmentMenuBot()
      +
      The link is a link to an attachment + menu bot to be opened in the specified + chat. Process given chatLink to open + corresponding chat. Then call + searchPublicChat with the given bot + username, check that the user is a + bot and can be added to attachment + menu. Then use getAttachmentMenuBot + to receive information about the bot. + If the bot isn't added to attachment + menu, then user needs to confirm adding + the bot to attachment menu. If user + confirms adding, then use + toggleBotIsAddedToAttachmentMenu to + add it. If attachment menu bots + can't be used in the current + chat, show an error to the user. If + the bot is added to attachment menu, + then use openWebApp with the given URL.
      +
      +
    • +
    • +
      +

      InternalLinkTypeAttachmentMenuBot

      +
      public InternalLinkTypeAttachmentMenuBot(TdApi.InternalLinkType chatLink, + String botUsername, + String url)
      +
      The link is a link to an attachment + menu bot to be opened in the specified + chat. Process given chatLink to open + corresponding chat. Then call + searchPublicChat with the given bot + username, check that the user is a + bot and can be added to attachment + menu. Then use getAttachmentMenuBot + to receive information about the bot. + If the bot isn't added to attachment + menu, then user needs to confirm adding + the bot to attachment menu. If user + confirms adding, then use + toggleBotIsAddedToAttachmentMenu to + add it. If attachment menu bots + can't be used in the current + chat, show an error to the user. If + the bot is added to attachment menu, + then use openWebApp with the given URL.
      +
      +
      Parameters:
      +
      chatLink - InternalLinkType An internal link pointing to a chat; + may be null if the current chat needs + to be kept.
      +
      botUsername - String Username of the bot.
      +
      url - String URL to be passed to openWebApp.
      +
      +
      +
    • +
    • +
      +

      InternalLinkTypeAttachmentMenuBot

      +
      public InternalLinkTypeAttachmentMenuBot(DataInput input) + throws IOException
      +
      The link is a link to an attachment + menu bot to be opened in the specified + chat. Process given chatLink to open + corresponding chat. Then call + searchPublicChat with the given bot + username, check that the user is a + bot and can be added to attachment + menu. Then use getAttachmentMenuBot + to receive information about the bot. + If the bot isn't added to attachment + menu, then user needs to confirm adding + the bot to attachment menu. If user + confirms adding, then use + toggleBotIsAddedToAttachmentMenu to + add it. If attachment menu bots + can't be used in the current + chat, show an error to the user. If + the bot is added to attachment menu, + then use openWebApp with the given URL.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeAuthenticationCode.html b/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeAuthenticationCode.html index 7d0dac68328..de9e06f92df 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeAuthenticationCode.html +++ b/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeAuthenticationCode.html @@ -2,7 +2,7 @@ -TdApi.InternalLinkTypeAuthenticationCode (tdlight API 4.0.249 API) +TdApi.InternalLinkTypeAuthenticationCode (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.InternalLinkTypeBotAddToChannel

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.InternalLinkType +
it.tdlight.jni.TdApi.InternalLinkTypeBotAddToChannel
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.InternalLinkTypeBotAddToChannel +extends TdApi.InternalLinkType
+
The link is a link to a Telegram bot, + which is supposed to be added to a + channel chat as an administrator. Call + searchPublicChat with the given bot + username and check that the user is + a bot, ask the current user to select + a channel chat to add the bot to as + an administrator. Then call getChatMember + to receive the current bot rights in + the chat and if the bot already is an + administrator, check that the current + user can edit its administrator rights + and combine received rights with the + requested administrator rights. Then + show confirmation box to the user, + and call setChatMemberStatus with the + chosen chat and confirmed rights.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      botUsername

      +
      public String botUsername
      +
      Username of the bot.
      +
      +
    • +
    • +
      +

      administratorRights

      +
      public TdApi.ChatAdministratorRights administratorRights
      +
      Expected administrator rights for the bot.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      InternalLinkTypeBotAddToChannel

      +
      public InternalLinkTypeBotAddToChannel()
      +
      The link is a link to a Telegram bot, + which is supposed to be added to a + channel chat as an administrator. Call + searchPublicChat with the given bot + username and check that the user is + a bot, ask the current user to select + a channel chat to add the bot to as + an administrator. Then call getChatMember + to receive the current bot rights in + the chat and if the bot already is an + administrator, check that the current + user can edit its administrator rights + and combine received rights with the + requested administrator rights. Then + show confirmation box to the user, + and call setChatMemberStatus with the + chosen chat and confirmed rights.
      +
      +
    • +
    • +
      +

      InternalLinkTypeBotAddToChannel

      +
      public InternalLinkTypeBotAddToChannel(String botUsername, + TdApi.ChatAdministratorRights administratorRights)
      +
      The link is a link to a Telegram bot, + which is supposed to be added to a + channel chat as an administrator. Call + searchPublicChat with the given bot + username and check that the user is + a bot, ask the current user to select + a channel chat to add the bot to as + an administrator. Then call getChatMember + to receive the current bot rights in + the chat and if the bot already is an + administrator, check that the current + user can edit its administrator rights + and combine received rights with the + requested administrator rights. Then + show confirmation box to the user, + and call setChatMemberStatus with the + chosen chat and confirmed rights.
      +
      +
      Parameters:
      +
      botUsername - String Username of the bot.
      +
      administratorRights - ChatAdministratorRights Expected administrator rights for the bot.
      +
      +
      +
    • +
    • +
      +

      InternalLinkTypeBotAddToChannel

      +
      public InternalLinkTypeBotAddToChannel(DataInput input) + throws IOException
      +
      The link is a link to a Telegram bot, + which is supposed to be added to a + channel chat as an administrator. Call + searchPublicChat with the given bot + username and check that the user is + a bot, ask the current user to select + a channel chat to add the bot to as + an administrator. Then call getChatMember + to receive the current bot rights in + the chat and if the bot already is an + administrator, check that the current + user can edit its administrator rights + and combine received rights with the + requested administrator rights. Then + show confirmation box to the user, + and call setChatMemberStatus with the + chosen chat and confirmed rights.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeBotStart.html b/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeBotStart.html index 7b590614945..bbac018c9ec 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeBotStart.html +++ b/tdlight.api/it/tdlight/jni/TdApi.InternalLinkTypeBotStart.html @@ -2,7 +2,7 @@ -TdApi.InternalLinkTypeBotStart (tdlight API 4.0.249 API) +TdApi.InternalLinkTypeBotStart (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.KeyboardButtonTypeWebApp

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.KeyboardButtonType +
it.tdlight.jni.TdApi.KeyboardButtonTypeWebApp
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.KeyboardButtonTypeWebApp +extends TdApi.KeyboardButtonType
+
A button that opens a web app by calling getWebAppUrl.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      url

      +
      public String url
      +
      An HTTP URL to pass to getWebAppUrl.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      KeyboardButtonTypeWebApp

      +
      public KeyboardButtonTypeWebApp()
      +
      A button that opens a web app by calling getWebAppUrl.
      +
      +
    • +
    • +
      +

      KeyboardButtonTypeWebApp

      +
      public KeyboardButtonTypeWebApp(String url)
      +
      A button that opens a web app by calling getWebAppUrl.
      +
      +
      Parameters:
      +
      url - String An HTTP URL to pass to getWebAppUrl.
      +
      +
      +
    • +
    • +
      +

      KeyboardButtonTypeWebApp

      +
      public KeyboardButtonTypeWebApp(DataInput input) + throws IOException
      +
      A button that opens a web app by calling getWebAppUrl.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.LabeledPricePart.html b/tdlight.api/it/tdlight/jni/TdApi.LabeledPricePart.html index bfeb06822a4..cf750926eb4 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.LabeledPricePart.html +++ b/tdlight.api/it/tdlight/jni/TdApi.LabeledPricePart.html @@ -2,7 +2,7 @@ -TdApi.LabeledPricePart (tdlight API 4.0.249 API) +TdApi.LabeledPricePart (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.MessageWebAppDataReceived

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.MessageContent +
it.tdlight.jni.TdApi.MessageWebAppDataReceived
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.MessageWebAppDataReceived +extends TdApi.MessageContent
+
Data from a web app has been received; + for bots only.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      buttonText

      +
      public String buttonText
      +
      Text of the keyboardButtonTypeWebApp + button, which opened the web app.
      +
      +
    • +
    • +
      +

      data

      +
      public String data
      +
      Received data.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      MessageWebAppDataReceived

      +
      public MessageWebAppDataReceived()
      +
      Data from a web app has been received; + for bots only.
      +
      +
    • +
    • +
      +

      MessageWebAppDataReceived

      +
      public MessageWebAppDataReceived(String buttonText, + String data)
      +
      Data from a web app has been received; + for bots only.
      +
      +
      Parameters:
      +
      buttonText - String Text of the keyboardButtonTypeWebApp + button, which opened the web app.
      +
      data - String Received data.
      +
      +
      +
    • +
    • +
      +

      MessageWebAppDataReceived

      +
      public MessageWebAppDataReceived(DataInput input) + throws IOException
      +
      Data from a web app has been received; + for bots only.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.MessageWebAppDataSent.html b/tdlight.api/it/tdlight/jni/TdApi.MessageWebAppDataSent.html new file mode 100644 index 00000000000..7d68b4c81dd --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.MessageWebAppDataSent.html @@ -0,0 +1,315 @@ + + + + +TdApi.MessageWebAppDataSent (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.MessageWebAppDataSent

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.MessageContent +
it.tdlight.jni.TdApi.MessageWebAppDataSent
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.MessageWebAppDataSent +extends TdApi.MessageContent
+
Data from a web app has been sent to a bot.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      buttonText

      +
      public String buttonText
      +
      Text of the keyboardButtonTypeWebApp + button, which opened the web app.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      MessageWebAppDataSent

      +
      public MessageWebAppDataSent()
      +
      Data from a web app has been sent to a bot.
      +
      +
    • +
    • +
      +

      MessageWebAppDataSent

      +
      public MessageWebAppDataSent(String buttonText)
      +
      Data from a web app has been sent to a bot.
      +
      +
      Parameters:
      +
      buttonText - String Text of the keyboardButtonTypeWebApp + button, which opened the web app.
      +
      +
      +
    • +
    • +
      +

      MessageWebAppDataSent

      +
      public MessageWebAppDataSent(DataInput input) + throws IOException
      +
      Data from a web app has been sent to a bot.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.MessageWebsiteConnected.html b/tdlight.api/it/tdlight/jni/TdApi.MessageWebsiteConnected.html index 055945bf35b..4b78c47d932 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.MessageWebsiteConnected.html +++ b/tdlight.api/it/tdlight/jni/TdApi.MessageWebsiteConnected.html @@ -2,7 +2,7 @@ -TdApi.MessageWebsiteConnected (tdlight API 4.0.249 API) +TdApi.MessageWebsiteConnected (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.NotificationSound

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.NotificationSound
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.NotificationSound +extends TdApi.Object
+
Describes a notification sound in MP3 format.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      id

      +
      public long id
      +
      Unique identifier of the notification sound.
      +
      +
    • +
    • +
      +

      duration

      +
      public int duration
      +
      Duration of the sound, in seconds.
      +
      +
    • +
    • +
      +

      date

      +
      public int date
      +
      Point in time (Unix timestamp) when + the sound was created.
      +
      +
    • +
    • +
      +

      title

      +
      public String title
      +
      Title of the notification sound.
      +
      +
    • +
    • +
      +

      data

      +
      public String data
      +
      Arbitrary data, defined while the + sound was uploaded.
      +
      +
    • +
    • +
      +

      sound

      +
      public TdApi.File sound
      +
      File containing the sound.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      NotificationSound

      +
      public NotificationSound()
      +
      Describes a notification sound in MP3 format.
      +
      +
    • +
    • +
      +

      NotificationSound

      +
      public NotificationSound(long id, + int duration, + int date, + String title, + String data, + TdApi.File sound)
      +
      Describes a notification sound in MP3 format.
      +
      +
      Parameters:
      +
      id - long Unique identifier of the notification sound.
      +
      duration - int Duration of the sound, in seconds.
      +
      date - int Point in time (Unix timestamp) when + the sound was created.
      +
      title - String Title of the notification sound.
      +
      data - String Arbitrary data, defined while the + sound was uploaded.
      +
      sound - File File containing the sound.
      +
      +
      +
    • +
    • +
      +

      NotificationSound

      +
      public NotificationSound(DataInput input) + throws IOException
      +
      Describes a notification sound in MP3 format.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.NotificationSounds.html b/tdlight.api/it/tdlight/jni/TdApi.NotificationSounds.html new file mode 100644 index 00000000000..49917a102fc --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.NotificationSounds.html @@ -0,0 +1,310 @@ + + + + +TdApi.NotificationSounds (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.NotificationSounds

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.NotificationSounds
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.NotificationSounds +extends TdApi.Object
+
Contains a list of notification sounds.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      notificationSounds

      +
      public TdApi.NotificationSound[] notificationSounds
      +
      A list of notification sounds.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      NotificationSounds

      +
      public NotificationSounds()
      +
      Contains a list of notification sounds.
      +
      +
    • +
    • +
      +

      NotificationSounds

      +
      public NotificationSounds(TdApi.NotificationSound[] notificationSounds)
      +
      Contains a list of notification sounds.
      +
      +
      Parameters:
      +
      notificationSounds - NotificationSound[] A list of notification sounds.
      +
      +
      +
    • +
    • +
      +

      NotificationSounds

      +
      public NotificationSounds(DataInput input) + throws IOException
      +
      Contains a list of notification sounds.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.NotificationType.html b/tdlight.api/it/tdlight/jni/TdApi.NotificationType.html index 4afa703a747..c6406597f98 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.NotificationType.html +++ b/tdlight.api/it/tdlight/jni/TdApi.NotificationType.html @@ -2,7 +2,7 @@ -TdApi.NotificationType (tdlight API 4.0.249 API) +TdApi.NotificationType (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.OpenWebApp

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.OpenWebApp +extends TdApi.Function<TdApi.WebAppInfo>
+
Informs TDLib that a web app is being + opened from attachment menu, a + botMenuButton button, an + internalLinkTypeAttachmentMenuBot + link, or an inlineKeyboardButtonTypeWebApp + button. For each bot, a confirmation + alert about data sent to the bot must + be shown once. + Returns WebAppInfo
+
+
+
    + +
  • +
    +

    Field Summary

    +
    Fields
    +
    +
    Modifier and Type
    +
    Field
    +
    Description
    +
    long
    + +
    +
    Identifier of the bot, providing the web app.
    +
    +
    long
    + +
    +
    Identifier of the chat in which the + web app is opened.
    +
    +
    static final int
    + +
     
    +
    long
    + +
    +
    Identifier of the replied message for + the message sent by the web app; 0 if none.
    +
    + + +
    +
    Preferred web app theme; pass null to + use the default theme.
    +
    + + +
    +
    The URL from an inlineKeyboardButtonTypeWebApp + button, a botMenuButton button, or an + internalLinkTypeAttachmentMenuBot + link, or an empty string otherwise.
    +
    +
    +
    +
  • + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
    +
    Informs TDLib that a web app is being + opened from attachment menu, a + botMenuButton button, an + internalLinkTypeAttachmentMenuBot + link, or an inlineKeyboardButtonTypeWebApp + button.
    +
    +
    OpenWebApp(long chatId, + long botUserId, + String url, + TdApi.ThemeParameters theme, + long replyToMessageId)
    +
    +
    Informs TDLib that a web app is being + opened from attachment menu, a + botMenuButton button, an + internalLinkTypeAttachmentMenuBot + link, or an inlineKeyboardButtonTypeWebApp + button.
    +
    + +
    +
    Informs TDLib that a web app is being + opened from attachment menu, a + botMenuButton button, an + internalLinkTypeAttachmentMenuBot + link, or an inlineKeyboardButtonTypeWebApp + button.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
     
    +
    int
    + +
     
    +
    int
    + +
     
    +
    void
    + +
     
    +
    +
    +
    +
    +

    Methods inherited from class it.tdlight.jni.TdApi.Function

    +toString
    +
    +

    Methods inherited from class it.tdlight.jni.TdApi.Object

    +serialize
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      chatId

      +
      public long chatId
      +
      Identifier of the chat in which the + web app is opened. Web apps can be + opened only in private chats for now.
      +
      +
    • +
    • +
      +

      botUserId

      +
      public long botUserId
      +
      Identifier of the bot, providing the web app.
      +
      +
    • +
    • +
      +

      url

      +
      public String url
      +
      The URL from an inlineKeyboardButtonTypeWebApp + button, a botMenuButton button, or an + internalLinkTypeAttachmentMenuBot + link, or an empty string otherwise.
      +
      +
    • +
    • +
      +

      theme

      +
      public TdApi.ThemeParameters theme
      +
      Preferred web app theme; pass null to + use the default theme.
      +
      +
    • +
    • +
      +

      replyToMessageId

      +
      public long replyToMessageId
      +
      Identifier of the replied message for + the message sent by the web app; 0 if none.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      OpenWebApp

      +
      public OpenWebApp()
      +
      Informs TDLib that a web app is being + opened from attachment menu, a + botMenuButton button, an + internalLinkTypeAttachmentMenuBot + link, or an inlineKeyboardButtonTypeWebApp + button. For each bot, a confirmation + alert about data sent to the bot must + be shown once. + Returns WebAppInfo
      +
      +
    • +
    • +
      +

      OpenWebApp

      +
      public OpenWebApp(long chatId, + long botUserId, + String url, + TdApi.ThemeParameters theme, + long replyToMessageId)
      +
      Informs TDLib that a web app is being + opened from attachment menu, a + botMenuButton button, an + internalLinkTypeAttachmentMenuBot + link, or an inlineKeyboardButtonTypeWebApp + button. For each bot, a confirmation + alert about data sent to the bot must + be shown once. + Returns WebAppInfo
      +
      +
      Parameters:
      +
      chatId - long Identifier of the chat in which the + web app is opened. Web apps can be + opened only in private chats for now.
      +
      botUserId - long Identifier of the bot, providing the web app.
      +
      url - String The URL from an inlineKeyboardButtonTypeWebApp + button, a botMenuButton button, or an + internalLinkTypeAttachmentMenuBot + link, or an empty string otherwise.
      +
      theme - ThemeParameters Preferred web app theme; pass null to + use the default theme.
      +
      replyToMessageId - long Identifier of the replied message for + the message sent by the web app; 0 if none.
      +
      +
      +
    • +
    • +
      +

      OpenWebApp

      +
      public OpenWebApp(DataInput input) + throws IOException
      +
      Informs TDLib that a web app is being + opened from attachment menu, a + botMenuButton button, an + internalLinkTypeAttachmentMenuBot + link, or an inlineKeyboardButtonTypeWebApp + button. For each bot, a confirmation + alert about data sent to the bot must + be shown once. + Returns WebAppInfo
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.OptimizeStorage.html b/tdlight.api/it/tdlight/jni/TdApi.OptimizeStorage.html index f477f20937f..91f7c42f812 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.OptimizeStorage.html +++ b/tdlight.api/it/tdlight/jni/TdApi.OptimizeStorage.html @@ -2,7 +2,7 @@ -TdApi.OptimizeStorage (tdlight API 4.0.249 API) +TdApi.OptimizeStorage (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.RemoveSavedNotificationSound

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.Function<TdApi.Ok> +
it.tdlight.jni.TdApi.RemoveSavedNotificationSound
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.RemoveSavedNotificationSound +extends TdApi.Function<TdApi.Ok>
+
Removes a notification sound from the + list of saved notification sounds. + Returns Ok
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      notificationSoundId

      +
      public long notificationSoundId
      +
      Identifier of the notification sound.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      RemoveSavedNotificationSound

      +
      public RemoveSavedNotificationSound()
      +
      Removes a notification sound from the + list of saved notification sounds. + Returns Ok
      +
      +
    • +
    • +
      +

      RemoveSavedNotificationSound

      +
      public RemoveSavedNotificationSound(long notificationSoundId)
      +
      Removes a notification sound from the + list of saved notification sounds. + Returns Ok
      +
      +
      Parameters:
      +
      notificationSoundId - long Identifier of the notification sound.
      +
      +
      +
    • +
    • +
      +

      RemoveSavedNotificationSound

      +
      public RemoveSavedNotificationSound(DataInput input) + throws IOException
      +
      Removes a notification sound from the + list of saved notification sounds. + Returns Ok
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.RemoveStickerFromSet.html b/tdlight.api/it/tdlight/jni/TdApi.RemoveStickerFromSet.html index f2198c36e06..5064ddf0c65 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.RemoveStickerFromSet.html +++ b/tdlight.api/it/tdlight/jni/TdApi.RemoveStickerFromSet.html @@ -2,7 +2,7 @@ -TdApi.RemoveStickerFromSet (tdlight API 4.0.249 API) +TdApi.RemoveStickerFromSet (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SendCallLog

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SendCallLog +extends TdApi.Function<TdApi.Ok>
+
Sends log file for a call to Telegram servers. + Returns Ok
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      callId

      +
      public int callId
      +
      Call identifier.
      +
      +
    • +
    • +
      +

      logFile

      +
      public TdApi.InputFile logFile
      +
      Call log file. Only inputFileLocal + and inputFileGenerated are supported.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SendCallLog

      +
      public SendCallLog()
      +
      Sends log file for a call to Telegram servers. + Returns Ok
      +
      +
    • +
    • +
      +

      SendCallLog

      +
      public SendCallLog(int callId, + TdApi.InputFile logFile)
      +
      Sends log file for a call to Telegram servers. + Returns Ok
      +
      +
      Parameters:
      +
      callId - int Call identifier.
      +
      logFile - InputFile Call log file. Only inputFileLocal + and inputFileGenerated are supported.
      +
      +
      +
    • +
    • +
      +

      SendCallLog

      +
      public SendCallLog(DataInput input) + throws IOException
      +
      Sends log file for a call to Telegram servers. + Returns Ok
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SendCallRating.html b/tdlight.api/it/tdlight/jni/TdApi.SendCallRating.html index 30d629b5545..e96c73686b9 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.SendCallRating.html +++ b/tdlight.api/it/tdlight/jni/TdApi.SendCallRating.html @@ -2,7 +2,7 @@ -TdApi.SendCallRating (tdlight API 4.0.249 API) +TdApi.SendCallRating (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SendWebAppData

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SendWebAppData +extends TdApi.Function<TdApi.Ok>
+
Sends data received from a + keyboardButtonTypeWebApp web app to a bot. + Returns Ok
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      botUserId

      +
      public long botUserId
      +
      Identifier of the target bot.
      +
      +
    • +
    • +
      +

      buttonText

      +
      public String buttonText
      +
      Text of the keyboardButtonTypeWebApp + button, which opened the web app.
      +
      +
    • +
    • +
      +

      data

      +
      public String data
      +
      Received data.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SendWebAppData

      +
      public SendWebAppData()
      +
      Sends data received from a + keyboardButtonTypeWebApp web app to a bot. + Returns Ok
      +
      +
    • +
    • +
      +

      SendWebAppData

      +
      public SendWebAppData(long botUserId, + String buttonText, + String data)
      +
      Sends data received from a + keyboardButtonTypeWebApp web app to a bot. + Returns Ok
      +
      +
      Parameters:
      +
      botUserId - long Identifier of the target bot.
      +
      buttonText - String Text of the keyboardButtonTypeWebApp + button, which opened the web app.
      +
      data - String Received data.
      +
      +
      +
    • +
    • +
      +

      SendWebAppData

      +
      public SendWebAppData(DataInput input) + throws IOException
      +
      Sends data received from a + keyboardButtonTypeWebApp web app to a bot. + Returns Ok
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SentWebAppMessage.html b/tdlight.api/it/tdlight/jni/TdApi.SentWebAppMessage.html new file mode 100644 index 00000000000..460db8bc1b9 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SentWebAppMessage.html @@ -0,0 +1,310 @@ + + + + +TdApi.SentWebAppMessage (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SentWebAppMessage

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SentWebAppMessage
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SentWebAppMessage +extends TdApi.Object
+
Information about the message sent by answerWebAppQuery.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      inlineMessageId

      +
      public String inlineMessageId
      +
      Identifier of the sent inline message, if known.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SentWebAppMessage

      +
      public SentWebAppMessage()
      +
      Information about the message sent by answerWebAppQuery.
      +
      +
    • +
    • +
      +

      SentWebAppMessage

      +
      public SentWebAppMessage(String inlineMessageId)
      +
      Information about the message sent by answerWebAppQuery.
      +
      +
      Parameters:
      +
      inlineMessageId - String Identifier of the sent inline message, if known.
      +
      +
      +
    • +
    • +
      +

      SentWebAppMessage

      +
      public SentWebAppMessage(DataInput input) + throws IOException
      +
      Information about the message sent by answerWebAppQuery.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.Session.html b/tdlight.api/it/tdlight/jni/TdApi.Session.html index 4049763c18f..9f460ca6762 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.Session.html +++ b/tdlight.api/it/tdlight/jni/TdApi.Session.html @@ -2,7 +2,7 @@ -TdApi.Session (tdlight API 4.0.249 API) +TdApi.Session (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionType

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType
+
+
+
+
+
Direct Known Subclasses:
+
TdApi.SessionTypeAndroid, TdApi.SessionTypeApple, TdApi.SessionTypeBrave, TdApi.SessionTypeChrome, TdApi.SessionTypeEdge, TdApi.SessionTypeFirefox, TdApi.SessionTypeIpad, TdApi.SessionTypeIphone, TdApi.SessionTypeLinux, TdApi.SessionTypeMac, TdApi.SessionTypeOpera, TdApi.SessionTypeSafari, TdApi.SessionTypeUbuntu, TdApi.SessionTypeUnknown, TdApi.SessionTypeVivaldi, TdApi.SessionTypeWindows, TdApi.SessionTypeXbox
+
+
+
Enclosing class:
+
TdApi
+
+
+ +
This class is an abstract base class.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      SessionType

      +
      public SessionType()
      +
      +
    • +
    +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeAndroid.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeAndroid.html new file mode 100644 index 00000000000..1e6bfbd08e9 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeAndroid.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeAndroid (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeAndroid

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeAndroid
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeAndroid +extends TdApi.SessionType
+
The session is running on an Android device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeAndroid

      +
      public SessionTypeAndroid()
      +
      The session is running on an Android device.
      +
      +
    • +
    • +
      +

      SessionTypeAndroid

      +
      public SessionTypeAndroid(DataInput input) + throws IOException
      +
      The session is running on an Android device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeApple.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeApple.html new file mode 100644 index 00000000000..5f1e27ab314 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeApple.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeApple (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeApple

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeApple +extends TdApi.SessionType
+
The session is running on a generic Apple device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeApple

      +
      public SessionTypeApple()
      +
      The session is running on a generic Apple device.
      +
      +
    • +
    • +
      +

      SessionTypeApple

      +
      public SessionTypeApple(DataInput input) + throws IOException
      +
      The session is running on a generic Apple device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

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

Class TdApi.SessionTypeBrave

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeBrave +extends TdApi.SessionType
+
The session is running on the Brave browser.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeBrave

      +
      public SessionTypeBrave()
      +
      The session is running on the Brave browser.
      +
      +
    • +
    • +
      +

      SessionTypeBrave

      +
      public SessionTypeBrave(DataInput input) + throws IOException
      +
      The session is running on the Brave browser.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeChrome.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeChrome.html new file mode 100644 index 00000000000..59c1395a6c6 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeChrome.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeChrome (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeChrome

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeChrome
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeChrome +extends TdApi.SessionType
+
The session is running on the Chrome browser.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeChrome

      +
      public SessionTypeChrome()
      +
      The session is running on the Chrome browser.
      +
      +
    • +
    • +
      +

      SessionTypeChrome

      +
      public SessionTypeChrome(DataInput input) + throws IOException
      +
      The session is running on the Chrome browser.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeEdge.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeEdge.html new file mode 100644 index 00000000000..c1fe64d2d25 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeEdge.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeEdge (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeEdge

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeEdge +extends TdApi.SessionType
+
The session is running on the Edge browser.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeEdge

      +
      public SessionTypeEdge()
      +
      The session is running on the Edge browser.
      +
      +
    • +
    • +
      +

      SessionTypeEdge

      +
      public SessionTypeEdge(DataInput input) + throws IOException
      +
      The session is running on the Edge browser.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeFirefox.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeFirefox.html new file mode 100644 index 00000000000..82ebcabfb16 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeFirefox.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeFirefox (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeFirefox

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeFirefox
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeFirefox +extends TdApi.SessionType
+
The session is running on the Firefox browser.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeFirefox

      +
      public SessionTypeFirefox()
      +
      The session is running on the Firefox browser.
      +
      +
    • +
    • +
      +

      SessionTypeFirefox

      +
      public SessionTypeFirefox(DataInput input) + throws IOException
      +
      The session is running on the Firefox browser.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeIpad.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeIpad.html new file mode 100644 index 00000000000..7980d88bbe0 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeIpad.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeIpad (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeIpad

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeIpad +extends TdApi.SessionType
+
The session is running on an iPad device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeIpad

      +
      public SessionTypeIpad()
      +
      The session is running on an iPad device.
      +
      +
    • +
    • +
      +

      SessionTypeIpad

      +
      public SessionTypeIpad(DataInput input) + throws IOException
      +
      The session is running on an iPad device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeIphone.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeIphone.html new file mode 100644 index 00000000000..f76bddcd013 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeIphone.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeIphone (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeIphone

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeIphone
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeIphone +extends TdApi.SessionType
+
The session is running on an iPhone device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeIphone

      +
      public SessionTypeIphone()
      +
      The session is running on an iPhone device.
      +
      +
    • +
    • +
      +

      SessionTypeIphone

      +
      public SessionTypeIphone(DataInput input) + throws IOException
      +
      The session is running on an iPhone device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeLinux.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeLinux.html new file mode 100644 index 00000000000..fce51d7cea1 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeLinux.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeLinux (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeLinux

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeLinux +extends TdApi.SessionType
+
The session is running on a Linux device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeLinux

      +
      public SessionTypeLinux()
      +
      The session is running on a Linux device.
      +
      +
    • +
    • +
      +

      SessionTypeLinux

      +
      public SessionTypeLinux(DataInput input) + throws IOException
      +
      The session is running on a Linux device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeMac.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeMac.html new file mode 100644 index 00000000000..df5028bf2c1 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeMac.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeMac (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeMac

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeMac +extends TdApi.SessionType
+
The session is running on a Mac device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeMac

      +
      public SessionTypeMac()
      +
      The session is running on a Mac device.
      +
      +
    • +
    • +
      +

      SessionTypeMac

      +
      public SessionTypeMac(DataInput input) + throws IOException
      +
      The session is running on a Mac device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeOpera.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeOpera.html new file mode 100644 index 00000000000..802e322b444 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeOpera.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeOpera (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeOpera

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeOpera +extends TdApi.SessionType
+
The session is running on the Opera browser.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeOpera

      +
      public SessionTypeOpera()
      +
      The session is running on the Opera browser.
      +
      +
    • +
    • +
      +

      SessionTypeOpera

      +
      public SessionTypeOpera(DataInput input) + throws IOException
      +
      The session is running on the Opera browser.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

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

Class TdApi.SessionTypeSafari

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeSafari
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeSafari +extends TdApi.SessionType
+
The session is running on the Safari browser.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeSafari

      +
      public SessionTypeSafari()
      +
      The session is running on the Safari browser.
      +
      +
    • +
    • +
      +

      SessionTypeSafari

      +
      public SessionTypeSafari(DataInput input) + throws IOException
      +
      The session is running on the Safari browser.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeUbuntu.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeUbuntu.html new file mode 100644 index 00000000000..27a4279646f --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeUbuntu.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeUbuntu (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeUbuntu

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeUbuntu
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeUbuntu +extends TdApi.SessionType
+
The session is running on an Ubuntu device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeUbuntu

      +
      public SessionTypeUbuntu()
      +
      The session is running on an Ubuntu device.
      +
      +
    • +
    • +
      +

      SessionTypeUbuntu

      +
      public SessionTypeUbuntu(DataInput input) + throws IOException
      +
      The session is running on an Ubuntu device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeUnknown.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeUnknown.html new file mode 100644 index 00000000000..8539510e2d1 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeUnknown.html @@ -0,0 +1,290 @@ + + + + +TdApi.SessionTypeUnknown (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeUnknown

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeUnknown
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeUnknown +extends TdApi.SessionType
+
The session is running on an unknown + type of device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeUnknown

      +
      public SessionTypeUnknown()
      +
      The session is running on an unknown + type of device.
      +
      +
    • +
    • +
      +

      SessionTypeUnknown

      +
      public SessionTypeUnknown(DataInput input) + throws IOException
      +
      The session is running on an unknown + type of device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeVivaldi.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeVivaldi.html new file mode 100644 index 00000000000..427f5fdd10d --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeVivaldi.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeVivaldi (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeVivaldi

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeVivaldi
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeVivaldi +extends TdApi.SessionType
+
The session is running on the Vivaldi browser.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeVivaldi

      +
      public SessionTypeVivaldi()
      +
      The session is running on the Vivaldi browser.
      +
      +
    • +
    • +
      +

      SessionTypeVivaldi

      +
      public SessionTypeVivaldi(DataInput input) + throws IOException
      +
      The session is running on the Vivaldi browser.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeWindows.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeWindows.html new file mode 100644 index 00000000000..6d5cbd21a50 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeWindows.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeWindows (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeWindows

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.SessionType +
it.tdlight.jni.TdApi.SessionTypeWindows
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeWindows +extends TdApi.SessionType
+
The session is running on a Windows device.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeWindows

      +
      public SessionTypeWindows()
      +
      The session is running on a Windows device.
      +
      +
    • +
    • +
      +

      SessionTypeWindows

      +
      public SessionTypeWindows(DataInput input) + throws IOException
      +
      The session is running on a Windows device.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SessionTypeXbox.html b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeXbox.html new file mode 100644 index 00000000000..1dafd9ce588 --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SessionTypeXbox.html @@ -0,0 +1,285 @@ + + + + +TdApi.SessionTypeXbox (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SessionTypeXbox

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SessionTypeXbox +extends TdApi.SessionType
+
The session is running on an Xbox console.
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SessionTypeXbox

      +
      public SessionTypeXbox()
      +
      The session is running on an Xbox console.
      +
      +
    • +
    • +
      +

      SessionTypeXbox

      +
      public SessionTypeXbox(DataInput input) + throws IOException
      +
      The session is running on an Xbox console.
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.Sessions.html b/tdlight.api/it/tdlight/jni/TdApi.Sessions.html index 901e6b4d219..7dfed62c807 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.Sessions.html +++ b/tdlight.api/it/tdlight/jni/TdApi.Sessions.html @@ -2,7 +2,7 @@ -TdApi.Sessions (tdlight API 4.0.249 API) +TdApi.Sessions (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SetDefaultChannelAdministratorRights

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.Function<TdApi.Ok> +
it.tdlight.jni.TdApi.SetDefaultChannelAdministratorRights
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SetDefaultChannelAdministratorRights +extends TdApi.Function<TdApi.Ok>
+
Sets default administrator rights for + adding the bot to channel chats; for bots only. + Returns Ok
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      defaultChannelAdministratorRights

      +
      public TdApi.ChatAdministratorRights defaultChannelAdministratorRights
      +
      Default administrator rights for adding + the bot to channels; may be null.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SetDefaultChannelAdministratorRights

      +
      public SetDefaultChannelAdministratorRights()
      +
      Sets default administrator rights for + adding the bot to channel chats; for bots only. + Returns Ok
      +
      +
    • +
    • +
      +

      SetDefaultChannelAdministratorRights

      +
      public SetDefaultChannelAdministratorRights(TdApi.ChatAdministratorRights defaultChannelAdministratorRights)
      +
      Sets default administrator rights for + adding the bot to channel chats; for bots only. + Returns Ok
      +
      +
      Parameters:
      +
      defaultChannelAdministratorRights - ChatAdministratorRights Default administrator rights for adding + the bot to channels; may be null.
      +
      +
      +
    • +
    • +
      +

      SetDefaultChannelAdministratorRights

      +
      public SetDefaultChannelAdministratorRights(DataInput input) + throws IOException
      +
      Sets default administrator rights for + adding the bot to channel chats; for bots only. + Returns Ok
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SetDefaultGroupAdministratorRights.html b/tdlight.api/it/tdlight/jni/TdApi.SetDefaultGroupAdministratorRights.html new file mode 100644 index 00000000000..1462ac4d09a --- /dev/null +++ b/tdlight.api/it/tdlight/jni/TdApi.SetDefaultGroupAdministratorRights.html @@ -0,0 +1,339 @@ + + + + +TdApi.SetDefaultGroupAdministratorRights (tdlight API 4.0.252 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SetDefaultGroupAdministratorRights

+
+
java.lang.Object +
it.tdlight.jni.TdApi.Object +
it.tdlight.jni.TdApi.Function<TdApi.Ok> +
it.tdlight.jni.TdApi.SetDefaultGroupAdministratorRights
+
+
+
+
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SetDefaultGroupAdministratorRights +extends TdApi.Function<TdApi.Ok>
+
Sets default administrator rights for + adding the bot to basic group and + supergroup chats; for bots only. + Returns Ok
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      defaultGroupAdministratorRights

      +
      public TdApi.ChatAdministratorRights defaultGroupAdministratorRights
      +
      Default administrator rights for adding + the bot to basic group and supergroup + chats; may be null.
      +
      +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SetDefaultGroupAdministratorRights

      +
      public SetDefaultGroupAdministratorRights()
      +
      Sets default administrator rights for + adding the bot to basic group and + supergroup chats; for bots only. + Returns Ok
      +
      +
    • +
    • +
      +

      SetDefaultGroupAdministratorRights

      +
      public SetDefaultGroupAdministratorRights(TdApi.ChatAdministratorRights defaultGroupAdministratorRights)
      +
      Sets default administrator rights for + adding the bot to basic group and + supergroup chats; for bots only. + Returns Ok
      +
      +
      Parameters:
      +
      defaultGroupAdministratorRights - ChatAdministratorRights Default administrator rights for adding + the bot to basic group and supergroup + chats; may be null.
      +
      +
      +
    • +
    • +
      +

      SetDefaultGroupAdministratorRights

      +
      public SetDefaultGroupAdministratorRights(DataInput input) + throws IOException
      +
      Sets default administrator rights for + adding the bot to basic group and + supergroup chats; for bots only. + Returns Ok
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SetFileGenerationProgress.html b/tdlight.api/it/tdlight/jni/TdApi.SetFileGenerationProgress.html index 54d55a5aed6..b9b2d604600 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.SetFileGenerationProgress.html +++ b/tdlight.api/it/tdlight/jni/TdApi.SetFileGenerationProgress.html @@ -2,7 +2,7 @@ -TdApi.SetFileGenerationProgress (tdlight API 4.0.249 API) +TdApi.SetFileGenerationProgress (tdlight API 4.0.252 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+
Module tdlight.api
+ +

Class TdApi.SetMenuButton

+
+ +
+
+
Enclosing class:
+
TdApi
+
+
+
public static final class TdApi.SetMenuButton +extends TdApi.Function<TdApi.Ok>
+
Sets menu button for the given user + or for all users; for bots only. + Returns Ok
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      userId

      +
      public long userId
      +
      Identifier of the user or 0 to set + menu button for all users.
      +
      +
    • +
    • + +
    • +
    • +
      +

      CONSTRUCTOR

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

    Constructor Details

    +
      +
    • +
      +

      SetMenuButton

      +
      public SetMenuButton()
      +
      Sets menu button for the given user + or for all users; for bots only. + Returns Ok
      +
      +
    • +
    • +
      +

      SetMenuButton

      +
      public SetMenuButton(long userId, + TdApi.BotMenuButton menuButton)
      +
      Sets menu button for the given user + or for all users; for bots only. + Returns Ok
      +
      +
      Parameters:
      +
      userId - long Identifier of the user or 0 to set + menu button for all users.
      +
      menuButton - BotMenuButton New menu button.
      +
      +
      +
    • +
    • +
      +

      SetMenuButton

      +
      public SetMenuButton(DataInput input) + throws IOException
      +
      Sets menu button for the given user + or for all users; for bots only. + Returns Ok
      +
      +
      Throws:
      +
      IOException
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+ +
+
+ + diff --git a/tdlight.api/it/tdlight/jni/TdApi.SetMessageReaction.html b/tdlight.api/it/tdlight/jni/TdApi.SetMessageReaction.html index 6cb9371a998..02e13bbe5fa 100644 --- a/tdlight.api/it/tdlight/jni/TdApi.SetMessageReaction.html +++ b/tdlight.api/it/tdlight/jni/TdApi.SetMessageReaction.html @@ -2,7 +2,7 @@ -TdApi.SetMessageReaction (tdlight API 4.0.249 API) +TdApi.SetMessageReaction (tdlight API 4.0.252 API) - + @@ -42,7 +42,7 @@ loadScripts(document, 'script');
  • Module
  • Package
  • -
  • Use
  • +
  • Use
  • Tree
  • Index
  • Help
  • @@ -78,11 +78,11 @@ loadScripts(document, 'script');
    Module tdlight.api
    Package it.tdlight.jni
    -

    Class TdApi.PaymentFormTheme

    +

    Class TdApi.ThemeParameters

    java.lang.Object
    it.tdlight.jni.TdApi.Object -
    it.tdlight.jni.TdApi.PaymentFormTheme
    +
    it.tdlight.jni.TdApi.ThemeParameters
    @@ -91,9 +91,9 @@ loadScripts(document, 'script');
    TdApi

    -
    public static final class TdApi.PaymentFormTheme +
    public static final class TdApi.ThemeParameters extends TdApi.Object
    -
    Theme colors for a payment form.
    +
    Contains parameters of the app theme.
    @@ -218,8 +217,7 @@ loadScripts(document, 'script');

    backgroundColor

    public int backgroundColor
    -
    A color of the payment form background - in the RGB24 format.
    +
    A color of the background in the RGB24 format.
  • @@ -265,7 +263,7 @@ loadScripts(document, 'script');
    See Also:
    @@ -281,25 +279,24 @@ loadScripts(document, 'script');