java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AutosaveSettings
- Enclosing class:
- TdApi
Describes autosave settings.
-
Field Summary
Modifier and TypeFieldDescriptionDefault autosave settings for channel chats.static final int
Identifier uniquely determining type of the object.Autosave settings for specific chats.Default autosave settings for basic group and supergroup chats.Default autosave settings for private chats. -
Constructor Summary
ConstructorDescriptionDescribes autosave settings.AutosaveSettings
(TdApi.ScopeAutosaveSettings privateChatSettings, TdApi.ScopeAutosaveSettings groupSettings, TdApi.ScopeAutosaveSettings channelSettings, TdApi.AutosaveSettingsException[] exceptions) Describes autosave settings.AutosaveSettings
(DataInput input) Describes autosave settings. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
privateChatSettings
Default autosave settings for private chats. -
groupSettings
Default autosave settings for basic group and supergroup chats. -
channelSettings
Default autosave settings for channel chats. -
exceptions
Autosave settings for specific chats. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AutosaveSettings
public AutosaveSettings()Describes autosave settings. -
AutosaveSettings
public AutosaveSettings(TdApi.ScopeAutosaveSettings privateChatSettings, TdApi.ScopeAutosaveSettings groupSettings, TdApi.ScopeAutosaveSettings channelSettings, TdApi.AutosaveSettingsException[] exceptions) Describes autosave settings.- Parameters:
privateChatSettings
- Default autosave settings for private chats.groupSettings
- Default autosave settings for basic group and supergroup chats.channelSettings
- Default autosave settings for channel chats.exceptions
- Autosave settings for specific chats.
-
AutosaveSettings
Describes autosave settings.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-