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

org.telegram.telegrambots.api.methods.groupadministration.LeaveChat Maven / Gradle / Ivy

package org.telegram.telegrambots.api.methods.groupadministration;

import javax.ws.rs.Path;

import org.telegram.telegrambots.api.methods.send.ApiMethod;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * @author Lev Nadeinsky
 * @author Ruben Bermudez
 * @brief Use this method for your bot to leave a group, supergroup or channel. Returns True on success.
 * @date	2016-11-21
 */

@Data
@EqualsAndHashCode(callSuper=true)
@ToString(callSuper=true)
@Path("leaveChat")
public class LeaveChat extends ApiMethod {
	/**
	 * Unique identifier for the chat to send the message to (Or username for channels)
	 */
    String chatId; 

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy