public static class TdApi.CreateSupergroupChat extends TdApi.Function
Returns Chat
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
force
If true, the chat will be created without network request.
|
long |
supergroupId
Supergroup or channel identifier.
|
Constructor and Description |
---|
CreateSupergroupChat()
Default constructor for a function, which returns an existing chat corresponding to a known supergroup or channel.
|
CreateSupergroupChat(long supergroupId,
boolean force)
Creates a function, which returns an existing chat corresponding to a known supergroup or channel.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long supergroupId
public boolean force
public static final int CONSTRUCTOR
public CreateSupergroupChat()
Returns Chat
public CreateSupergroupChat(long supergroupId, boolean force)
Returns Chat
supergroupId
- Supergroup or channel identifier.force
- If true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect.public int getConstructor()
getConstructor
in class TdApi.Function