()
| 1464 | } |
| 1465 | |
| 1466 | func (x *Content) GetText() *TextContent { |
| 1467 | if x != nil { |
| 1468 | if x, ok := x.Type.(*Content_Text); ok { |
| 1469 | return x.Text |
| 1470 | } |
| 1471 | } |
| 1472 | return nil |
| 1473 | } |
| 1474 | |
| 1475 | func (x *Content) GetImage() *ImageContent { |
| 1476 | if x != nil { |
no outgoing calls