Merge pull request #1006 from yangshoulai/dev

Rename entities in class InputMedia
This commit is contained in:
Ruben Bermudez 2022-01-01 22:43:02 +00:00 committed by GitHub
commit 5c6bbbe1db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ public abstract class InputMedia implements Validable, BotApiObject {
public static final String MEDIA_FIELD = "media";
public static final String CAPTION_FIELD = "caption";
public static final String PARSEMODE_FIELD = "parse_mode";
public static final String ENTITIES_FIELD = "entities";
public static final String ENTITIES_FIELD = "caption_entities";
/**
* File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended),