Now that `isInvalidSidebarSource` is currently the single source of truth for the valid/invalid message types that can be sidebar sources, it makes sense to update the types for
`SidebarSourceMessageInfo` `SidebarSourceMessageData` and `RawSidebarSourceMessageInfo` to reflect this.
Addresses Part 1b of [[ https://linear.app/comm/issue/ENG-4849/thread-from-robotext-about-pinned-message-causing-errors | ENG-4849 ]]
Depends on D9323