Class SetWebhook
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.methods.updates.SetWebhook
-
public class SetWebhook extends Object
- Version:
- 1.0
- Author:
- Ruben Bermudez
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOWEDUPDATES_FIELDstatic StringCERTIFICATE_FIELDstatic StringMAXCONNECTIONS_FIELDstatic StringPATHstatic StringURL_FIELD
-
Constructor Summary
Constructors Constructor Description SetWebhook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllowedUpdates()StringgetCertificateFile()IntegergetMaxConnections()StringgetUrl()SetWebhooksetAllowedUpdates(List<String> allowedUpdates)SetWebhooksetCertificateFile(String certificateFile)SetWebhooksetMaxConnections(Integer maxConnections)SetWebhooksetUrl(String url)StringtoString()
-
-
-
Field Detail
-
PATH
public static final String PATH
- See Also:
- Constant Field Values
-
URL_FIELD
public static final String URL_FIELD
- See Also:
- Constant Field Values
-
CERTIFICATE_FIELD
public static final String CERTIFICATE_FIELD
- See Also:
- Constant Field Values
-
MAXCONNECTIONS_FIELD
public static final String MAXCONNECTIONS_FIELD
- See Also:
- Constant Field Values
-
ALLOWEDUPDATES_FIELD
public static final String ALLOWEDUPDATES_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUrl
public String getUrl()
-
setUrl
public SetWebhook setUrl(String url)
-
getCertificateFile
public String getCertificateFile()
-
setCertificateFile
public SetWebhook setCertificateFile(String certificateFile)
-
getMaxConnections
public Integer getMaxConnections()
-
setMaxConnections
public SetWebhook setMaxConnections(Integer maxConnections)
-
setAllowedUpdates
public SetWebhook setAllowedUpdates(List<String> allowedUpdates)
-
-