summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0333/stanza.py
blob: 42cfc21a59c378bac8229e0445603e44de5bb879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""
    slixmpp: The Slick XMPP Library
    Copyright (C) 2016 Emmanuel Gil Peyrot
    This file is part of slixmpp.

    See the file LICENSE for copying permission.
"""

from slixmpp.xmlstream import ElementBase

class Markable(ElementBase):
    name = 'markable'
    plugin_attrib = 'markable'
    namespace = 'urn:xmpp:chat-markers:0'

class Received(ElementBase):
    name = 'received'
    plugin_attrib = 'received'
    namespace = 'urn:xmpp:chat-markers:0'
    interfaces = {'id'}

class Displayed(ElementBase):
    name = 'displayed'
    plugin_attrib = 'displayed'
    namespace = 'urn:xmpp:chat-markers:0'
    interfaces = {'id'}

class Acknowledged(ElementBase):
    name = 'acknowledged'
    plugin_attrib = 'acknowledged'
    namespace = 'urn:xmpp:chat-markers:0'
    interfaces = {'id'}