GuestCounter
Table of Contents
Methods
- __construct() : mixed
- cleanCache() : void
- getGuestCount() : int
- sendPushGuestCount() : void
- setRelations() : self
Methods
__construct()
public
__construct(Chat $chat) : mixed
Parameters
- $chat : Chat
cleanCache()
public
static cleanCache(int $chatId) : void
Parameters
- $chatId : int
getGuestCount()
public
getGuestCount() : int
Return values
intsendPushGuestCount()
public
sendPushGuestCount() : void
setRelations()
public
setRelations(RelationCollection $relations) : self
Parameters
- $relations : RelationCollection