- Enclosing class:
- TdApi
Changes the location of a chat.
Available only for some location-based
supergroups, use supergroupFullInfo.canSetLocation
to check whether the method is allowed to use.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
New location for the chat; must be valid and not null. -
Constructor Summary
ConstructorDescriptionChanges the location of a chat.SetChatLocation
(long chatId, TdApi.ChatLocation location) Changes the location of a chat.SetChatLocation
(DataInput input) Changes the location of a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
location
New location for the chat; must be valid and not null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatLocation
public SetChatLocation()Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.canSetLocation to check whether the method is allowed to use. ReturnsOk
-
SetChatLocation
Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.canSetLocation to check whether the method is allowed to use. ReturnsOk
- Parameters:
chatId
- long Chat identifier.location
- ChatLocation New location for the chat; must be valid and not null.
-
SetChatLocation
Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.canSetLocation to check whether the method is allowed to use. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-