@@ -120,6 +120,7 @@ def __init__(
120120 * ,
121121 comment : str = None ,
122122 label : str = None ,
123+ image_url : str = None ,
123124 handshake_protocols : Sequence [Text ] = None ,
124125 requests_attach : Sequence [AttachDecorator ] = None ,
125126 services : Sequence [Union [Service , Text ]] = None ,
@@ -138,6 +139,7 @@ def __init__(
138139 # super().__init__(_id=_id, **kwargs)
139140 super ().__init__ (_type = msg_type , _version = version , ** kwargs )
140141 self .label = label
142+ self .image_url = image_url
141143 self .handshake_protocols = (
142144 list (handshake_protocols ) if handshake_protocols else []
143145 )
@@ -208,6 +210,13 @@ class Meta:
208210 example = "https://didcomm.org/my-family/1.0/my-message-type" ,
209211 )
210212 label = fields .Str (required = False , description = "Optional label" , example = "Bob" )
213+ image_url = fields .URL (
214+ data_key = "imageUrl" ,
215+ required = False ,
216+ allow_none = True ,
217+ description = "Optional image URL for out-of-band invitation" ,
218+ example = "http://192.168.56.101/img/logo.jpg" ,
219+ )
211220 handshake_protocols = fields .List (
212221 fields .Str (
213222 description = "Handshake protocol" ,
0 commit comments