

from ..utils import Object


class FileDownloadedPrefixSize(Object):
    """
    Contains size of downloaded prefix of a file 

    Attributes:
        ID (:obj:`str`): ``FileDownloadedPrefixSize``

    Args:
        size (:obj:`int`):
            The prefix size, in bytes

    Returns:
        FileDownloadedPrefixSize

    Raises:
        :class:`telegram.Error`
    """
    ID = "fileDownloadedPrefixSize"

    def __init__(self, size, **kwargs):
        
        self.size = size  # int

    @staticmethod
    def read(q: dict, *args) -> "FileDownloadedPrefixSize":
        size = q.get('size')
        return FileDownloadedPrefixSize(size)

124c0cbba492bd9e40fb5a81baafe01a4479bb61
<mask token>


class FileDownloadedPrefixSize(Object):
    <mask token>
    <mask token>

    def __init__(self, size, **kwargs):
        self.size = size

    @staticmethod
    def read(q: dict, *args) ->'FileDownloadedPrefixSize':
        size = q.get('size')
        return FileDownloadedPrefixSize(size)

<mask token>


class FileDownloadedPrefixSize(Object):
    <mask token>
    ID = 'fileDownloadedPrefixSize'

    def __init__(self, size, **kwargs):
        self.size = size

    @staticmethod
    def read(q: dict, *args) ->'FileDownloadedPrefixSize':
        size = q.get('size')
        return FileDownloadedPrefixSize(size)

<mask token>


class FileDownloadedPrefixSize(Object):
    """
    Contains size of downloaded prefix of a file 

    Attributes:
        ID (:obj:`str`): ``FileDownloadedPrefixSize``

    Args:
        size (:obj:`int`):
            The prefix size, in bytes

    Returns:
        FileDownloadedPrefixSize

    Raises:
        :class:`telegram.Error`
    """
    ID = 'fileDownloadedPrefixSize'

    def __init__(self, size, **kwargs):
        self.size = size

    @staticmethod
    def read(q: dict, *args) ->'FileDownloadedPrefixSize':
        size = q.get('size')
        return FileDownloadedPrefixSize(size)

from ..utils import Object


class FileDownloadedPrefixSize(Object):
    """
    Contains size of downloaded prefix of a file 

    Attributes:
        ID (:obj:`str`): ``FileDownloadedPrefixSize``

    Args:
        size (:obj:`int`):
            The prefix size, in bytes

    Returns:
        FileDownloadedPrefixSize

    Raises:
        :class:`telegram.Error`
    """
    ID = 'fileDownloadedPrefixSize'

    def __init__(self, size, **kwargs):
        self.size = size

    @staticmethod
    def read(q: dict, *args) ->'FileDownloadedPrefixSize':
        size = q.get('size')
        return FileDownloadedPrefixSize(size)



from ..utils import Object


class FileDownloadedPrefixSize(Object):
    """
    Contains size of downloaded prefix of a file 

    Attributes:
        ID (:obj:`str`): ``FileDownloadedPrefixSize``

    Args:
        size (:obj:`int`):
            The prefix size, in bytes

    Returns:
        FileDownloadedPrefixSize

    Raises:
        :class:`telegram.Error`
    """
    ID = "fileDownloadedPrefixSize"

    def __init__(self, size, **kwargs):
        
        self.size = size  # int

    @staticmethod
    def read(q: dict, *args) -> "FileDownloadedPrefixSize":
        size = q.get('size')
        return FileDownloadedPrefixSize(size)
