mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:06:55 +01:00
24 lines
686 B
Markdown
24 lines
686 B
Markdown
---
|
|
title: createNewGroupChat
|
|
description: Creates new group chat and send corresponding messageGroupChatCreate, returns created chat
|
|
---
|
|
## Method: createNewGroupChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Creates new group chat and send corresponding messageGroupChatCreate, returns created chat
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|user\_ids|Array of [int](../types/int.md) | Yes|Identifiers of users to add to the group|
|
|
|title|[string](../types/string.md) | Yes|Title of new group chat, 1-255 characters|
|
|
|
|
|
|
### Return type: [Chat](../types/Chat.md)
|
|
|