Vote count:
0
If you use messaging apps (Whatsapp, BBM, Facebook's Messenger), then you should be familiar with the indication of your messages being 'seen' by your recipient.
I would like to build this feature to my entities.
For example, consider this Entity(ndb.Model):
class Entity(ndb.Model):
title = ndb.StringProperty()
seen = ndb.BooleanProperty(default = False)
How do I make it so that: if a particular user sees this entity, then the seen property will be set to True?
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire