mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 03:58:44 +00:00
move entitiesList from EntitiesBuilder constructor
This commit is contained in:
parent
db956a803c
commit
78f006e280
@ -15,9 +15,9 @@ fun buildEntities(init: EntitiesBuilderBody): TextSourcesList = EntitiesBuilder(
|
||||
*
|
||||
* @see buildEntities
|
||||
*/
|
||||
class EntitiesBuilder internal constructor(
|
||||
class EntitiesBuilder internal constructor() {
|
||||
private val entitiesList: MutableTextSourcesList = mutableListOf()
|
||||
) {
|
||||
|
||||
/**
|
||||
* It is not safe field which contains potentially changeable [List]
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user