Package it.tdlight.jni
Class TdApi.PageBlockDetails
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PageBlock
it.tdlight.jni.TdApi.PageBlockDetails
- Enclosing class:
- TdApi
public static class TdApi.PageBlockDetails extends TdApi.PageBlock
A collapsible block.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.RichText
header
Always visible heading for the block.boolean
isOpen
True, if the block is open by default.TdApi.PageBlock[]
pageBlocks
Block contents. -
Constructor Summary
Constructors Constructor Description PageBlockDetails()
A collapsible block.PageBlockDetails(TdApi.RichText header, TdApi.PageBlock[] pageBlocks, boolean isOpen)
A collapsible block.PageBlockDetails(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
header
Always visible heading for the block. -
pageBlocks
Block contents. -
isOpen
public boolean isOpenTrue, if the block is open by default. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PageBlockDetails
public PageBlockDetails()A collapsible block. -
PageBlockDetails
A collapsible block.- Parameters:
header
- RichText Always visible heading for the block.pageBlocks
- PageBlock[] Block contents.isOpen
- boolean True, if the block is open by default.
-
PageBlockDetails
- 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()
-