Class TdApi.CreateVoiceChat

Enclosing class:
TdApi

public static class TdApi.CreateVoiceChat
extends TdApi.Function
Creates a voice chat (a group call bound to a chat). Available only for basic groups and supergroups; requires canManageVoiceChats rights.

Returns GroupCallId

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

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

    • CreateVoiceChat

      public CreateVoiceChat()
      Creates a voice chat (a group call bound to a chat). Available only for basic groups and supergroups; requires canManageVoiceChats rights.

      Returns GroupCallId

    • CreateVoiceChat

      public CreateVoiceChat​(long chatId)
      Creates a voice chat (a group call bound to a chat). Available only for basic groups and supergroups; requires canManageVoiceChats rights.

      Returns GroupCallId

      Parameters:
      chatId - long Chat identifier.
    • CreateVoiceChat

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