Class TdApi.JoinChat

Enclosing class:
TdApi

public static class TdApi.JoinChat
extends TdApi.Function
Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • JoinChat

      public JoinChat()
      Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method.

      Returns Ok

    • JoinChat

      public JoinChat​(long chatId)
      Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
    • JoinChat

      public JoinChat​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details