commit
96760f48c1
@ -192,7 +192,9 @@ public class Message implements BotApiObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<MessageEntity> getEntities() {
|
public List<MessageEntity> getEntities() {
|
||||||
entities.forEach(x -> x.computeText(text));
|
if (entities != null) {
|
||||||
|
entities.forEach(x -> x.computeText(text));
|
||||||
|
}
|
||||||
return entities;
|
return entities;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user