- 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
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intNew location for the chat; must be valid and not null. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-