File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
library/src/main/java/com/pengrad/telegrambot/model/inputprofilephoto Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com.pengrad.telegrambot.model.inputprofilephoto
2
+
3
+ open class InputProfilePhoto (val type : String )
Original file line number Diff line number Diff line change
1
+ package com.pengrad.telegrambot.model.inputprofilephoto
2
+
3
+ @Suppress(" unused" )
4
+ class InputProfilePhotoAnimated private constructor(
5
+ val animation : String ,
6
+ var mainFrameTimestamp : Double?
7
+ ) : InputProfilePhoto(type = " animated" ) {
8
+
9
+ constructor (animation: String ) : this (
10
+ animation = animation,
11
+ mainFrameTimestamp = null
12
+ )
13
+
14
+ fun mainFrameTimestamp (mainFrameTimestamp : Double ) = apply {
15
+ this .mainFrameTimestamp = mainFrameTimestamp
16
+ }
17
+ }
Original file line number Diff line number Diff line change
1
+ package com.pengrad.telegrambot.model.inputprofilephoto
2
+
3
+ @Suppress(" unused" )
4
+ class InputProfilePhotoStatic (val photo : String ) : InputProfilePhoto(type = " static" )
You can’t perform that action at this time.
0 commit comments