Package com.cadiducho.telegrambotapi
Class Message
- java.lang.Object
-
- com.cadiducho.telegrambotapi.Message
-
public class Message extends Object
This object represents a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Message.Type
Defines the different types of Messages that can be received.
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message.Type
getType()
Returns theMessage.Type
of this Message.
-
-
-
Method Detail
-
getType
public Message.Type getType()
Returns theMessage.Type
of this Message.- Returns:
- The
Type
of thisMessage
-
-