Skip to content

channels.searchPosts

Layer 225

Constructor ID: 0xf2c4f24d
Returns: Messages

Parameters

NameTypeDescription
hashtagstring (flags.0, optional)
querystring (flags.1, optional)
offset_rateint32
offset_peerInputPeer
offset_idint32
limitint32
allow_paid_starsint64 (flags.2, optional)

Example

go
result, err := client.Raw(&tg.SearchPostsRequest{
    hashtag: "",
    query: "",
    offset_rate: 0,
    offset_peer: nil, // InputPeer
    offset_id: 0,
    limit: 0,
    allow_paid_stars: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.