Class AbstractFileWithDimensions
- java.lang.Object
-
- io.micronaut.chatbots.telegram.api.AbstractFile
-
- io.micronaut.chatbots.telegram.api.AbstractFileWithDimensions
-
public abstract class AbstractFileWithDimensions extends AbstractFile
File with width and height.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
-
Constructor Summary
Constructors Constructor Description AbstractFileWithDimensions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getHeight()
java.lang.Integer
getWidth()
void
setHeight(java.lang.Integer height)
void
setWidth(java.lang.Integer width)
-
Methods inherited from class io.micronaut.chatbots.telegram.api.AbstractFile
getFileId, getFileUniqueId, setFileId, setFileUniqueId
-
-
-
-
Method Detail
-
getWidth
@NonNull public java.lang.Integer getWidth()
- Returns:
- Photo width.
-
setWidth
public void setWidth(@NonNull java.lang.Integer width)
- Parameters:
width
- Photo width.
-
getHeight
@NonNull public java.lang.Integer getHeight()
- Returns:
- Photo height.
-
setHeight
public void setHeight(@NonNull java.lang.Integer height)
- Parameters:
height
- Photo height.
-
-