java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BusinessInfo
- Enclosing class:
- TdApi
Contains information about a Telegram Business account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe away message; may be null if none or the Business account is not of the current user.static final int
Identifier uniquely determining type of the object.The greeting message; may be null if none or the Business account is not of the current user.Location of the business; may be null if none.Opening hours of the business; may be null if none. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a Telegram Business account.BusinessInfo
(TdApi.BusinessLocation location, TdApi.BusinessOpeningHours openingHours, TdApi.BusinessGreetingMessageSettings greetingMessageSettings, TdApi.BusinessAwayMessageSettings awayMessageSettings) Contains information about a Telegram Business account.BusinessInfo
(DataInput input) Contains information about a Telegram Business account. -
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
-
location
Location of the business; may be null if none. -
openingHours
Opening hours of the business; may be null if none. The hours are guaranteed to be valid and has already been split by week days. -
greetingMessageSettings
The greeting message; may be null if none or the Business account is not of the current user. -
awayMessageSettings
The away message; may be null if none or the Business account is not of the current user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
BusinessInfo
public BusinessInfo()Contains information about a Telegram Business account. -
BusinessInfo
public BusinessInfo(TdApi.BusinessLocation location, TdApi.BusinessOpeningHours openingHours, TdApi.BusinessGreetingMessageSettings greetingMessageSettings, TdApi.BusinessAwayMessageSettings awayMessageSettings) Contains information about a Telegram Business account.- Parameters:
location
- Location of the business; may be null if none.openingHours
- Opening hours of the business; may be null if none. The hours are guaranteed to be valid and has already been split by week days.greetingMessageSettings
- The greeting message; may be null if none or the Business account is not of the current user.awayMessageSettings
- The away message; may be null if none or the Business account is not of the current user.
-
BusinessInfo
Contains information about a Telegram Business account.- 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()
-