[lib] Use correct parameter type in createPendingSidebar function
Summary: We should use the same type as in SidebarSourceMessageInfo type definition
Test Plan: Flow
Reviewers: ashoat
Reviewed By: ashoat
Subscribers: KatPo, zrebcu411, Adrian, atul, subnub
Differential Revision: https://phabricator.ashoat.com/D918