osmium-protos 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. osmium_protos-0.1.0/LICENSE +21 -0
  2. osmium_protos-0.1.0/PKG-INFO +20 -0
  3. osmium_protos-0.1.0/README.md +2 -0
  4. osmium_protos-0.1.0/osmium_protos/__init__.py +0 -0
  5. osmium_protos-0.1.0/osmium_protos/auth_pb2.py +71 -0
  6. osmium_protos-0.1.0/osmium_protos/auth_pb2.pyi +171 -0
  7. osmium_protos-0.1.0/osmium_protos/billing_pb2.py +44 -0
  8. osmium_protos-0.1.0/osmium_protos/billing_pb2.pyi +45 -0
  9. osmium_protos-0.1.0/osmium_protos/chats_pb2.py +64 -0
  10. osmium_protos-0.1.0/osmium_protos/chats_pb2.pyi +142 -0
  11. osmium_protos-0.1.0/osmium_protos/communities_pb2.py +126 -0
  12. osmium_protos-0.1.0/osmium_protos/communities_pb2.pyi +380 -0
  13. osmium_protos-0.1.0/osmium_protos/core_pb2.py +63 -0
  14. osmium_protos-0.1.0/osmium_protos/core_pb2.pyi +338 -0
  15. osmium_protos-0.1.0/osmium_protos/discovery_pb2.py +43 -0
  16. osmium_protos-0.1.0/osmium_protos/discovery_pb2.pyi +50 -0
  17. osmium_protos-0.1.0/osmium_protos/friends_pb2.py +46 -0
  18. osmium_protos-0.1.0/osmium_protos/friends_pb2.pyi +60 -0
  19. osmium_protos-0.1.0/osmium_protos/media_pb2.py +77 -0
  20. osmium_protos-0.1.0/osmium_protos/media_pb2.pyi +185 -0
  21. osmium_protos-0.1.0/osmium_protos/messages_pb2.py +66 -0
  22. osmium_protos-0.1.0/osmium_protos/messages_pb2.pyi +150 -0
  23. osmium_protos-0.1.0/osmium_protos/py.typed +0 -0
  24. osmium_protos-0.1.0/osmium_protos/reactions_pb2.py +45 -0
  25. osmium_protos-0.1.0/osmium_protos/reactions_pb2.pyi +56 -0
  26. osmium_protos-0.1.0/osmium_protos/refs_pb2.py +46 -0
  27. osmium_protos-0.1.0/osmium_protos/refs_pb2.pyi +48 -0
  28. osmium_protos-0.1.0/osmium_protos/settings_pb2.py +81 -0
  29. osmium_protos-0.1.0/osmium_protos/settings_pb2.pyi +188 -0
  30. osmium_protos-0.1.0/osmium_protos/stickers_pb2.py +52 -0
  31. osmium_protos-0.1.0/osmium_protos/stickers_pb2.pyi +70 -0
  32. osmium_protos-0.1.0/osmium_protos/types_pb2.py +98 -0
  33. osmium_protos-0.1.0/osmium_protos/types_pb2.pyi +383 -0
  34. osmium_protos-0.1.0/osmium_protos/updates_pb2.py +93 -0
  35. osmium_protos-0.1.0/osmium_protos/updates_pb2.pyi +276 -0
  36. osmium_protos-0.1.0/osmium_protos/users_pb2.py +44 -0
  37. osmium_protos-0.1.0/osmium_protos/users_pb2.pyi +36 -0
  38. osmium_protos-0.1.0/osmium_protos/voice_pb2.py +47 -0
  39. osmium_protos-0.1.0/osmium_protos/voice_pb2.pyi +68 -0
  40. osmium_protos-0.1.0/pyproject.toml +51 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ijsbol
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: osmium-protos
3
+ Version: 0.1.0
4
+ Summary: Python compiled Osmium protos package.
5
+ License: MIT
6
+ License-File: LICENSE
7
+ Author: abigail phoebe
8
+ Author-email: abigail@phoebe.sh
9
+ Requires-Python: >=3.13
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.14
13
+ Requires-Dist: protobuf (>=7.35.0,<8.0.0)
14
+ Project-URL: Bug Tracker, https://github.com/ijsbol/osmium-protos/issues
15
+ Project-URL: Homepage, https://github.com/ijsbol/osmium-protos
16
+ Description-Content-Type: text/markdown
17
+
18
+ # osmium-protos
19
+ Osmium protobufs compiled to Python, primarily for use in Osmium.py
20
+
@@ -0,0 +1,2 @@
1
+ # osmium-protos
2
+ Osmium protobufs compiled to Python, primarily for use in Osmium.py
File without changes
@@ -0,0 +1,71 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: auth.proto
5
+ # Protobuf Python Version: 7.34.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 7,
15
+ 34,
16
+ 1,
17
+ '',
18
+ 'auth.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ import types_pb2 as types__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nauth.proto\x12\x12osmium.client.auth\x1a\x0btypes.proto\"E\n\x06SignIn\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x11\n\x04totp\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_totp\"X\n\x06SignUp\x12\x12\n\x05\x65mail\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08password\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x0c\n\x04name\x18\x03 \x01(\tB\x08\n\x06_emailB\x0b\n\t_password\"\x1a\n\tAuthorize\x12\r\n\x05token\x18\x05 \x01(\t\"[\n\rAuthorization\x12\r\n\x05token\x18\x01 \x01(\t\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x19.osmium.client.types.User\x12\x12\n\nsession_id\x18\x03 \x01(\x06\"\r\n\x0bGetSessions\"J\n\x08Sessions\x12-\n\x08sessions\x18\x01 \x03(\x0b\x32\x1b.osmium.client.auth.Session\x12\x0f\n\x07\x63urrent\x18\x02 \x01(\x06\"\xd3\x01\n\x07Session\x12\n\n\x02id\x18\x01 \x01(\x06\x12\x11\n\tclient_id\x18\x02 \x01(\r\x12\x13\n\x0b\x64\x65vice_type\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65vice_version\x18\x04 \x01(\t\x12\x10\n\x08\x61pp_name\x18\x05 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x06 \x01(\t\x12\x13\n\x0blast_active\x18\x07 \x01(\x06\x12\x14\n\x07\x63ountry\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06region\x18\t \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_countryB\t\n\x07_region\"%\n\x0eRevokeSessions\x12\x13\n\x0bsession_ids\x18\x01 \x03(\x06\"\xb4\x01\n\rResetPassword\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12L\n\x07\x63onfirm\x18\x02 \x01(\x0b\x32\x36.osmium.client.auth.ResetPassword.ResetPasswordConfirmH\x00\x88\x01\x01\x1a:\n\x14ResetPasswordConfirm\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x14\n\x0cnew_password\x18\x02 \x01(\tB\n\n\x08_confirm\"*\n\x0bVerifyEmail\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\"7\n\x17ResendEmailVerification\x12\x12\n\x05\x65mail\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_email\"\x1c\n\x0cLookupInvite\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\"\x1d\n\rCreatedInvite\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\"\xf9\x02\n\rInvitePreview\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x12\n\ncreator_id\x18\x02 \x01(\x06\x12\x11\n\ttarget_id\x18\x03 \x01(\x06\x12\x33\n\x0btarget_type\x18\x04 \x01(\x0e\x32\x1e.osmium.client.auth.InviteType\x12\x17\n\nexpires_at\x18\x05 \x01(\x06H\x01\x88\x01\x01\x12/\n\x07\x63reator\x18\x06 \x01(\x0b\x32\x19.osmium.client.types.UserH\x02\x88\x01\x01\x12\x33\n\tcommunity\x18\x07 \x01(\x0b\x32\x1e.osmium.client.types.CommunityH\x00\x12*\n\x04\x63hat\x18\x08 \x01(\x0b\x32\x1a.osmium.client.types.GroupH\x00\x12)\n\x04user\x18\t \x01(\x0b\x32\x19.osmium.client.types.UserH\x00\x42\r\n\x0btarget_infoB\r\n\x0b_expires_atB\n\n\x08_creator\"\x19\n\tUseInvite\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\"@\n\nInviteList\x12\x32\n\x07invites\x18\x01 \x03(\x0b\x32!.osmium.client.auth.InvitePreview*=\n\nInviteType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tCOMMUNITY\x10\x01\x12\t\n\x05GROUP\x10\x02\x12\x08\n\x04USER\x10\x03\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'auth_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_INVITETYPE']._serialized_start=1491
36
+ _globals['_INVITETYPE']._serialized_end=1552
37
+ _globals['_SIGNIN']._serialized_start=47
38
+ _globals['_SIGNIN']._serialized_end=116
39
+ _globals['_SIGNUP']._serialized_start=118
40
+ _globals['_SIGNUP']._serialized_end=206
41
+ _globals['_AUTHORIZE']._serialized_start=208
42
+ _globals['_AUTHORIZE']._serialized_end=234
43
+ _globals['_AUTHORIZATION']._serialized_start=236
44
+ _globals['_AUTHORIZATION']._serialized_end=327
45
+ _globals['_GETSESSIONS']._serialized_start=329
46
+ _globals['_GETSESSIONS']._serialized_end=342
47
+ _globals['_SESSIONS']._serialized_start=344
48
+ _globals['_SESSIONS']._serialized_end=418
49
+ _globals['_SESSION']._serialized_start=421
50
+ _globals['_SESSION']._serialized_end=632
51
+ _globals['_REVOKESESSIONS']._serialized_start=634
52
+ _globals['_REVOKESESSIONS']._serialized_end=671
53
+ _globals['_RESETPASSWORD']._serialized_start=674
54
+ _globals['_RESETPASSWORD']._serialized_end=854
55
+ _globals['_RESETPASSWORD_RESETPASSWORDCONFIRM']._serialized_start=784
56
+ _globals['_RESETPASSWORD_RESETPASSWORDCONFIRM']._serialized_end=842
57
+ _globals['_VERIFYEMAIL']._serialized_start=856
58
+ _globals['_VERIFYEMAIL']._serialized_end=898
59
+ _globals['_RESENDEMAILVERIFICATION']._serialized_start=900
60
+ _globals['_RESENDEMAILVERIFICATION']._serialized_end=955
61
+ _globals['_LOOKUPINVITE']._serialized_start=957
62
+ _globals['_LOOKUPINVITE']._serialized_end=985
63
+ _globals['_CREATEDINVITE']._serialized_start=987
64
+ _globals['_CREATEDINVITE']._serialized_end=1016
65
+ _globals['_INVITEPREVIEW']._serialized_start=1019
66
+ _globals['_INVITEPREVIEW']._serialized_end=1396
67
+ _globals['_USEINVITE']._serialized_start=1398
68
+ _globals['_USEINVITE']._serialized_end=1423
69
+ _globals['_INVITELIST']._serialized_start=1425
70
+ _globals['_INVITELIST']._serialized_end=1489
71
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,171 @@
1
+ import types_pb2 as _types_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
4
+ from google.protobuf import descriptor as _descriptor
5
+ from google.protobuf import message as _message
6
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
7
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
8
+
9
+ DESCRIPTOR: _descriptor.FileDescriptor
10
+
11
+ class InviteType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
12
+ __slots__ = ()
13
+ UNKNOWN: _ClassVar[InviteType]
14
+ COMMUNITY: _ClassVar[InviteType]
15
+ GROUP: _ClassVar[InviteType]
16
+ USER: _ClassVar[InviteType]
17
+ UNKNOWN: InviteType
18
+ COMMUNITY: InviteType
19
+ GROUP: InviteType
20
+ USER: InviteType
21
+
22
+ class SignIn(_message.Message):
23
+ __slots__ = ("email", "password", "totp")
24
+ EMAIL_FIELD_NUMBER: _ClassVar[int]
25
+ PASSWORD_FIELD_NUMBER: _ClassVar[int]
26
+ TOTP_FIELD_NUMBER: _ClassVar[int]
27
+ email: str
28
+ password: str
29
+ totp: str
30
+ def __init__(self, email: _Optional[str] = ..., password: _Optional[str] = ..., totp: _Optional[str] = ...) -> None: ...
31
+
32
+ class SignUp(_message.Message):
33
+ __slots__ = ("email", "password", "name")
34
+ EMAIL_FIELD_NUMBER: _ClassVar[int]
35
+ PASSWORD_FIELD_NUMBER: _ClassVar[int]
36
+ NAME_FIELD_NUMBER: _ClassVar[int]
37
+ email: str
38
+ password: str
39
+ name: str
40
+ def __init__(self, email: _Optional[str] = ..., password: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
41
+
42
+ class Authorize(_message.Message):
43
+ __slots__ = ("token",)
44
+ TOKEN_FIELD_NUMBER: _ClassVar[int]
45
+ token: str
46
+ def __init__(self, token: _Optional[str] = ...) -> None: ...
47
+
48
+ class Authorization(_message.Message):
49
+ __slots__ = ("token", "user", "session_id")
50
+ TOKEN_FIELD_NUMBER: _ClassVar[int]
51
+ USER_FIELD_NUMBER: _ClassVar[int]
52
+ SESSION_ID_FIELD_NUMBER: _ClassVar[int]
53
+ token: str
54
+ user: _types_pb2.User
55
+ session_id: int
56
+ def __init__(self, token: _Optional[str] = ..., user: _Optional[_Union[_types_pb2.User, _Mapping]] = ..., session_id: _Optional[int] = ...) -> None: ...
57
+
58
+ class GetSessions(_message.Message):
59
+ __slots__ = ()
60
+ def __init__(self) -> None: ...
61
+
62
+ class Sessions(_message.Message):
63
+ __slots__ = ("sessions", "current")
64
+ SESSIONS_FIELD_NUMBER: _ClassVar[int]
65
+ CURRENT_FIELD_NUMBER: _ClassVar[int]
66
+ sessions: _containers.RepeatedCompositeFieldContainer[Session]
67
+ current: int
68
+ def __init__(self, sessions: _Optional[_Iterable[_Union[Session, _Mapping]]] = ..., current: _Optional[int] = ...) -> None: ...
69
+
70
+ class Session(_message.Message):
71
+ __slots__ = ("id", "client_id", "device_type", "device_version", "app_name", "app_version", "last_active", "country", "region")
72
+ ID_FIELD_NUMBER: _ClassVar[int]
73
+ CLIENT_ID_FIELD_NUMBER: _ClassVar[int]
74
+ DEVICE_TYPE_FIELD_NUMBER: _ClassVar[int]
75
+ DEVICE_VERSION_FIELD_NUMBER: _ClassVar[int]
76
+ APP_NAME_FIELD_NUMBER: _ClassVar[int]
77
+ APP_VERSION_FIELD_NUMBER: _ClassVar[int]
78
+ LAST_ACTIVE_FIELD_NUMBER: _ClassVar[int]
79
+ COUNTRY_FIELD_NUMBER: _ClassVar[int]
80
+ REGION_FIELD_NUMBER: _ClassVar[int]
81
+ id: int
82
+ client_id: int
83
+ device_type: str
84
+ device_version: str
85
+ app_name: str
86
+ app_version: str
87
+ last_active: int
88
+ country: str
89
+ region: str
90
+ def __init__(self, id: _Optional[int] = ..., client_id: _Optional[int] = ..., device_type: _Optional[str] = ..., device_version: _Optional[str] = ..., app_name: _Optional[str] = ..., app_version: _Optional[str] = ..., last_active: _Optional[int] = ..., country: _Optional[str] = ..., region: _Optional[str] = ...) -> None: ...
91
+
92
+ class RevokeSessions(_message.Message):
93
+ __slots__ = ("session_ids",)
94
+ SESSION_IDS_FIELD_NUMBER: _ClassVar[int]
95
+ session_ids: _containers.RepeatedScalarFieldContainer[int]
96
+ def __init__(self, session_ids: _Optional[_Iterable[int]] = ...) -> None: ...
97
+
98
+ class ResetPassword(_message.Message):
99
+ __slots__ = ("email", "confirm")
100
+ class ResetPasswordConfirm(_message.Message):
101
+ __slots__ = ("code", "new_password")
102
+ CODE_FIELD_NUMBER: _ClassVar[int]
103
+ NEW_PASSWORD_FIELD_NUMBER: _ClassVar[int]
104
+ code: str
105
+ new_password: str
106
+ def __init__(self, code: _Optional[str] = ..., new_password: _Optional[str] = ...) -> None: ...
107
+ EMAIL_FIELD_NUMBER: _ClassVar[int]
108
+ CONFIRM_FIELD_NUMBER: _ClassVar[int]
109
+ email: str
110
+ confirm: ResetPassword.ResetPasswordConfirm
111
+ def __init__(self, email: _Optional[str] = ..., confirm: _Optional[_Union[ResetPassword.ResetPasswordConfirm, _Mapping]] = ...) -> None: ...
112
+
113
+ class VerifyEmail(_message.Message):
114
+ __slots__ = ("email", "code")
115
+ EMAIL_FIELD_NUMBER: _ClassVar[int]
116
+ CODE_FIELD_NUMBER: _ClassVar[int]
117
+ email: str
118
+ code: str
119
+ def __init__(self, email: _Optional[str] = ..., code: _Optional[str] = ...) -> None: ...
120
+
121
+ class ResendEmailVerification(_message.Message):
122
+ __slots__ = ("email",)
123
+ EMAIL_FIELD_NUMBER: _ClassVar[int]
124
+ email: str
125
+ def __init__(self, email: _Optional[str] = ...) -> None: ...
126
+
127
+ class LookupInvite(_message.Message):
128
+ __slots__ = ("code",)
129
+ CODE_FIELD_NUMBER: _ClassVar[int]
130
+ code: str
131
+ def __init__(self, code: _Optional[str] = ...) -> None: ...
132
+
133
+ class CreatedInvite(_message.Message):
134
+ __slots__ = ("code",)
135
+ CODE_FIELD_NUMBER: _ClassVar[int]
136
+ code: str
137
+ def __init__(self, code: _Optional[str] = ...) -> None: ...
138
+
139
+ class InvitePreview(_message.Message):
140
+ __slots__ = ("code", "creator_id", "target_id", "target_type", "expires_at", "creator", "community", "chat", "user")
141
+ CODE_FIELD_NUMBER: _ClassVar[int]
142
+ CREATOR_ID_FIELD_NUMBER: _ClassVar[int]
143
+ TARGET_ID_FIELD_NUMBER: _ClassVar[int]
144
+ TARGET_TYPE_FIELD_NUMBER: _ClassVar[int]
145
+ EXPIRES_AT_FIELD_NUMBER: _ClassVar[int]
146
+ CREATOR_FIELD_NUMBER: _ClassVar[int]
147
+ COMMUNITY_FIELD_NUMBER: _ClassVar[int]
148
+ CHAT_FIELD_NUMBER: _ClassVar[int]
149
+ USER_FIELD_NUMBER: _ClassVar[int]
150
+ code: str
151
+ creator_id: int
152
+ target_id: int
153
+ target_type: InviteType
154
+ expires_at: int
155
+ creator: _types_pb2.User
156
+ community: _types_pb2.Community
157
+ chat: _types_pb2.Group
158
+ user: _types_pb2.User
159
+ def __init__(self, code: _Optional[str] = ..., creator_id: _Optional[int] = ..., target_id: _Optional[int] = ..., target_type: _Optional[_Union[InviteType, str]] = ..., expires_at: _Optional[int] = ..., creator: _Optional[_Union[_types_pb2.User, _Mapping]] = ..., community: _Optional[_Union[_types_pb2.Community, _Mapping]] = ..., chat: _Optional[_Union[_types_pb2.Group, _Mapping]] = ..., user: _Optional[_Union[_types_pb2.User, _Mapping]] = ...) -> None: ...
160
+
161
+ class UseInvite(_message.Message):
162
+ __slots__ = ("code",)
163
+ CODE_FIELD_NUMBER: _ClassVar[int]
164
+ code: str
165
+ def __init__(self, code: _Optional[str] = ...) -> None: ...
166
+
167
+ class InviteList(_message.Message):
168
+ __slots__ = ("invites",)
169
+ INVITES_FIELD_NUMBER: _ClassVar[int]
170
+ invites: _containers.RepeatedCompositeFieldContainer[InvitePreview]
171
+ def __init__(self, invites: _Optional[_Iterable[_Union[InvitePreview, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,44 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: billing.proto
5
+ # Protobuf Python Version: 7.34.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 7,
15
+ 34,
16
+ 1,
17
+ '',
18
+ 'billing.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rbilling.proto\x12\x15osmium.client.billing\"P\n\x12RequestPaymentLink\x12\x14\n\x0credirect_url\x18\x01 \x01(\t\x12\x0c\n\x04plan\x18\x02 \x01(\t\x12\x16\n\x0e\x62illing_period\x18\x03 \x01(\t\"\'\n\x0bPaymentLink\x12\x10\n\x03url\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x06\n\x04_url\"\x14\n\x12\x43\x61ncelSubscription\"\x11\n\x0fGetSubscription\"\xea\x01\n\x0cSubscription\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\x12\x12\n\x05since\x18\x02 \x01(\x06H\x00\x88\x01\x01\x12\x1e\n\x11next_renewal_date\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12\x1d\n\x10last_card_digits\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06method\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08\x65nd_date\x18\x06 \x01(\x04H\x04\x88\x01\x01\x42\x08\n\x06_sinceB\x14\n\x12_next_renewal_dateB\x13\n\x11_last_card_digitsB\t\n\x07_methodB\x0b\n\t_end_dateb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'billing_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_REQUESTPAYMENTLINK']._serialized_start=40
35
+ _globals['_REQUESTPAYMENTLINK']._serialized_end=120
36
+ _globals['_PAYMENTLINK']._serialized_start=122
37
+ _globals['_PAYMENTLINK']._serialized_end=161
38
+ _globals['_CANCELSUBSCRIPTION']._serialized_start=163
39
+ _globals['_CANCELSUBSCRIPTION']._serialized_end=183
40
+ _globals['_GETSUBSCRIPTION']._serialized_start=185
41
+ _globals['_GETSUBSCRIPTION']._serialized_end=202
42
+ _globals['_SUBSCRIPTION']._serialized_start=205
43
+ _globals['_SUBSCRIPTION']._serialized_end=439
44
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,45 @@
1
+ from google.protobuf import descriptor as _descriptor
2
+ from google.protobuf import message as _message
3
+ from typing import ClassVar as _ClassVar, Optional as _Optional
4
+
5
+ DESCRIPTOR: _descriptor.FileDescriptor
6
+
7
+ class RequestPaymentLink(_message.Message):
8
+ __slots__ = ("redirect_url", "plan", "billing_period")
9
+ REDIRECT_URL_FIELD_NUMBER: _ClassVar[int]
10
+ PLAN_FIELD_NUMBER: _ClassVar[int]
11
+ BILLING_PERIOD_FIELD_NUMBER: _ClassVar[int]
12
+ redirect_url: str
13
+ plan: str
14
+ billing_period: str
15
+ def __init__(self, redirect_url: _Optional[str] = ..., plan: _Optional[str] = ..., billing_period: _Optional[str] = ...) -> None: ...
16
+
17
+ class PaymentLink(_message.Message):
18
+ __slots__ = ("url",)
19
+ URL_FIELD_NUMBER: _ClassVar[int]
20
+ url: str
21
+ def __init__(self, url: _Optional[str] = ...) -> None: ...
22
+
23
+ class CancelSubscription(_message.Message):
24
+ __slots__ = ()
25
+ def __init__(self) -> None: ...
26
+
27
+ class GetSubscription(_message.Message):
28
+ __slots__ = ()
29
+ def __init__(self) -> None: ...
30
+
31
+ class Subscription(_message.Message):
32
+ __slots__ = ("active", "since", "next_renewal_date", "last_card_digits", "method", "end_date")
33
+ ACTIVE_FIELD_NUMBER: _ClassVar[int]
34
+ SINCE_FIELD_NUMBER: _ClassVar[int]
35
+ NEXT_RENEWAL_DATE_FIELD_NUMBER: _ClassVar[int]
36
+ LAST_CARD_DIGITS_FIELD_NUMBER: _ClassVar[int]
37
+ METHOD_FIELD_NUMBER: _ClassVar[int]
38
+ END_DATE_FIELD_NUMBER: _ClassVar[int]
39
+ active: bool
40
+ since: int
41
+ next_renewal_date: int
42
+ last_card_digits: str
43
+ method: str
44
+ end_date: int
45
+ def __init__(self, active: _Optional[bool] = ..., since: _Optional[int] = ..., next_renewal_date: _Optional[int] = ..., last_card_digits: _Optional[str] = ..., method: _Optional[str] = ..., end_date: _Optional[int] = ...) -> None: ...
@@ -0,0 +1,64 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: chats.proto
5
+ # Protobuf Python Version: 7.34.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 7,
15
+ 34,
16
+ 1,
17
+ '',
18
+ 'chats.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ import types_pb2 as types__pb2
26
+ import refs_pb2 as refs__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x63hats.proto\x12\x13osmium.client.chats\x1a\x0btypes.proto\x1a\nrefs.proto\"h\n\x08GetChats\x12\x12\n\x05limit\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x13\n\x06max_id\x18\x02 \x01(\x06H\x01\x88\x01\x01\x12\x13\n\x06min_id\x18\x03 \x01(\x06H\x02\x88\x01\x01\x42\x08\n\x06_limitB\t\n\x07_max_idB\t\n\x07_min_id\"\xef\x01\n\x05\x43hats\x12\x30\n\x05\x63hats\x18\x01 \x03(\x0b\x32!.osmium.client.types.Conversation\x12(\n\x05users\x18\x02 \x03(\x0b\x32\x19.osmium.client.types.User\x12*\n\x06groups\x18\x03 \x03(\x0b\x32\x1a.osmium.client.types.Group\x12.\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x1c.osmium.client.types.Channel\x12.\n\x08messages\x18\x05 \x03(\x0b\x32\x1c.osmium.client.types.Message\"8\n\x07GetChat\x12-\n\x08\x63hat_ref\x18\x01 \x01(\x0b\x32\x1b.osmium.client.refs.ChatRef\"\x9b\x02\n\x04\x43hat\x12/\n\x04\x63hat\x18\x01 \x01(\x0b\x32!.osmium.client.types.Conversation\x12\x32\n\x07message\x18\x02 \x01(\x0b\x32\x1c.osmium.client.types.MessageH\x00\x88\x01\x01\x12(\n\x05users\x18\x03 \x03(\x0b\x32\x19.osmium.client.types.User\x12.\n\x05group\x18\x04 \x01(\x0b\x32\x1a.osmium.client.types.GroupH\x01\x88\x01\x01\x12\x32\n\x07\x63hannel\x18\x05 \x01(\x0b\x32\x1c.osmium.client.types.ChannelH\x02\x88\x01\x01\x42\n\n\x08_messageB\x08\n\x06_groupB\n\n\x08_channel\"\x8d\x01\n\x10\x43reateChatInvite\x12-\n\x08\x63hat_ref\x18\x01 \x01(\x0b\x32\x1b.osmium.client.refs.ChatRef\x12\x17\n\nexpires_at\x18\x02 \x01(\x06H\x00\x88\x01\x01\x12\x15\n\x08max_uses\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\r\n\x0b_expires_atB\x0b\n\t_max_uses\"@\n\x0fListChatInvites\x12-\n\x08\x63hat_ref\x18\x01 \x01(\x0b\x32\x1b.osmium.client.refs.ChatRef\" \n\x10\x44\x65leteChatInvite\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\"{\n\x0cMarkChatRead\x12-\n\x08\x63hat_ref\x18\x01 \x01(\x0b\x32\x1b.osmium.client.refs.ChatRef\x12\x12\n\nmessage_id\x18\x02 \x01(\x06\x12\x18\n\x0bread_amount\x18\x03 \x01(\rH\x00\x88\x01\x01\x42\x0e\n\x0c_read_amount\"\x8d\x01\n\tSetTyping\x12-\n\x08\x63hat_ref\x18\x01 \x01(\x0b\x32\x1b.osmium.client.refs.ChatRef\x12\x0e\n\x06typing\x18\x02 \x01(\x08\x12\x36\n\x06\x61\x63tion\x18\x03 \x01(\x0e\x32!.osmium.client.chats.TypingActionH\x00\x88\x01\x01\x42\t\n\x07_action\"F\n\nCreateChat\x12*\n\x05users\x18\x01 \x03(\x0b\x32\x1b.osmium.client.refs.UserRef\x12\x0c\n\x04name\x18\x02 \x01(\t\"\x91\x02\n\nUpdateChat\x12-\n\x08\x63hat_ref\x18\x01 \x01(\x0b\x32\x1b.osmium.client.refs.ChatRef\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12S\n\x12highlighted_msg_id\x18\x03 \x01(\x0b\x32\x32.osmium.client.chats.UpdateChat.HighlightedMessageH\x01\x88\x01\x01\x1aL\n\x12HighlightedMessage\x12\x1f\n\x12highlighted_msg_id\x18\x01 \x01(\x06H\x00\x88\x01\x01\x42\x15\n\x13_highlighted_msg_idB\x07\n\x05_nameB\x15\n\x13_highlighted_msg_id\"R\n\x10RemoveChatMember\x12-\n\x08\x63hat_ref\x18\x01 \x01(\x0b\x32\x1b.osmium.client.refs.ChatRef\x12\x0f\n\x07user_id\x18\x02 \x01(\x06*y\n\x0cTypingAction\x12\n\n\x06TYPING\x10\x00\x12\x10\n\x0cUPLOAD_IMAGE\x10\x01\x12\x10\n\x0cUPLOAD_VIDEO\x10\x02\x12\x0f\n\x0bUPLOAD_FILE\x10\x03\x12\x13\n\x0fRECORDING_AUDIO\x10\x04\x12\x13\n\x0fRECORDING_VIDEO\x10\x05\x62\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chats_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ DESCRIPTOR._loaded_options = None
36
+ _globals['_TYPINGACTION']._serialized_start=1698
37
+ _globals['_TYPINGACTION']._serialized_end=1819
38
+ _globals['_GETCHATS']._serialized_start=61
39
+ _globals['_GETCHATS']._serialized_end=165
40
+ _globals['_CHATS']._serialized_start=168
41
+ _globals['_CHATS']._serialized_end=407
42
+ _globals['_GETCHAT']._serialized_start=409
43
+ _globals['_GETCHAT']._serialized_end=465
44
+ _globals['_CHAT']._serialized_start=468
45
+ _globals['_CHAT']._serialized_end=751
46
+ _globals['_CREATECHATINVITE']._serialized_start=754
47
+ _globals['_CREATECHATINVITE']._serialized_end=895
48
+ _globals['_LISTCHATINVITES']._serialized_start=897
49
+ _globals['_LISTCHATINVITES']._serialized_end=961
50
+ _globals['_DELETECHATINVITE']._serialized_start=963
51
+ _globals['_DELETECHATINVITE']._serialized_end=995
52
+ _globals['_MARKCHATREAD']._serialized_start=997
53
+ _globals['_MARKCHATREAD']._serialized_end=1120
54
+ _globals['_SETTYPING']._serialized_start=1123
55
+ _globals['_SETTYPING']._serialized_end=1264
56
+ _globals['_CREATECHAT']._serialized_start=1266
57
+ _globals['_CREATECHAT']._serialized_end=1336
58
+ _globals['_UPDATECHAT']._serialized_start=1339
59
+ _globals['_UPDATECHAT']._serialized_end=1612
60
+ _globals['_UPDATECHAT_HIGHLIGHTEDMESSAGE']._serialized_start=1504
61
+ _globals['_UPDATECHAT_HIGHLIGHTEDMESSAGE']._serialized_end=1580
62
+ _globals['_REMOVECHATMEMBER']._serialized_start=1614
63
+ _globals['_REMOVECHATMEMBER']._serialized_end=1696
64
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,142 @@
1
+ import types_pb2 as _types_pb2
2
+ import refs_pb2 as _refs_pb2
3
+ from google.protobuf.internal import containers as _containers
4
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
8
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
9
+
10
+ DESCRIPTOR: _descriptor.FileDescriptor
11
+
12
+ class TypingAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
13
+ __slots__ = ()
14
+ TYPING: _ClassVar[TypingAction]
15
+ UPLOAD_IMAGE: _ClassVar[TypingAction]
16
+ UPLOAD_VIDEO: _ClassVar[TypingAction]
17
+ UPLOAD_FILE: _ClassVar[TypingAction]
18
+ RECORDING_AUDIO: _ClassVar[TypingAction]
19
+ RECORDING_VIDEO: _ClassVar[TypingAction]
20
+ TYPING: TypingAction
21
+ UPLOAD_IMAGE: TypingAction
22
+ UPLOAD_VIDEO: TypingAction
23
+ UPLOAD_FILE: TypingAction
24
+ RECORDING_AUDIO: TypingAction
25
+ RECORDING_VIDEO: TypingAction
26
+
27
+ class GetChats(_message.Message):
28
+ __slots__ = ("limit", "max_id", "min_id")
29
+ LIMIT_FIELD_NUMBER: _ClassVar[int]
30
+ MAX_ID_FIELD_NUMBER: _ClassVar[int]
31
+ MIN_ID_FIELD_NUMBER: _ClassVar[int]
32
+ limit: int
33
+ max_id: int
34
+ min_id: int
35
+ def __init__(self, limit: _Optional[int] = ..., max_id: _Optional[int] = ..., min_id: _Optional[int] = ...) -> None: ...
36
+
37
+ class Chats(_message.Message):
38
+ __slots__ = ("chats", "users", "groups", "channels", "messages")
39
+ CHATS_FIELD_NUMBER: _ClassVar[int]
40
+ USERS_FIELD_NUMBER: _ClassVar[int]
41
+ GROUPS_FIELD_NUMBER: _ClassVar[int]
42
+ CHANNELS_FIELD_NUMBER: _ClassVar[int]
43
+ MESSAGES_FIELD_NUMBER: _ClassVar[int]
44
+ chats: _containers.RepeatedCompositeFieldContainer[_types_pb2.Conversation]
45
+ users: _containers.RepeatedCompositeFieldContainer[_types_pb2.User]
46
+ groups: _containers.RepeatedCompositeFieldContainer[_types_pb2.Group]
47
+ channels: _containers.RepeatedCompositeFieldContainer[_types_pb2.Channel]
48
+ messages: _containers.RepeatedCompositeFieldContainer[_types_pb2.Message]
49
+ def __init__(self, chats: _Optional[_Iterable[_Union[_types_pb2.Conversation, _Mapping]]] = ..., users: _Optional[_Iterable[_Union[_types_pb2.User, _Mapping]]] = ..., groups: _Optional[_Iterable[_Union[_types_pb2.Group, _Mapping]]] = ..., channels: _Optional[_Iterable[_Union[_types_pb2.Channel, _Mapping]]] = ..., messages: _Optional[_Iterable[_Union[_types_pb2.Message, _Mapping]]] = ...) -> None: ...
50
+
51
+ class GetChat(_message.Message):
52
+ __slots__ = ("chat_ref",)
53
+ CHAT_REF_FIELD_NUMBER: _ClassVar[int]
54
+ chat_ref: _refs_pb2.ChatRef
55
+ def __init__(self, chat_ref: _Optional[_Union[_refs_pb2.ChatRef, _Mapping]] = ...) -> None: ...
56
+
57
+ class Chat(_message.Message):
58
+ __slots__ = ("chat", "message", "users", "group", "channel")
59
+ CHAT_FIELD_NUMBER: _ClassVar[int]
60
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
61
+ USERS_FIELD_NUMBER: _ClassVar[int]
62
+ GROUP_FIELD_NUMBER: _ClassVar[int]
63
+ CHANNEL_FIELD_NUMBER: _ClassVar[int]
64
+ chat: _types_pb2.Conversation
65
+ message: _types_pb2.Message
66
+ users: _containers.RepeatedCompositeFieldContainer[_types_pb2.User]
67
+ group: _types_pb2.Group
68
+ channel: _types_pb2.Channel
69
+ def __init__(self, chat: _Optional[_Union[_types_pb2.Conversation, _Mapping]] = ..., message: _Optional[_Union[_types_pb2.Message, _Mapping]] = ..., users: _Optional[_Iterable[_Union[_types_pb2.User, _Mapping]]] = ..., group: _Optional[_Union[_types_pb2.Group, _Mapping]] = ..., channel: _Optional[_Union[_types_pb2.Channel, _Mapping]] = ...) -> None: ...
70
+
71
+ class CreateChatInvite(_message.Message):
72
+ __slots__ = ("chat_ref", "expires_at", "max_uses")
73
+ CHAT_REF_FIELD_NUMBER: _ClassVar[int]
74
+ EXPIRES_AT_FIELD_NUMBER: _ClassVar[int]
75
+ MAX_USES_FIELD_NUMBER: _ClassVar[int]
76
+ chat_ref: _refs_pb2.ChatRef
77
+ expires_at: int
78
+ max_uses: int
79
+ def __init__(self, chat_ref: _Optional[_Union[_refs_pb2.ChatRef, _Mapping]] = ..., expires_at: _Optional[int] = ..., max_uses: _Optional[int] = ...) -> None: ...
80
+
81
+ class ListChatInvites(_message.Message):
82
+ __slots__ = ("chat_ref",)
83
+ CHAT_REF_FIELD_NUMBER: _ClassVar[int]
84
+ chat_ref: _refs_pb2.ChatRef
85
+ def __init__(self, chat_ref: _Optional[_Union[_refs_pb2.ChatRef, _Mapping]] = ...) -> None: ...
86
+
87
+ class DeleteChatInvite(_message.Message):
88
+ __slots__ = ("code",)
89
+ CODE_FIELD_NUMBER: _ClassVar[int]
90
+ code: str
91
+ def __init__(self, code: _Optional[str] = ...) -> None: ...
92
+
93
+ class MarkChatRead(_message.Message):
94
+ __slots__ = ("chat_ref", "message_id", "read_amount")
95
+ CHAT_REF_FIELD_NUMBER: _ClassVar[int]
96
+ MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
97
+ READ_AMOUNT_FIELD_NUMBER: _ClassVar[int]
98
+ chat_ref: _refs_pb2.ChatRef
99
+ message_id: int
100
+ read_amount: int
101
+ def __init__(self, chat_ref: _Optional[_Union[_refs_pb2.ChatRef, _Mapping]] = ..., message_id: _Optional[int] = ..., read_amount: _Optional[int] = ...) -> None: ...
102
+
103
+ class SetTyping(_message.Message):
104
+ __slots__ = ("chat_ref", "typing", "action")
105
+ CHAT_REF_FIELD_NUMBER: _ClassVar[int]
106
+ TYPING_FIELD_NUMBER: _ClassVar[int]
107
+ ACTION_FIELD_NUMBER: _ClassVar[int]
108
+ chat_ref: _refs_pb2.ChatRef
109
+ typing: bool
110
+ action: TypingAction
111
+ def __init__(self, chat_ref: _Optional[_Union[_refs_pb2.ChatRef, _Mapping]] = ..., typing: _Optional[bool] = ..., action: _Optional[_Union[TypingAction, str]] = ...) -> None: ...
112
+
113
+ class CreateChat(_message.Message):
114
+ __slots__ = ("users", "name")
115
+ USERS_FIELD_NUMBER: _ClassVar[int]
116
+ NAME_FIELD_NUMBER: _ClassVar[int]
117
+ users: _containers.RepeatedCompositeFieldContainer[_refs_pb2.UserRef]
118
+ name: str
119
+ def __init__(self, users: _Optional[_Iterable[_Union[_refs_pb2.UserRef, _Mapping]]] = ..., name: _Optional[str] = ...) -> None: ...
120
+
121
+ class UpdateChat(_message.Message):
122
+ __slots__ = ("chat_ref", "name", "highlighted_msg_id")
123
+ class HighlightedMessage(_message.Message):
124
+ __slots__ = ("highlighted_msg_id",)
125
+ HIGHLIGHTED_MSG_ID_FIELD_NUMBER: _ClassVar[int]
126
+ highlighted_msg_id: int
127
+ def __init__(self, highlighted_msg_id: _Optional[int] = ...) -> None: ...
128
+ CHAT_REF_FIELD_NUMBER: _ClassVar[int]
129
+ NAME_FIELD_NUMBER: _ClassVar[int]
130
+ HIGHLIGHTED_MSG_ID_FIELD_NUMBER: _ClassVar[int]
131
+ chat_ref: _refs_pb2.ChatRef
132
+ name: str
133
+ highlighted_msg_id: UpdateChat.HighlightedMessage
134
+ def __init__(self, chat_ref: _Optional[_Union[_refs_pb2.ChatRef, _Mapping]] = ..., name: _Optional[str] = ..., highlighted_msg_id: _Optional[_Union[UpdateChat.HighlightedMessage, _Mapping]] = ...) -> None: ...
135
+
136
+ class RemoveChatMember(_message.Message):
137
+ __slots__ = ("chat_ref", "user_id")
138
+ CHAT_REF_FIELD_NUMBER: _ClassVar[int]
139
+ USER_ID_FIELD_NUMBER: _ClassVar[int]
140
+ chat_ref: _refs_pb2.ChatRef
141
+ user_id: int
142
+ def __init__(self, chat_ref: _Optional[_Union[_refs_pb2.ChatRef, _Mapping]] = ..., user_id: _Optional[int] = ...) -> None: ...