All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Explore the source code of the class MessageHandler.java

package com.antonioaltieri.telegram.botapi;

import com.antonioaltieri.telegram.botapi.types.Message;

import java.lang.annotation.*;

@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MessageHandler {
    Message.Type[] contentTypes() default Message.Type.TEXT;
}