Class TdApi.CreateBusinessChatLink

Enclosing class:
TdApi

public static class TdApi.CreateBusinessChatLink extends TdApi.Function<TdApi.BusinessChatLink>
Creates a business chat link for the current account. Requires Telegram Business subscription. There can be up to getOption("business_chat_link_count_max") links created. Returns the created link.

Returns BusinessChatLink

  • Field Details

  • Constructor Details

    • CreateBusinessChatLink

      public CreateBusinessChatLink()
      Default constructor for a function, which creates a business chat link for the current account. Requires Telegram Business subscription. There can be up to getOption("business_chat_link_count_max") links created. Returns the created link.

      Returns BusinessChatLink

    • CreateBusinessChatLink

      public CreateBusinessChatLink(TdApi.InputBusinessChatLink linkInfo)
      Creates a function, which creates a business chat link for the current account. Requires Telegram Business subscription. There can be up to getOption("business_chat_link_count_max") links created. Returns the created link.

      Returns BusinessChatLink

      Parameters:
      linkInfo - Information about the link to create.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR